Update enabled TLS ciphers
This commit is contained in:
parent
4c977fea77
commit
3bf652a432
1 changed files with 16 additions and 7 deletions
|
@ -163,13 +163,22 @@ public final class Config {
|
||||||
|
|
||||||
//only allow secure tls chipers now
|
//only allow secure tls chipers now
|
||||||
public static final String[] ENABLED_CIPHERS = {
|
public static final String[] ENABLED_CIPHERS = {
|
||||||
"TLS_CHACHA20_POLY1305_SHA256",
|
//TLS 1.3
|
||||||
"TLS_AES_256_GCM_SHA384",
|
"TLS_AES_256_GCM_SHA384",
|
||||||
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
|
"TLS_CHACHA20_POLY1305_SHA256",
|
||||||
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
"TLS_AES_128_GCM_SHA256",
|
||||||
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA512",
|
//post quantum key agreement with traditional encryption
|
||||||
"TLS_DHE_RSA_WITH_AES_256_GCM_SHA512",
|
"TLS_ECDHE_KYBER_WITH_CHACHA20_POLY1305_SHA256",
|
||||||
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
|
//pre shared key for resource constrained devices (e.g. Alexa, IoT)
|
||||||
|
// with post quantum encryption
|
||||||
|
"TLS_PSK_WITH_AES_128_GCM_SHA256",
|
||||||
|
//TLS 1.2 with traditional key agreement and encryption
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
|
||||||
|
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
|
||||||
|
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
||||||
|
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
|
||||||
|
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
|
||||||
};
|
};
|
||||||
|
|
||||||
public static final String[] WEAK_CIPHER_PATTERNS = {
|
public static final String[] WEAK_CIPHER_PATTERNS = {
|
||||||
|
|
Loading…
Reference in a new issue