Changelog

link Icon changelog.com

GitHub exposes public ssh keys for its users

logged by @logbot 2013-02-11T23:12:06Z permalink

Thanks for sharing this Postmodern.

Today I learned from @postmodern_mod3 that GitHub exposes public ssh keys for its users. For example, if you wanted my public keys: https://github.com/adamstac.keys

So never again should you have to ask, "What's your public ssh key?" You can just curl -O https://github.com/<username>.keys their public keys from GitHub and move on.

Although, Rick's response to that tweet was to not use that method and to use their API to list public keys for a user instead.

Discuss the pros and cons of this on Hacker News.

0:00 / 0:00