Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://tools.ietf.org/html/draft-miller-ssh-agent-02 (expired Internet-Draft, but documents the de-facto implementation in OpenSSH) describes the payload for an SSH_AGENTC_ADD_IDENTITY message as follows: string key type string ecdsa_curve_name string Q mpint d string comment constraint[] constraints This didn't match Key._fromString_PRIVATE_BLOB, which instead expected the affine x and y components as separate mpints. As far as I can tell, the private blob deserialisation code is only currently used for the agent protocol, so it seems to make most sense to consider the previous blob format as a mistake and use the format from the above I-D.
- Loading branch information
Showing
2 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters