Skip to content

SysAdminDocs/gpg-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

gpg-docs

General

Import Local GPG Public Key

$ gpg --import ~/keys/pub/tom.asc

Editing Trust Levels

You can change the trust level of a private/public key very easily using the following.

$ gpg --edit-key <Key_ID> trust

At the prompt select a number between 1...5 depending on your level of trust of the key.

Encryption

Decryption

Automate/Batch Decrypt File

GPG should automatically find the correct secret key, however one can be defined if required.

$ gpg --batch --yes --passphrase "SecretSquirrel" -o ~/outputs/encryptedFile.txt -d ~/encrypted/encryptedFile.txt.gpg

Releases

No releases published

Packages

No packages published