pgpainless/pgpainless-core/src/main/java/org/pgpainless
Paul Schaub 5bb4fd3687
Add PublicKeyAlgorithmPolicy to reject weak public keys
BCs PGPPublicKey.getBitStrenght() appears to fail to recognize some elliptic curves.
In such cases, bitStrength is reported as -1.
I added BCUtil.getBitStrength(publicKey) to manually determine the bit strenght by OID.
See https://github.com/bcgit/bc-java/issues/972 for an upstream bug report.
2021-06-11 16:20:29 +02:00
..
algorithm Move EncryptionPurpose to own class 2021-05-27 15:52:43 +02:00
decryption_verification Small code style fixes and optimizations 2021-06-10 12:42:48 +02:00
encryption_signing EncryptionOptions: Consistent exceptions 2021-06-10 15:04:08 +02:00
exception Throw MissingDecryptionMethodException when missing decryption key or -passphrase 2021-05-28 23:20:25 +02:00
implementation Introduce parametrized tests to also test the JceImplementationFactory 2021-02-25 23:27:08 +01:00
key SOP: Ignore marker packets in certificates 2021-06-10 16:56:36 +02:00
policy Add PublicKeyAlgorithmPolicy to reject weak public keys 2021-06-11 16:20:29 +02:00
provider Fix checkstyle issues 2020-01-10 18:46:31 +01:00
signature Add PublicKeyAlgorithmPolicy to reject weak public keys 2021-06-11 16:20:29 +02:00
util Add PublicKeyAlgorithmPolicy to reject weak public keys 2021-06-11 16:20:29 +02:00
PGPainless.java More documentation 2021-05-31 15:33:42 +02:00
package-info.java Rename module painless-core -> pgpainless-core 2018-07-19 00:15:06 +02:00