mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-22 19:08:00 +01:00
Bump BC to 1.76
This commit is contained in:
parent
789fa507d1
commit
8bc2338463
2 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,8 @@ class KeyReader {
|
||||||
try {
|
try {
|
||||||
certs = PGPainless.readKeyRing().publicKeyRingCollection(certIn);
|
certs = PGPainless.readKeyRing().publicKeyRingCollection(certIn);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (e.getMessage() != null && e.getMessage().startsWith("unknown object in stream:")) {
|
String msg = e.getMessage();
|
||||||
|
if (msg != null && (msg.startsWith("unknown object in stream:") || msg.startsWith("invalid header encountered"))) {
|
||||||
throw new SOPGPException.BadData(e);
|
throw new SOPGPException.BadData(e);
|
||||||
}
|
}
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
@ -8,7 +8,7 @@ allprojects {
|
||||||
isSnapshot = true
|
isSnapshot = true
|
||||||
pgpainlessMinAndroidSdk = 10
|
pgpainlessMinAndroidSdk = 10
|
||||||
javaSourceCompatibility = 1.8
|
javaSourceCompatibility = 1.8
|
||||||
bouncyCastleVersion = '1.75'
|
bouncyCastleVersion = '1.76'
|
||||||
bouncyPgVersion = bouncyCastleVersion
|
bouncyPgVersion = bouncyCastleVersion
|
||||||
junitVersion = '5.8.2'
|
junitVersion = '5.8.2'
|
||||||
logbackVersion = '1.2.11'
|
logbackVersion = '1.2.11'
|
||||||
|
|
Loading…
Reference in a new issue