Adam Stacoviak changelog.com/posts

GitHub exposes public ssh keys for its users

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.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00