Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read

env:
BORINGSSL_VERSION: 0.20260929.0
BORINGSSL_VERSION: 0.20261105.0

jobs:
boringssl_version_check:
Expand Down Expand Up @@ -445,7 +445,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-latest, macos-14, macos-latest, windows-latest]
platform: [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-latest, macos-15, macos-latest, windows-latest]
java: [8, 11, 17, 21, 25, EA]
dist: ['temurin', 'zulu']
include:
Expand All @@ -457,15 +457,15 @@ jobs:
separator: ':'
- platform: macos-latest
separator: ':'
- platform: macos-14
- platform: macos-15
separator: ':'
- platform: windows-latest
separator: ';'
exclude: # Not available on Github runners
- platform: macos-latest
java: 8
dist: 'temurin'
- platform: macos-14
- platform: macos-15
java: 8
dist: 'temurin'

Expand Down Expand Up @@ -514,6 +514,9 @@ jobs:
if [ "${{ matrix.java }}" != "8" ]; then
EXTRA_FLAGS="--add-opens=java.base/java.net=ALL-UNNAMED"
fi
if [ "${{ matrix.java }}" = "EA" ]; then
EXTRA_FLAGS="$EXTRA_FLAGS -Djdk.reflect.allowNonSerializableConstruction=true"
fi
# SIGTERM handler, e.g. for when tests hang and time out.
# Send SIGQUIT to test process to get thread dump, give it
# a few seconds to complete and then kill it.
Expand Down
12 changes: 12 additions & 0 deletions CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Conscrypt's EC AlgorithmParameters implementation only supports named curves.
* `SHA-256`
* `SHA-384`
* `SHA-512`
* `SHAKE256-512`

### SecretKeyFactory

Expand Down Expand Up @@ -286,8 +287,19 @@ Conscrypt's EC AlgorithmParameters implementation only supports named curves.
* `ML-DSA-44`
* `ML-DSA-65`
* `ML-DSA-87`
* `EXTERNAL-MU-ML-DSA`
* `EXTERNAL-MU-ML-DSA-44`
* `EXTERNAL-MU-ML-DSA-65`
* `EXTERNAL-MU-ML-DSA-87`
* `SLH-DSA-SHA2-128S`

Conscrypt's `EXTERNAL-MU-ML-DSA` signatures take the 64-byte ML-DSA message
representative mu as input instead of the message (FIPS 204, Algorithm 7,
line 6, with an empty context string), which the caller computes as
`SHAKE256-512(SHAKE256-512(rawPublicKey) || 0x00 || 0x00 || message)`. They
only support signing; the result is a regular ML-DSA signature of the message,
which is verified with `ML-DSA`. Context strings are currently not supported.

### ECDSA Elliptic Curves

Conscrypt supports the following curves in ECDSA signatures:
Expand Down
14 changes: 14 additions & 0 deletions android/src/main/java/org/conscrypt/Platform.java
Original file line number Diff line number Diff line change
Expand Up @@ -908,10 +908,24 @@ public static void setPqcDefaultEnabledForTesting(boolean enabled) {
pqcDefaultEnabled = enabled;
}

private static volatile boolean pqcDefaultSignatureAlgorithmsEnabled = true;

public static boolean isPqcDefaultSignatureAlgorithmsEnabled() {
return pqcDefaultSignatureAlgorithmsEnabled;
}

public static void setPqcDefaultSignatureAlgorithmsEnabledForTesting(boolean enabled) {
pqcDefaultSignatureAlgorithmsEnabled = enabled;
}

public static boolean isSdkGreater(int sdk) {
return Build.VERSION.SDK_INT > sdk;
}

public static boolean isMerkleTreeCertsEnabled() {
return false;
}

private static class X509NativeAllocationRegistryHolder {
private static final Object REGISTRY;
private static final Method REGISTER_METHOD;
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ description = 'Conscrypt is an alternate Java Security Provider that uses Boring

subprojects {
// Keep this in `subprojects` for scripts and ease of use. Migrate to properties later.
version = "2.9-SNAPSHOT"
version = "2.10.0"
}
Loading
Loading