SOP verify: force data to be non-openpgp data

This commit is contained in:
Paul Schaub 2022-11-09 15:30:57 +01:00
parent c253732ad9
commit c77c96f849
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ public class DetachedVerifyImpl implements DetachedVerify {
@Override
public List<Verification> data(InputStream data) throws IOException, SOPGPException.NoSignature, SOPGPException.BadData {
options.forceNonOpenPgpData();
DecryptionStream decryptionStream;
try {
decryptionStream = PGPainless.decryptAndOrVerify()