GPG

GPG common commands



using GPG key from external device

On Mac OS with FAT32 devices 1

echo '%Assuan%\nsocket=${HOME}/.gnupg/S.dirmngr' > S.dirmngr
echo '%Assuan%\nsocket=${HOME}/.gnupg/S.gpg-agent.ssh' > S.gpg-agent.ssh
echo '%Assuan%\nsocket=${HOME}/.gnupg/S.gpg-agent.extra' > S.gpg-agent.extra
echo '%Assuan%\nsocket=${HOME}/.gnupg/S.gpg-agent.browser' > S.gpg-agent.browser
echo '%Assuan%\nsocket=${HOME}/.gnupg/S.gpg-agent' > S.gpg-agent

Disable Password Caching 2

default-cache-ttl 1
max-cache-ttl 1

GPG best practices

  1. implementation of the Riseup OpenPGP Best Practices
  2. OpenPGP Best Practices - riseup.net
  3. pgp
  4. attila-lendvai/gpg-keygen: Generate PGP keys with GnuPG, following best practices

Additional Links

  1. pgp - What is an OpenPGP Key ID collision? - Information Security Stack Exchange
  2. cryptography - When changing a PGP passphrase, does it only affect the private key? - Information Security Stack Exchange

References:

  1. encryption - GnuPG decryption not asking for passphrase - Information Security Stack Exchange
  2. homedir

  1. GPG on the flash drive (Windows FAT 32) ยท GitHub ↩︎

  2. encryption - GnuPG decryption not asking for passphrase - Information Security Stack Exchange ↩︎