mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-25 22:02:05 +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
|
@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()
|
||||||
|
|
Loading…
Reference in a new issue