Update PRIVACY.md

This commit is contained in:
mayfrost 2018-10-27 13:22:56 -03:00 committed by GitHub
parent b68ca8bca0
commit fc7a493456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`