Commit Graph

17 Commits

Author SHA1 Message Date
opencode 7dc12a37e4 Use X509ExtendedTrustManager to avoid JDK AlgorithmChecker constraints
Netty 4.2.15 fixed CVE-2026-50010 by removing the silent wrapping of
plain X509TrustManager in X509ExtendedTrustManager. When a plain
X509TrustManager is used, the JDK wraps it in AbstractTrustManagerWrapper
and runs TrustManagerImpl.checkTrusted() with AlgorithmChecker before
calling the custom trust manager.

This caused client certificates signed with SHA3-512withECDSA to be
rejected even though they are not explicitly blacklisted in java.security,
because the JDK's internal PKIX validator applies stricter constraints.

By making our custom trust managers implement X509ExtendedTrustManager
directly, the JDK calls the 3-arg methods directly and bypasses its
internal TrustManagerImpl, restoring the pre-4.2.15 behavior where
only our custom PKIX validation runs.

Files changed:
- rbcs-common/RBCS.kt: getTrustManager() returns X509ExtendedTrustManager
- rbcs-client/RemoteBuildCacheClient.kt: trust-all manager uses X509ExtendedTrustManager
2026-06-12 08:38:26 +08:00
woggioni 953d687651 optimized imports 2026-05-21 06:58:17 +08:00
woggioni b3c6f29c0f updated library dependencies
CI / build (push) Successful in 3m44s
2025-07-29 13:15:42 +08:00
woggioni 6cba4d24bb resolved race condition in the client for response lifetime
CI / build (push) Successful in 2m10s
improved memory usage of the in-memory cache backend
2025-06-17 21:40:48 +08:00
woggioni 9bdaa0d32e optimize imports 2025-06-13 14:08:46 +08:00
woggioni 206bcd6319 fixed bug with throttling handler when requests are delayed 2025-06-13 13:50:35 +08:00
woggioni 303828392e updated Netty to 4.2.1
CI / build (push) Successful in 26m57s
2025-05-07 14:46:02 +08:00
woggioni 7ba7070693 fixed server support for request pipelining
CI / build (push) Successful in 15m33s
2025-03-08 11:07:21 +08:00
woggioni 8b639fc0b3 added request pipelining support to RemoteBuildCacheClient 2025-03-06 21:58:53 +08:00
woggioni 1f93602102 added healthcheck role
improved documentation

client configuration promoted to standalone class
2025-02-26 15:26:18 +08:00
woggioni ac4f0fdd19 increased tolerance of RetryTest 2025-02-25 19:19:07 +08:00
woggioni ca18b63f27 added GraalVM native image executable build 2025-02-25 15:30:58 +08:00
woggioni 42eb26a948 optimize imports 2025-02-19 22:40:14 +08:00
woggioni f048a60540 implemented streaming request/response streaming
added metadata to cache values

added cache servlet for comparison
2025-02-19 22:37:54 +08:00
woggioni 84d7c977f9 added randomizer to retries 2025-02-07 23:19:13 +08:00
woggioni 317eadce07 used virtual thread for garbage colection in FileSystemCache
CI / build (push) Successful in 2m32s
2025-02-07 20:45:29 +08:00
woggioni 6c0eadb9fb renamed project to "Remote Cache Build Server" (RBCS) 2025-02-06 15:20:50 +08:00