1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-18 02:12:06 +01:00
pgpainless/pgpainless-core
Wiktor Kwapisiewicz 59fe53c594
Fix creating keys with Passphrase.emptyPassphrase()
Previously the code supplied `null` to BouncyCastle's
encryptor/decryptor builder's build method and that caused
NullPointerException to be thrown.

The fix checks if the passphrase is empty and omits the BouncyCastle
builder in that case.

Fixes #16.
2020-10-30 12:22:05 +01:00
..
src Fix creating keys with Passphrase.emptyPassphrase() 2020-10-30 12:22:05 +01:00
build.gradle Remove dependency on jetbrains annotations 2020-08-24 16:44:14 +02:00