~iany/ Menu
  • Series
  • Tags
  1. Home
  2. Tags
  3. Security

Security

A collection of 3 articles

GPG

Tips ⚡ Import key from key server gpg --auto-key-locate keyserver --locate-keys name@example.com # or gpg --search-keys name@example.com ⚡ Change key server Add in ~/.gnupg/gpg.conf keyserver hkps://keys.openpgp.org ⚡ Sign gpg -sab -o - --yes -u 0x.

Updated Jul 31, 2021  •  1 min read

Encryption Tools

Encryption ⚡ GPG ※ source Encrypt the file with passphrase gpg --symmetric --cipher-algo AES256 my_secret.json Decrypt the file gpg --quiet --batch --yes --decrypt --passphrase="$GPG_PASSPHRASE" --output my_secret.json my_secret.json.gpg ⚡ Age FiloSottile/age: A simple, modern and secure encryption tool with small explicit keys, no config options, and UNIX-style composability.

Updated Jul 06, 2020  •  1 min read

tarsnap

⚡ SSH Tunnel In the isolated host, edit hosts: 127.0.0.1 localhost v1-0-0-server.tarsnap.com In the connected host, ssh into isolated host with port forwarding: ssh -R 9279:v1-0-0-server.tarsnap.com:9279 isolated-host

Updated May 20, 2020  •  1 min read

© 2022  •  ~iany/  •  CC-BY-SA 4.0

浙ICP备17004784号-1