If you want to send me a secret like a password or some login details, follow these steps on an ubuntu machine:
echo "<your-secret-password>" > secretfile.txt
openssl rand -out secret.key 32
openssl aes-256-cbc -in secretfile.txt -out secretfile.txt.enc -pass file:secret.key
curl https://github.com/wipfli.keys > recipients-key.pub
openssl rsautl -encrypt -oaep -pubin -inkey <(ssh-keygen -e -f recipients-key.pub -m PKCS8) -in secret.key -out secret.key.enc
rm secret.key
Send me two files:
secretfile.txt.enc
secret.key.enc
openssl rsautl -decrypt -oaep -inkey ~/.ssh/import-thinkpad/github_oliver/github_oliver -in secret.key.enc -out secret.key
openssl aes-256-cbc -d -in secretfile.txt.enc -out secretfile.txt -pass file:secret.key