-
Notifications
You must be signed in to change notification settings - Fork 0
GPG
Matt edited this page Nov 2, 2022
·
1 revision
Usually run in cmd:
gpg -a --export-secret-keys [keyId]
online base64 encoder (want to avoid this for security reasons, so see next methods)
cat <<EOF | base64 -w 0Paste in the ascii-armored key, pressing enter to submit its last line as necessary.
EOFFinally, type EOF by itself to end the here-doc.
Want to avoid this because it logs to .bash_history; see next method
- Paste in the ascii-armored key, making sure to include an empty line at the end of the text body before selecting all.
- Use the vscode-base64
Base64 Encodefunction viaCtrl+Shift+P->Base64 Encodeor via the sequenceCtrl+E Ctrl+E.