mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 00:56:09 +02:00
Bump pgp
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user