1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-14 12:49:39 +02:00

PGPException is not thrown during secret key reading

This commit is contained in:
Paul Schaub 2021-08-15 15:27:12 +02:00
parent 6251e01d57
commit 2bd71617bd
3 changed files with 22 additions and 22 deletions

View file

@ -122,7 +122,7 @@ public class RejectWeakSymmetricAlgorithmDuringDecryption {
static {
try {
secretKeys = PGPainless.readKeyRing().secretKeyRing(key);
} catch (IOException | PGPException e) {
} catch (IOException e) {
fail("Secret key cannot be parsed.");
}
}