Hacker News new | ask | show | jobs
by vitaluha 4450 days ago
"To encrypt a File:"

    gpg -o encrypted_file.gpg –encrypt -r original.file  
# they didn't put recipient after -r ?
1 comments

In this case it will just prompt you for for the recipient. This command is too verbose though. You can type:

gpg -e file

The output will be file.gpg. It will ask you for a recipient unless you have "default-recipient" or "default-recipient-selt" set in gpg.conf.