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

[WIP] Travis Mac SSH key issues #3954

Merged
merged 2 commits into from Oct 5, 2016
Merged

[WIP] Travis Mac SSH key issues #3954

merged 2 commits into from Oct 5, 2016

Conversation

carlosmn
Copy link
Member

@carlosmn carlosmn commented Oct 5, 2016

We're failing this check and I'm trying to figure out why. It might just be that the format from ssh-keygen changed so we need to account for that in our tests.

This lets us see the details of what we're doing instead of just seeing the
output of unknown commands in the build output.
@carlosmn
Copy link
Member Author

carlosmn commented Oct 5, 2016

It looks like the newer ssh or ssh-keygen now lists the SHA256, base64-encoded by default. Unfortunately libssh2 only supports MD5 and SHA1 for the fingerprint so that's what we're going to have to ask for on Mac, until the ssh version on Ubuntu caches up.

The Mac machines have updated their SSH version and so the ssh-keygen
format has changed. Ask it for MD5, which is the one that is output as
hex.
Copy link
Member

@arthurschreiber arthurschreiber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍🏻

@carlosmn carlosmn merged commit e8ab13b into master Oct 5, 2016
@carlosmn carlosmn deleted the cmn/osx-ssh-key branch October 5, 2016 21:46
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.

None yet

2 participants