mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 03:17:58 +01:00
SOP decrypt: Do not throw if no signatures found
This commit is contained in:
parent
e5ba4f9933
commit
bca359805b
1 changed files with 0 additions and 6 deletions
|
@ -154,12 +154,6 @@ public class DecryptImpl implements Decrypt {
|
|||
verificationList.add(map(signatureVerification));
|
||||
}
|
||||
|
||||
if (!consumerOptions.getCertificates().isEmpty()) {
|
||||
if (verificationList.isEmpty()) {
|
||||
throw new SOPGPException.NoSignature();
|
||||
}
|
||||
}
|
||||
|
||||
SessionKey sessionKey = null;
|
||||
if (metadata.getSessionKey() != null) {
|
||||
org.pgpainless.util.SessionKey sk = metadata.getSessionKey();
|
||||
|
|
Loading…
Reference in a new issue