From 949892938735c0cf14a6689d68779c2ce2410585 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 3 Jun 2016 13:04:26 -0700 Subject: SSH serialization for public keys (#2957) * SSH serialization for public keys * name errors ahoy! * id, ego, superego * dsa support * EC support * Don't keyerror * Documentation OpenSSH * flake8 * fix * bytes bytes bytes * skip curve unsupported * bytes! * Move a function * reorganize code for coverage --- docs/hazmat/primitives/asymmetric/serialization.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/hazmat') diff --git a/docs/hazmat/primitives/asymmetric/serialization.rst b/docs/hazmat/primitives/asymmetric/serialization.rst index b94c0e10..7cef77fd 100644 --- a/docs/hazmat/primitives/asymmetric/serialization.rst +++ b/docs/hazmat/primitives/asymmetric/serialization.rst @@ -360,6 +360,13 @@ Serialization Formats Just the public key elements (without the algorithm identifier). This format is RSA only, but is used by some older systems. + .. attribute:: OpenSSH + + .. versionadded:: 1.4 + + The public key format used by OpenSSH (e.g. as found in + ``~/.ssh/id_rsa.pub`` or ``~/.ssh/authorized_keys``). + Serialization Encodings ~~~~~~~~~~~~~~~~~~~~~~~ @@ -389,6 +396,12 @@ Serialization Encodings For DER format. This is a binary format. + .. attribute:: OpenSSH + + .. versionadded:: 1.4 + + The format used by OpenSSH public keys. This is a text format. + Serialization Encryption Types ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3