Skip to content

SSHClient: Allow to use ECDSA private keys. - #218

Merged
bitprophet merged 2 commits into
paramiko:masterfrom
aszlig:ecdsa-private
Sep 6, 2014
Merged

bitprophet merged 2 commits into
paramiko:masterfrom
aszlig:ecdsa-private

Conversation

@aszlig

@aszlig aszlig commented Oct 2, 2013

Copy link
Copy Markdown
Contributor

Nowadays, ECDSA keys became more widespread, so it might be a good idea to support those private keys as well, especially because the change to Paramiko shouldn't be too dramatic.

aszlig added 2 commits October 2, 2013 10:45
Nowadays, ECDSA keys became more widespread, so it might be a good idea
to support those private keys as well.

Signed-off-by: aszlig <[email protected]>
I'm not using keys in ~/.ssh at all, so I missed adding ECDSA support
there as well.

Signed-off-by: aszlig <[email protected]>
aszlig added a commit to NixOS/nixpkgs that referenced this pull request Oct 2, 2013
This patch should be backwards-incompatible and is also submitted
upstream as paramiko/paramiko#218.

The main reason for this patch is that we need it for NixOS/nixops#124
in order to cope with NixOS/nixops@a2718b6, which makes ECDSA private
key the default for new deployments.

Signed-off-by: aszlig <[email protected]>
@bitprophet

Copy link
Copy Markdown
Member

Thanks! Will review soon but looks good at a glance.

@bitprophet

Copy link
Copy Markdown
Member

Looking into this now, tried adding a test for it, and funny story, looks like the test suite doesn't actually prove any keys really work (in a real connect/authenticate manner) besides DSA. This took way too long to figure out 😠

@bitprophet
bitprophet merged commit ad33bb1 into paramiko:master Sep 6, 2014
bitprophet added a commit that referenced this pull request Sep 6, 2014
bitprophet added a commit that referenced this pull request Sep 6, 2014
stacywsmith added a commit to stacywsmith/ncclient that referenced this pull request Sep 23, 2016
These keys are supported in paramiko 1.15.0 and higher via ncclient#218
paramiko/paramiko#218
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants