This commit is contained in:
Rene Pfeuffer
2025-08-14 14:58:26 +02:00
parent ec9e32bdab
commit ed843e0a76
2 changed files with 4 additions and 4 deletions

View File

@@ -77,10 +77,10 @@ dependencies {
implementation libraries.bouncycastleProv
implementation libraries.bouncycastlePkix
implementation 'org.pgpainless:pgpainless-core:1.6.7'
implementation 'org.pgpainless:pgpainless-core:1.7.6'
constraints {
implementation 'org.bouncycastle:bcprov-jdk18on:1.78'
implementation 'org.bouncycastle:bcpg-jdk18on:1.78'
implementation 'org.bouncycastle:bcprov-jdk18on:1.81'
implementation 'org.bouncycastle:bcpg-jdk18on:1.81'
}
// json

View File

@@ -103,7 +103,7 @@ public class DefaultGPG implements GPG {
publicKeyStore.add("Default SCM-Manager Signing Key", userId, rawPublicKey, true);
return DefaultPrivateKey.parseRaw(rawPrivateKey);
} catch (PGPException | NoSuchAlgorithmException | InvalidAlgorithmParameterException | IOException e) {
} catch (PGPException | NoSuchAlgorithmException | InvalidAlgorithmParameterException e) {
throw new GPGException("Private key could not be generated", e);
}
} else {