1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-22 19:08:00 +01:00

SOP: GenerateKey with --profile=rfc4880 now generates RSA key with subkeys

This commit is contained in:
Paul Schaub 2023-05-03 14:07:33 +02:00
parent 8869d9bd78
commit a8ab93a49a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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.