mayfrost-guides

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fc7a4934562f48aa4ca7ceb9640a2ce51d8fa838
parent b68ca8bca08ff12afc2a5319f2260208140c1ad1
Author: mayfrost <mayfrost@cock.li>
Date:   Sat, 27 Oct 2018 13:22:56 -0300

Update PRIVACY.md
Diffstat:
MPRIVACY.md | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/PRIVACY.md b/PRIVACY.md @@ -37,3 +37,16 @@ Command line password manager, quite intuitive if you know the command line and `xx` * to search for an entry `find NAME_OR_PATTERN` + + +## GPG +File encryption. + +* generate keys for the first time, will ask for OPTIONAL information and let you decide encryption algorithm +`gpg --full-gen-key` +* encrypt file for a recipient RECIPIEND@SOMEWHERE.com +`gpg -r RECIPIEND@SOMEWHERE.com -e file.txt` +* don't forget to delete the original file and overwrite its former memory address +`shred -u file` +* decrypt file +`gpg -d file.gpg`