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
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class GenerateKeyImpl implements GenerateKey {
// RSA 4096
else if (profile.equals(RSA4096_PROFILE.getName())) {
key = PGPainless.generateKeyRing()
.simpleRsaKeyRing(primaryUserId, RsaLength._4096, passphrase);
.rsaKeyRing(primaryUserId, RsaLength._4096, passphrase);
}
else {
// Missing else-if branch for profile. Oops.