Skip to content

Commit

Permalink
Bump PGPainless to 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitasvitae committed Jun 24, 2023
1 parent 9bfaf67 commit 430795b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smack-openpgp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public PGPPublicKeyRing onMissingPublicKeyEncountered(Long keyId) {
cipherStream.close();
plainText.close();

OpenPgpMetadata info = cipherStream.getResult();
OpenPgpMetadata info = cipherStream.getMetadata().toLegacyMetadata();

OpenPgpMessage.State state;
if (info.isSigned()) {
Expand Down

0 comments on commit 430795b

Please sign in to comment.