1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-21 19:42:05 +01:00

Bump PGPainless to 1.5.3

This commit is contained in:
Paul Schaub 2023-06-24 11:10:24 +02:00
parent 9bfaf674b1
commit 430795bb9e
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ dependencies {
api project(':smack-extensions')
api project(':smack-experimental')
api 'org.pgpainless:pgpainless-core:1.3.1'
api 'org.pgpainless:pgpainless-core:1.5.3'
testImplementation "org.bouncycastle:bcprov-jdk18on:${bouncyCastleVersion}"

View file

@ -220,7 +220,7 @@ public class PainlessOpenPgpProvider implements OpenPgpProvider {
cipherStream.close();
plainText.close();
OpenPgpMetadata info = cipherStream.getResult();
OpenPgpMetadata info = cipherStream.getMetadata().toLegacyMetadata();
OpenPgpMessage.State state;
if (info.isSigned()) {