Skip to content

Support for new OpenSSH 6.5+ private key format - #618

Closed
mchlt wants to merge 10 commits into
paramiko:masterfrom
mchlt:openssh65-key
Closed

mchlt wants to merge 10 commits into
paramiko:masterfrom
mchlt:openssh65-key

Conversation

@mchlt

@mchlt mchlt commented Nov 10, 2015

Copy link
Copy Markdown

Added support for new OpenSSH 6.5+ private key format. See issue #602.
This code only adds the ability to READ that key format, not write it.

I could only test the keys on one box as I found that my Solaris, Raspberry pi and Oracle Linux boxes all still have older versions of SSH. So only tested this on Ubuntu 15 against OpenSSH_6.9p1.

Figuring out the actual format and which blob was which key was quite the puzzle, it's not really documented completely anywhere.

As discussed previously, this does add a dependency on py-bcrypt 0.4
The cryptography module does not have bcrypt, nor the required bcrypt_pbkdf function (which is similar, but not quite the same as pbkdf2...)

@cjac

cjac commented Mar 31, 2016

Copy link
Copy Markdown

Have you, in your wanderings through this code, found a way to identify the Public Key Algorithm of a given private key file? Or even the content of that file would work.

jaredhobbs added a commit to carta/paramiko that referenced this pull request Nov 28, 2018
This work is based off the work done in paramiko#618
ploxiln pushed a commit to ploxiln/paramiko-ng that referenced this pull request May 2, 2019
ploxiln pushed a commit to ploxiln/paramiko-ng that referenced this pull request May 5, 2019
ploxiln pushed a commit to ploxiln/paramiko-ng that referenced this pull request May 23, 2019
@XVilka

This comment was marked as abuse.

@bitprophet

Copy link
Copy Markdown
Member

Rolling into #1343 as noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants