"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...
"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...