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:
commit
2dc12db6f4
3 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue