1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-22 19:08:00 +01:00

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

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()