Skip to content

Handle ssh-rsa and ssh-dss certificate files - #142

Merged
delano merged 1 commit into
net-ssh:masterfrom
bobveznat:master
Jan 23, 2014
Merged

Handle ssh-rsa and ssh-dss certificate files#142
delano merged 1 commit into
net-ssh:masterfrom
bobveznat:master

Conversation

@bobveznat

Copy link
Copy Markdown

This does not implement certificate based authentication (described here
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD)
but instead makes it so that if the certificate is not needed for
authentication net-ssh doesn't cause the entire application to die.

The net-ssh test suite continues to pass. On my own machine I did tests
with certificates loaded and verified that although authentication could
not proceed to a host requiring a certificate it at least did not die.

I also verified that I can continue to use normal rsa and dsa keys to
ssh to hosts that do not require certificates even when the certificates
are loaded into my ssh-agent instance.

This is a potential solution to issue #124 and an alternative to the one
presented in pull request #134.

This does not implement certificate based authentication (described here
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/PROTOCOL.certkeys?rev=HEAD)
but instead makes it so that if the certificate is not needed for
authentication net-ssh doesn't cause the entire application to die.

The net-ssh test suite continues to pass. On my own machine I did tests
with certificates loaded and verified that although authentication could
not proceed to a host requiring a certificate it at least did not die.

I also verified that I can continue to use normal rsa and dsa keys to
ssh to hosts that do not require certificates even when the certificates
are loaded into my ssh-agent instance.

This is a potential solution to issue net-ssh#124 and an alternative to the one
presented in pull request net-ssh#134.
@delano

delano commented Jan 23, 2014

Copy link
Copy Markdown
Collaborator

Looks good, all tests pass. Thanks.

delano added a commit that referenced this pull request Jan 23, 2014
Handle ssh-rsa and ssh-dss certificate files
@delano
delano merged commit f93a6b7 into net-ssh:master Jan 23, 2014
@bobveznat

Copy link
Copy Markdown
Author

@delano, thanks for accepting this pull request. Are there plans to tag a new release soon? Mitchell from Vagrant has agreed to do a new release of Vagrant once this patch is into a release of net-ssh.

@markpeek

Copy link
Copy Markdown

+1 for a new tagged release to get this into Vagrant

@delano

delano commented Jan 31, 2014

Copy link
Copy Markdown
Collaborator

I'll push a release this weekend.

@v6

v6 commented Apr 13, 2016

Copy link
Copy Markdown

// , Someone needs to update the notes for https://pypi.python.org/pypi/ssh-ca/0.3.2.

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