mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 12:22:06 +01:00
SOP verify: force data to be non-openpgp data
This commit is contained in:
parent
c253732ad9
commit
c77c96f849
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue