diff options
author | Chris Aumann <me@chr4.org> | 2014-05-01 19:33:21 +0200 |
---|---|---|
committer | Chris Aumann <me@chr4.org> | 2014-05-01 19:34:56 +0200 |
commit | 16398e414cdcf59939c31357c136a188fd10ecab (patch) | |
tree | 88466826ab590f9a98d96659fedd1e0fe591ae43 | |
parent | dc6704d050550c3fe63f8410e194781c47fabea2 (diff) | |
download | net-ssh-16398e414cdcf59939c31357c136a188fd10ecab.tar.gz |
Add support for ssh-ed25519 to lib/net/ssh/buffer.rb
-rw-r--r-- | lib/net/ssh/buffer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/buffer.rb b/lib/net/ssh/buffer.rb index c17da78..1ee8a0a 100644 --- a/lib/net/ssh/buffer.rb +++ b/lib/net/ssh/buffer.rb @@ -255,7 +255,7 @@ module Net; module SSH key.e = read_bignum key.n = read_bignum - when /^ecdsa\-sha2\-(\w*)$/ + when /^ecdsa\-sha2\-(\w*)$/, /^ssh-ed25519(-cert-v01@openssh.com)?$/ unless defined?(OpenSSL::PKey::EC) raise NotImplementedError, "unsupported key type `#{type}'" else |