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:
parent
6251e01d57
commit
2bd71617bd
3 changed files with 22 additions and 22 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue