mirror of
https://codeberg.org/PGPainless/cert-d-pgpainless.git
synced 2024-12-22 05:17:56 +01:00
Bump PGPainless to 1.3.12
This commit is contained in:
parent
c8bf6c5f83
commit
97fe547649
2 changed files with 8 additions and 3 deletions
|
@ -23,8 +23,13 @@ public class KeyMaterialReader implements KeyMaterialReaderBackend {
|
||||||
try {
|
try {
|
||||||
keyMaterial = PGPainless.readKeyRing().keyRing(data);
|
keyMaterial = PGPainless.readKeyRing().keyRing(data);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
if (e.getMessage().contains("unknown object in stream") ||
|
String msg = e.getMessage();
|
||||||
e.getMessage().contains("unexpected end of file in armored stream.")) {
|
if (msg == null) {
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
if (msg.contains("unknown object in stream") ||
|
||||||
|
msg.contains("unexpected end of file in armored stream.") ||
|
||||||
|
msg.contains("invalid header encountered")) {
|
||||||
throw new BadDataException();
|
throw new BadDataException();
|
||||||
} else {
|
} else {
|
||||||
throw e;
|
throw e;
|
||||||
|
|
|
@ -12,7 +12,7 @@ allprojects {
|
||||||
logbackVersion = '1.2.11'
|
logbackVersion = '1.2.11'
|
||||||
junitVersion = '5.8.2'
|
junitVersion = '5.8.2'
|
||||||
mockitoVersion = '4.5.1'
|
mockitoVersion = '4.5.1'
|
||||||
pgpainlessVersion = '1.3.5'
|
pgpainlessVersion = '1.3.12'
|
||||||
pgpCertDJavaVersion = '0.2.1'
|
pgpCertDJavaVersion = '0.2.1'
|
||||||
picocliVersion = '4.6.3'
|
picocliVersion = '4.6.3'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue