Skip to content

Commit

Permalink
Merge pull request #563 from vanitasvitae/bumpPgpainless
Browse files Browse the repository at this point in the history
Bump pgpainless
  • Loading branch information
Flowdalic committed Nov 25, 2023
2 parents 7eabdaf + 430795b commit 2dc12db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ allprojects {
smackMinAndroidSdk = 19
junitVersion = '5.7.1'
commonsIoVersion = '2.6'
bouncyCastleVersion = '1.71'
bouncyCastleVersion = '1.73'
guavaVersion = '30.1-jre'
mockitoVersion = '3.7.7'
orgReflectionsVersion = '0.9.11'
Expand Down
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 2dc12db

Please sign in to comment.