From 79d5a619e8a9cc1b82fc83a46d2a46cb28e2670f Mon Sep 17 00:00:00 2001 From: djm Date: Fri, 1 Jul 2022 04:45:50 +0000 Subject: [PATCH] use consistent field names (s/char/byte) in format description --- usr.bin/ssh/PROTOCOL.key | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/ssh/PROTOCOL.key b/usr.bin/ssh/PROTOCOL.key index 38df268b653..cbf7a70272b 100644 --- a/usr.bin/ssh/PROTOCOL.key +++ b/usr.bin/ssh/PROTOCOL.key @@ -11,7 +11,7 @@ an encrypted list of matching private keys. string ciphername string kdfname string kdfoptions - int number of keys N + uint32 number of keys N string publickey1 string publickey2 ... @@ -42,11 +42,11 @@ of the cipher block size. ... string privatekeyN string commentN - char 1 - char 2 - char 3 + byte 1 + byte 2 + byte 3 ... - char padlen % 255 + byte padlen % 255 where each private key is encoded using the same rules as used for SSH agent. @@ -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.2 2021/05/07 02:29:40 djm Exp $ +$OpenBSD: PROTOCOL.key,v 1.3 2022/07/01 04:45:50 djm Exp $ -- 2.20.1