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

Pouria Mousavizadeh Tehrani <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by pouria:

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

commit 169c613a70b896dd1e3412f623ad03e01ef52d46
Author:     Pouria Mousavizadeh Tehrani <[email protected]>
AuthorDate: 2026-01-17 12:37:30 +0000
Commit:     Pouria Mousavizadeh Tehrani <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.