git: 169c613a70 - main - checkkey.sh: Add EDDSA algo (RFC8032)

From: Pouria Mousavizadeh Tehrani <pouria_at_FreeBSD.org>
Date: Sun, 18 Jan 2026 08:14:56 UTC
The branch main has been updated by pouria:

URL: https://cgit.FreeBSD.org/doc/commit/?id=169c613a70b896dd1e3412f623ad03e01ef52d46

commit 169c613a70b896dd1e3412f623ad03e01ef52d46
Author:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
AuthorDate: 2026-01-17 12:37:30 +0000
Commit:     Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org>
CommitDate: 2026-01-18 08:13:08 +0000

    checkkey.sh: Add EDDSA algo (RFC8032)
    
    This fixes the UNKNOWN type returned by checkkey.sh
    
    Reviewed by:            des, siva
    Approved by:            glebius (mentor)
    Differential Revision:  https://reviews.freebsd.org/D54473
---
 documentation/tools/checkkey.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/documentation/tools/checkkey.sh b/documentation/tools/checkkey.sh
index 8740a5dde6..b96230f076 100755
--- a/documentation/tools/checkkey.sh
+++ b/documentation/tools/checkkey.sh
@@ -176,6 +176,7 @@ for key in ${keyids} ; do
 		"17")	algo="DSA" ;;
 		"18")	algo="ECC" ;;
 		"19")	algo="ECDSA" ;;
+		"22")	algo="EDDSA" ;;
 		*)	algo="*UNKNOWN*" ;;
 	esac
 
@@ -189,6 +190,7 @@ for key in ${keyids} ; do
 		DSA)	if [ "${bitlen}" -le 1024 ]; then \
 				badkey "DSA, but not DSA-2"; \
 			fi ;;
+		EDDSA)	;;
 		*)	badkey "non-preferred algorithm"
 	esac