[prev in list] [next in list] [prev in thread] [next in thread]
List: openssh-unix-dev
Subject: patch: update agent protocol documentation to mention ED25519
From: Nils Rennebarth <nils.rennebarth () web ! de>
Date: 2016-02-06 15:38:04
Message-ID: 56B6135C.7050705 () web ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
Hello,
The attached patch (against current git sources) updates the documentatio=
n of the agent's protocol for ED25519 related issues.
It is hereby in the public domain if such legalese is required.
Best regards, Nils Rennebarth
["agent-doc-ed25529.diff" (text/x-patch)]
commit c51e3097f6e072a5224696fbab1bde780a17796e
Author: Nils Rennebarth <nils.rennebarth@web.de>
Date: Sun Jan 17 21:11:15 2016 +0100
Update documentation of agent protocol for ED25519 keys
diff --git a/PROTOCOL.agent b/PROTOCOL.agent
index 27ec0c1..0cda716 100644
--- a/PROTOCOL.agent
+++ b/PROTOCOL.agent
@@ -206,6 +206,27 @@ ECDSA certificates may be added with:
string key_comment
constraint[] key_constraints
+ED25519 keys may be added with this request:
+
+ byte SSH2_AGENTC_ADD_IDENTITY or
+ SSH2_AGENTC_ADD_ID_CONSTRAINED
+ string "ssh-ed25519"
+ string ed25519_pk
+ string ed25519_sk
+ string key_comment
+ constraint[] key_constraints
+
+ED25519 certificates may be added with:
+
+ byte SSH2_AGENTC_ADD_IDENTITY or
+ SSH2_AGENTC_ADD_ID_CONSTRAINED
+ string "ssh-ed25519-cert-v01@openssh.com"
+ string certificate
+ string ed25519_pk
+ string ed25519_sk
+ string key_comment
+ constraint[] key_constraints
+
RSA keys may be added with this request:
byte SSH2_AGENTC_ADD_IDENTITY or
@@ -238,8 +259,8 @@ order to the protocol 1 add keys message. As with the corresponding
protocol 1 "add key" request, the private key is overspecified to avoid
redundant processing.
-For DSA, ECDSA and RSA key add requests, "key_constraints" may only be
-present if the request type is SSH2_AGENTC_ADD_ID_CONSTRAINED.
+For DSA, ECDSA, ED25519 and RSA key add requests, "key_constraints" may
+only be present if the request type is SSH2_AGENTC_ADD_ID_CONSTRAINED.
The agent will reply with a SSH_AGENT_SUCCESS if the key has been
successfully added or a SSH_AGENT_FAILURE if an error occurred.
["signature.asc" (application/pgp-signature)]
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic