mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Bump PGPainless to 1.5.3
This commit is contained in:
parent
9bfaf674b1
commit
430795bb9e
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ dependencies {
|
||||||
api project(':smack-extensions')
|
api project(':smack-extensions')
|
||||||
api project(':smack-experimental')
|
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}"
|
testImplementation "org.bouncycastle:bcprov-jdk18on:${bouncyCastleVersion}"
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ public class PainlessOpenPgpProvider implements OpenPgpProvider {
|
||||||
cipherStream.close();
|
cipherStream.close();
|
||||||
plainText.close();
|
plainText.close();
|
||||||
|
|
||||||
OpenPgpMetadata info = cipherStream.getResult();
|
OpenPgpMetadata info = cipherStream.getMetadata().toLegacyMetadata();
|
||||||
|
|
||||||
OpenPgpMessage.State state;
|
OpenPgpMessage.State state;
|
||||||
if (info.isSigned()) {
|
if (info.isSigned()) {
|
||||||
|
|
Loading…
Reference in a new issue