mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-18 02:12:06 +01:00
SOP: GenerateKey with --profile=rfc4880 now generates RSA key with subkeys
This commit is contained in:
parent
8869d9bd78
commit
a8ab93a49a
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public class GenerateKeyImpl implements GenerateKey {
|
||||||
// RSA 4096
|
// RSA 4096
|
||||||
else if (profile.equals(RSA4096_PROFILE.getName())) {
|
else if (profile.equals(RSA4096_PROFILE.getName())) {
|
||||||
key = PGPainless.generateKeyRing()
|
key = PGPainless.generateKeyRing()
|
||||||
.simpleRsaKeyRing(primaryUserId, RsaLength._4096, passphrase);
|
.rsaKeyRing(primaryUserId, RsaLength._4096, passphrase);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Missing else-if branch for profile. Oops.
|
// Missing else-if branch for profile. Oops.
|
||||||
|
|
Loading…
Reference in a new issue