1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 02:09:38 +02:00

Add new key types to default policy

This commit is contained in:
Paul Schaub 2025-01-29 12:09:54 +01:00
parent 443361ba03
commit a62d3aacd0
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -379,6 +379,11 @@ class Policy(
put(PublicKeyAlgorithm.DIFFIE_HELLMAN, 2000)
// §7.2.2
put(PublicKeyAlgorithm.ECDH, 250)
// Fixed lengths
put(PublicKeyAlgorithm.X25519, 256)
put(PublicKeyAlgorithm.ED25519, 256)
put(PublicKeyAlgorithm.X448, 448)
put(PublicKeyAlgorithm.ED448, 456)
})
}
}