Skip to content

Commit b80d0b1

Browse files
Update aws-c-io to v0.23.1, aws-lc to v1.61.4, s2n-tls to v1.5.27 (#203)
1 parent 5ed7fb7 commit b80d0b1

File tree

7 files changed

+12
-4
lines changed

7 files changed

+12
-4
lines changed

aws-crt-kotlin/api/aws-crt-kotlin.api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ public final class aws/sdk/kotlin/crt/io/TlsCipherPreference : java/lang/Enum {
822822
public static final field PQ_DEFAULT Laws/sdk/kotlin/crt/io/TlsCipherPreference;
823823
public static final field PQ_TLSV1_2_2024_10 Laws/sdk/kotlin/crt/io/TlsCipherPreference;
824824
public static final field SYSTEM_DEFAULT Laws/sdk/kotlin/crt/io/TlsCipherPreference;
825+
public static final field TLSV1_0_2023_06 Laws/sdk/kotlin/crt/io/TlsCipherPreference;
825826
public static fun getEntries ()Lkotlin/enums/EnumEntries;
826827
public final fun getValue ()I
827828
public final fun isSupported ()Z

aws-crt-kotlin/common/src/aws/sdk/kotlin/crt/io/TlsCipherPreference.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ public enum class TlsCipherPreference(public val value: Int) {
3030
*/
3131
PQ_DEFAULT(8),
3232

33+
/**
34+
* This security policy was the system default before PQ was enabled by default, specifically
35+
* aws-c-io's AWS_IO_TLS_CIPHER_PREF_TLSV1_0_2023_06.
36+
*/
37+
TLSV1_0_2023_06(10),
38+
3339
;
3440

3541
/**

aws-crt-kotlin/jvm/src/aws/sdk/kotlin/crt/io/TlsContextJVM.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ internal actual fun isAlpnSupported(): Boolean = TlsContextOptionsJni.isAlpnSupp
2929

3030
private fun TlsCipherPreference.into(): TlsCipherPreferenceJni = when (this) {
3131
TlsCipherPreference.SYSTEM_DEFAULT -> TlsCipherPreferenceJni.TLS_CIPHER_SYSTEM_DEFAULT
32+
TlsCipherPreference.TLSV1_0_2023_06 -> TlsCipherPreferenceJni.TLS_CIPHER_PREF_TLSv1_0_2023
3233
TlsCipherPreference.PQ_TLSV1_2_2024_10 -> TlsCipherPreferenceJni.TLS_CIPHER_PREF_PQ_TLSv1_2_2023
3334
TlsCipherPreference.PQ_DEFAULT -> TlsCipherPreferenceJni.TLS_CIPHER_PQ_DEFAULT
3435
}

crt/aws-lc

Submodule aws-lc updated 1098 files

crt/s2n

Submodule s2n updated 70 files

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kotlin-version = "2.2.0"
44
aws-kotlin-repo-tools-version = "0.4.65"
55

66
# libs
7-
crt-java-version = "0.38.1"
7+
crt-java-version = "0.39.3"
88
coroutines-version = "1.10.2"
99
binary-compatibility-validator-version = "0.18.0"
1010

0 commit comments

Comments
 (0)