Hacker News new | past | comments | ask | show | jobs | submit login

Age uses this feature of GitHub, as an example, in the documentation:

"Encrypting to a GitHub user

Combining SSH key support and -R, you can easily encrypt a file to the SSH keys listed on a GitHub profile.

$ curl https://github.com/benjojo.keys | age -R - example.jpg > example.jpg.age"

I also like distributing public keys via DNS TXT records and have written about that some here:

https://www.go350.com/posts/age-file-encryption/#age-pki-iss...




Thanks! I was already wondering if this would be possible. Signing data has its uses, but I more often have to transfer sensitive data to other GitHub users and this tool seems really useful for that!


That's encryption (recipient key), not signing (sender key). But yeah (r)age is pretty useful for that.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: