GPG入门教程 - 阮一峰的网络日志

Create a new GPG key-pair. The bold items mentioned in this example are inputs from user. # gpg - … The GNU Privacy Guard GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP).GnuPG allows you to encrypt and sign your data and communications; it features a versatile key management system, along with access modules for all kinds of public key directories. GPG Cheat Sheet - NASA Infrared Telescope Facility

Jul 02, 2015 · Use GPG with the cipher AES256, without the --armour option, and with compression to encrypt your files during inter-host transfers. GPG. Encryption helps protect your files during inter-host file transfers (for example, when using the scp, bbftp, or ftp commands).

Oct 29, 2018 · gpg --import ./my-priv-gpg-key.asc # You can also directly import a key from a server # For example, import the DevDungeon/NanoDano public GPG key from MIT gpg --keyserver pgp.mit.edu --recv C104CDF0EDA54C82 Push your public key to key server. You may want or need to publish your public key somewhere where everyone can find it. gpg -se -r Bob file sign and encrypt for user Bob gpg --clearsign file make a clear text signature gpg -sb file make a detached signature gpg --list-keys user_ID show keys gpg --fingerprint user_ID show fingerprint gpg --verify pgpfile, gpg --verify sigfile [ files] Verify the signature of the file but do not output the data. To force import, you will have to delete both the private and public key first (gpg --delete-keys and gpg --delete-secret-keys) Enigmail / GnuPG v2. Note that you probably also have gpg2 on your system which is backwards-compatible with gpg, but seems to manage a separate list of keys. When using Thunderbird with Enigmail, note that it uses

The GNU Privacy Guard

Oct 09, 2011 · "gpg --dearmor the-asc-file.asc" will convert from .asc to .gpg To go from .gpg to .asc is a little trickier since it doesn't know what sort of message it is (that is, it could be a public key, an encrypted or signed message, a detached signature, etc). Example: gpg --import pub.asc Note: If the public key is successfully imported, the name of the key (a user ID ( uid as provided in the Welcome email) displays. In this example, tsdemo1 is the name of the key .