mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-14 20:59:39 +02:00
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
2598123948 | |||
82fb93eea3 |
4 changed files with 10 additions and 2 deletions
|
@ -5,6 +5,9 @@ SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
# PGPainless Changelog
|
# PGPainless Changelog
|
||||||
|
|
||||||
|
## 1.0.5
|
||||||
|
- Security: Fix `KeyRingInfo.getValidAndExpiredUserIds()` accidentally including unbound user-ids
|
||||||
|
|
||||||
## 1.0.4
|
## 1.0.4
|
||||||
- Yet another patch for faulty ASCII armor detection 😒
|
- Yet another patch for faulty ASCII armor detection 😒
|
||||||
|
|
||||||
|
|
|
@ -186,7 +186,7 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.pgpainless:pgpainless-core:1.0.4'
|
implementation 'org.pgpainless:pgpainless-core:1.0.5'
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -346,6 +346,11 @@ public class KeyRingInfo {
|
||||||
PGPSignature certification = signatures.userIdCertifications.get(userId);
|
PGPSignature certification = signatures.userIdCertifications.get(userId);
|
||||||
PGPSignature revocation = signatures.userIdRevocations.get(userId);
|
PGPSignature revocation = signatures.userIdRevocations.get(userId);
|
||||||
|
|
||||||
|
// Unbound user-id
|
||||||
|
if (certification == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Not revoked -> valid
|
// Not revoked -> valid
|
||||||
if (revocation == null) {
|
if (revocation == null) {
|
||||||
probablyExpired.add(userId);
|
probablyExpired.add(userId);
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
allprojects {
|
allprojects {
|
||||||
ext {
|
ext {
|
||||||
shortVersion = '1.0.5'
|
shortVersion = '1.0.5'
|
||||||
isSnapshot = true
|
isSnapshot = false
|
||||||
pgpainlessMinAndroidSdk = 10
|
pgpainlessMinAndroidSdk = 10
|
||||||
javaSourceCompatibility = 1.8
|
javaSourceCompatibility = 1.8
|
||||||
bouncyCastleVersion = '1.70'
|
bouncyCastleVersion = '1.70'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue