Pgp -encrypt report.txtExample -recepient public key -sig report.txtExample -signer "ur keyid" -passphrase Only keys that exactly match this user ID would be exported. If you don’t enter any input, all keys on the keyring are exported.īy default, keys are exported as ASCII armor (.asc) files into the directory currently active on the command line.Īll keys with the string “example” anywhere in them would be exported into separate. output lets you specify a different name for the exported file. – is the user ID, portion of the user ID, or the key ID of the key you want to export. The command -export exports only public keys, while the command -export-key-pair exports private keys. NOTE: You can locate your keyrings using the -version -v command.ģ. If your passphrase includes spaces, enclose it in quotation marks. is the number of bits of the key (usually 1024 - 4096). means you are creating either an RSA or a DH key. If your user ID contains spaces, you must enclose it in quotation marks. A common user ID is your name and email address in the format: "Alice Cameron ".
![gnupg mac for dummies gnupg mac for dummies](https://i.ytimg.com/vi/-gdIxohmJVY/maxresdefault.jpg)
is a user ID that people can use to locate your public key. Pgp -gen-key "Alice Cameron " -key-type rsa -encryption-bits 2048 -signing-bits 2048 -passphrase cam3r0n -expiration-date Pgp -gen-key -key-type -encryption-bits -passphrase The -gen-key command automatically creates your key pair and a public and a private keyring in the home directory, Use the -gen-key command to create a new key pair.
#Gnupg mac for dummies how to
How to Generate Keys on the PGP Command Line: See article: HOWTO42089 for more information.Ģ.