1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +01:00

Merge pull request #563 from vanitasvitae/bumpPgpainless

Bump pgpainless
This commit is contained in:
Florian Schmaus 2023-11-25 19:00:02 +00:00 committed by GitHub
commit 2dc12db6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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'

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()) {