From 70da96b0646bf242ebc5d564a424c717781e53a8 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Fri, 2 Feb 2024 18:00:17 +0100 Subject: [PATCH] Document that PublicKeyAlgorithm EdDsa is only for OpenPGP v4 --- .../kotlin/org/pgpainless/algorithm/PublicKeyAlgorithm.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pgpainless-core/src/main/kotlin/org/pgpainless/algorithm/PublicKeyAlgorithm.kt b/pgpainless-core/src/main/kotlin/org/pgpainless/algorithm/PublicKeyAlgorithm.kt index 4a218673..f7b371a7 100644 --- a/pgpainless-core/src/main/kotlin/org/pgpainless/algorithm/PublicKeyAlgorithm.kt +++ b/pgpainless-core/src/main/kotlin/org/pgpainless/algorithm/PublicKeyAlgorithm.kt @@ -59,7 +59,10 @@ enum class PublicKeyAlgorithm( /** Diffie-Hellman key exchange algorithm. */ DIFFIE_HELLMAN(21, false, true), - /** Digital Signature Algorithm based on twisted Edwards Curves. */ + /** + * Digital Signature Algorithm based on twisted Edwards Curves. + * For OpenPGP v4 only. + */ EDDSA(22, true, false), ;