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:
parent
c6dbc029d7
commit
da9c610d14
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue