Skip to content

Add ECDSA support to paramiko #88

Closed

Description

@sunweaver

From a mail exchange between bitprophet and me:

Me:

ECDSA is latest SSH key hype in Ubuntu (since 12.04 the default key hashing
algorithm). It is a safer algorithm that allows one to have less bit-length
in keys.

The upstream python module is on Github, actually:
https://github.com/warner/python-ecdsa

bitprophet:

Cool, thanks. If there isn't already an open issue on Github for this,
could you please make one and put that info in it? :)

The other algorithms don't require third party modules, so this is a
new thing we'll have to consider, e.g. whether to make it a hard
dependency, or an optional one, or (if the code is small enough and
the license allows) to vendorize part of python-ecdsa inside Paramiko.
Pluses and minuses to all those approaches.

I am very interested in ECDSA support to appear in Paramiko, so I may start working on this some time in the next weeks.

Mike

Activity

  1. bitprophet commented on Oct 15, 2012

    @bitprophet
    Member

    Strongly related to #67.

  2. jacobsvante commented on Feb 12, 2013

    @jacobsvante

    Has anyone looked at this?

  3. glasserc commented on Mar 23, 2013

    @glasserc
    Contributor

    I'd also like to see this!

  4. ctheune commented on Apr 18, 2013

    @ctheune

    Hmm. I'm seeing ECDSA being picked up elsewhere, too. Would love if we could make progress here. Anything I can help with?

  5. bitprophet commented on Apr 28, 2013

    @bitprophet
    Member

    Rolling this sucker into #152 as that has actual work we can base off off.

  6. mpdehaan commented on Jul 10, 2013

    @mpdehaan

    As noted on #67 I am seeing paramiko failing to save ECDSA keys according to open user report on OpenBSD.

    I'm doing the following:

          self.ssh.load_system_host_keys()
          self.ssh._host_keys.update(self.ssh._system_host_keys)
          self._save_ssh_host_keys(self.keyfile)
    

    (self.ssh is the paramiko object)

    The above update is done to make sure the new host keys appear at the bottom of the file, like SSH, not the top.

    Is anyone able to verify ECDSA keys get saved successfully or maybe should there be a new ticket?

    Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions