summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-03-30 05:56:22 +0000
committerDamien Miller <djm@mindrot.org>2024-03-30 16:57:32 +1100
commit2d2c068de8d696fe3246f390b146197f51ea1e83 (patch)
tree76169876a7eed62c7e12da43bcf477d55ce3f850
parentc2c0bdd3e96b3ef66d77fccb85ff4962dc76caf0 (diff)
upstream: in OpenSSH private key format, correct type for subsequent
private keys in blob. From Jakub Jelen via GHPR430 OpenBSD-Commit-ID: d17dbf47554de2d752061592f95b5d772baab50b
-rw-r--r--PROTOCOL.key4
1 files changed, 2 insertions, 2 deletions
diff --git a/PROTOCOL.key b/PROTOCOL.key
index cbf7a702..feda2529 100644
--- a/PROTOCOL.key
+++ b/PROTOCOL.key
@@ -40,7 +40,7 @@ of the cipher block size.
byte[] privatekey2
string comment2
...
- string privatekeyN
+ byte[] privatekeyN
string commentN
byte 1
byte 2
@@ -68,4 +68,4 @@ For unencrypted keys the cipher "none" and the KDF "none"
are used with empty passphrases. The options if the KDF "none"
are the empty string.
-$OpenBSD: PROTOCOL.key,v 1.3 2022/07/01 04:45:50 djm Exp $
+$OpenBSD: PROTOCOL.key,v 1.4 2024/03/30 05:56:22 djm Exp $