summaryrefslogtreecommitdiffstats
path: root/PROTOCOL.krl
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2023-07-17 06:01:10 +0200
committerDamien Miller <djm@mindrot.org>2023-07-17 06:52:35 +0200
commitbeec17bb311365b75a0a5941418d4b96df7d7888 (patch)
tree8c138b33c159493ce37765ebb79a964da73c0749 /PROTOCOL.krl
parentupstream: Support for KRL extensions. (diff)
downloadopenssh-beec17bb311365b75a0a5941418d4b96df7d7888.tar.xz
openssh-beec17bb311365b75a0a5941418d4b96df7d7888.zip
upstream: remove vestigal support for KRL signatures
When the KRL format was originally defined, it included support for signing of KRL objects. However, the code to sign KRLs and verify KRL signatues was never completed in OpenSSH. Now, some years later, we have SSHSIG support in ssh-keygen that is more general, well tested and actually works. So this removes the semi-finished KRL signing/verification support from OpenSSH and refactors the remaining code to realise the benefit - primarily, we no longer need to perform multiple parsing passes over KRL objects. ok markus@ OpenBSD-Commit-ID: 517437bab3d8180f695c775410c052340e038804
Diffstat (limited to 'PROTOCOL.krl')
-rw-r--r--PROTOCOL.krl6
1 files changed, 5 insertions, 1 deletions
diff --git a/PROTOCOL.krl b/PROTOCOL.krl
index f4213156e..1b59c76be 100644
--- a/PROTOCOL.krl
+++ b/PROTOCOL.krl
@@ -193,6 +193,10 @@ The "extension_contents" contains the body of the extension.
6. KRL signature sections
+Note: KRL signatures are not supported by OpenSSH. OpenSSH >= 9.4 will
+refuse to load KRLs that contain signatures. We recommend the use
+of SSHSIG (`ssh-keygen -Y sign ...`) style signatures for KRLs instead.
+
The KRL_SECTION_SIGNATURE section serves a different purpose to the
preceding ones: to provide cryptographic authentication of a KRL that
is retrieved over a channel that does not provide integrity protection.
@@ -215,4 +219,4 @@ Implementations that retrieve KRLs over untrusted channels must verify
signatures. Signature sections are optional for KRLs distributed by
trusted means.
-$OpenBSD: PROTOCOL.krl,v 1.6 2023/07/17 03:57:21 djm Exp $
+$OpenBSD: PROTOCOL.krl,v 1.7 2023/07/17 04:01:10 djm Exp $