Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when my ssh keyring contains an ed25519 key #186

Closed
thommay opened this issue May 29, 2018 · 1 comment
Closed

Exception when my ssh keyring contains an ed25519 key #186

thommay opened this issue May 29, 2018 · 1 comment

Comments

@thommay
Copy link

thommay commented May 29, 2018

Description

When my ssh agent contains an ed25519 key, trying to connect to a host results in an exception being raise.

Chef Workstation Version

14:05 ~/work/chef % chef-run -v 
chef-run: 0.1.124

Platform Version

macOS 10.13

Replication Case

14:04 ~/work/chef % ssh-add -l
2048 SHA256:xxxxxx /Users/thom/.ssh/id_rsa (RSA)
256 SHA256:xxxx thom@UNKNOWN (ED25519)
chef-run ec2-xxx.eu-west-1.compute.amazonaws.com --user ubuntu apt_update foo action=run

Client Output

[-] [ec2-xxx.eu-west-1.compute.amazonaws.com] Connecting...
INTERNAL ERROR
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Message:
unsupported key type `ssh-ed25519'
net-ssh requires the following gems for ed25519 support:
 * rbnacl (>= 3.2, < 5.0)
 * rbnacl-libsodium, if your system doesn't have libsodium installed.
 * bcrypt_pbkdf (>= 1.0, < 2.0)
See https://github.com/net-ssh/net-ssh/issues/478 for more information
Gem::MissingSpecError : "Could not find 'rbnacl' (< 5.0, >= 3.2.0) among 324 total gem(s)
@cheeseplus
Copy link

Closing as dupe of #231 - this issue is older but #231 is more generically "we should support these".

This issue was closed.
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

No branches or pull requests

2 participants