mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-19 02:42:05 +01:00
Remove usage of PublicKeyAlgorithm.EC
This commit is contained in:
parent
bf6c89af64
commit
64dfefc9e7
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