From d8a1a272d9aaf9f129ced9066820c6ade6912d1d Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Fri, 30 May 2025 14:29:55 +0200 Subject: [PATCH] Enable additional profiles --- .../src/main/kotlin/org/pgpainless/sop/GenerateKeyImpl.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pgpainless-sop/src/main/kotlin/org/pgpainless/sop/GenerateKeyImpl.kt b/pgpainless-sop/src/main/kotlin/org/pgpainless/sop/GenerateKeyImpl.kt index d146d0b4..e220f1bf 100644 --- a/pgpainless-sop/src/main/kotlin/org/pgpainless/sop/GenerateKeyImpl.kt +++ b/pgpainless-sop/src/main/kotlin/org/pgpainless/sop/GenerateKeyImpl.kt @@ -52,7 +52,11 @@ class GenerateKeyImpl(private val api: PGPainless) : GenerateKey { listOf( CURVE25519_PROFILE.withAliases("default", "compatibility"), RFC4880_RSA4096_PROFILE, - RFC9580_CURVE25519_PROFILE.withAliases("performance", "security")) + RFC6637_NIST_P256_PROFILE, + RFC6637_NIST_P384_PROFILE, + RFC6637_NIST_P521_PROFILE, + RFC9580_CURVE25519_PROFILE.withAliases("performance", "security"), + RFC9580_CURVE448_PROFILE) } private val userIds = mutableSetOf()