Added Encryption with age

Caffeine Fueled 2025-10-26 09:58:54 +00:00
parent 9568d6795e
commit d6b0403e2a

@ -48,3 +48,23 @@ gpg: AES256.CFB encrypted data
gpg: encrypted with 1 passphrase gpg: encrypted with 1 passphrase
Cheers Cheers
``` ```
---
## Encryption with age and SSH key pair
**Upload**
String:
: `echo "Cheers" | age -R ~/.ssh/id_ssh.pub | base64 | curl -X POST --data-binary @- https://linedump.com`
File:
: `age -R ~/.ssh/id_ssh.pub -o - file.txt | base64 | curl -X POST --data-binary @- https://linedump.com`
Command:
: `ip -br a | age -R ~/.ssh/id_ssh.pub | base64 | curl -X POST --data-binary @- https://linedump.com`
**Download**
Save to file:
: `curl -s https://linedump.com/{paste_id} | base64 -d | age -d -i ~/.ssh/id_ssh > output3.txt`