Encrypt for an SSH key

Use your existing SSH key as the age recipient and identity: one less key to lose.

age -R ~/.ssh/id_ed25519.pub -o out.age file && age -d -i ~/.ssh/id_ed25519 out.age

tool
age1 command
tags
agesecretssecuritytls