Fwd: default user and recipient

Herb Burnswell herbert.burnswell at gmail.com
Fri Aug 29 22:05:24 CEST 2014

Sorry.  I found the default-recipient parameter in the ~/.gnupg/gpg.conf
file.  However, when I set:


I receive:

No such user ID.

I have not uploaded my newly created key information to a keyserver,  Is
that a requirement?



---------- Forwarded message ----------
From: Herb Burnswell <herbert.burnswell at gmail.com>
Date: Fri, Aug 29, 2014 at 12:50 PM
Subject: default user and recipient
To: gnupg-users at gnupg.org


I am new to pgp and would like to understand the minimum flags that I
should be using for my encryption/decryption needs.  I just want to encrypt
files for decryption by one other person.  We have exchanged public keys.

I have read in several places that I can run:

gpg -e filename

However I receive:

You did not specify a user ID. (you may use "-r")

Current recipients:

Enter the user ID.  End with an empty line:


1. Can I set default behavior to not have to specify a user ID?
2. What other flags should be used per best practices?

Any guidance is greatly appreciated,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140829/fd0b4972/attachment-0001.html>

More information about the Gnupg-users mailing list