1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-22 20:32:05 +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 @Override
public List<Verification> data(InputStream data) throws IOException, SOPGPException.NoSignature, SOPGPException.BadData { public List<Verification> data(InputStream data) throws IOException, SOPGPException.NoSignature, SOPGPException.BadData {
options.forceNonOpenPgpData();
DecryptionStream decryptionStream; DecryptionStream decryptionStream;
try { try {
decryptionStream = PGPainless.decryptAndOrVerify() decryptionStream = PGPainless.decryptAndOrVerify()