mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 18:59:39 +02:00
Wrap MalformedOpenPgpMessageException in BadData
This commit is contained in:
parent
8097c87b7f
commit
a013ab4ebb
4 changed files with 7 additions and 4 deletions
|
@ -656,7 +656,7 @@ public class OpenPgpMessageInputStream extends DecryptionStream {
|
|||
if (decryptionKey == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
KeyRingInfo info = new KeyRingInfo(secretKeys, policy, new Date());
|
||||
List<PGPPublicKey> encryptionKeys = info.getEncryptionSubkeys(EncryptionPurpose.ANY);
|
||||
for (PGPPublicKey key : encryptionKeys) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue