mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-05 20:15:59 +01:00
Remove usage of PublicKeyAlgorithm.EC
This commit is contained in:
parent
41dfe71994
commit
de3fbe72ad
2 changed files with 0 additions and 2 deletions
|
@ -645,7 +645,6 @@ public final class Policy {
|
|||
minimalBitStrengths.put(PublicKeyAlgorithm.DIFFIE_HELLMAN, 2000);
|
||||
// §7.2.2
|
||||
minimalBitStrengths.put(PublicKeyAlgorithm.ECDH, 250);
|
||||
minimalBitStrengths.put(PublicKeyAlgorithm.EC, 250);
|
||||
|
||||
return new PublicKeyAlgorithmPolicy(minimalBitStrengths);
|
||||
}
|
||||
|
|
|
@ -72,7 +72,6 @@ public class RefuseToAddWeakSubkeyTest {
|
|||
minimalBitStrengths.put(PublicKeyAlgorithm.DIFFIE_HELLMAN, 2000);
|
||||
// §7.2.2
|
||||
minimalBitStrengths.put(PublicKeyAlgorithm.ECDH, 250);
|
||||
minimalBitStrengths.put(PublicKeyAlgorithm.EC, 250);
|
||||
PGPainless.getPolicy().setPublicKeyAlgorithmPolicy(new Policy.PublicKeyAlgorithmPolicy(minimalBitStrengths));
|
||||
|
||||
SecretKeyRingEditorInterface editor = PGPainless.modifyKeyRing(secretKeys);
|
||||
|
|
Loading…
Reference in a new issue