mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
Add new key types to default policy
This commit is contained in:
parent
7ba9155f71
commit
f3cfcd9250
1 changed files with 5 additions and 0 deletions
|
@ -379,6 +379,11 @@ class Policy(
|
||||||
put(PublicKeyAlgorithm.DIFFIE_HELLMAN, 2000)
|
put(PublicKeyAlgorithm.DIFFIE_HELLMAN, 2000)
|
||||||
// §7.2.2
|
// §7.2.2
|
||||||
put(PublicKeyAlgorithm.ECDH, 250)
|
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