Problems with v3 keys?
David Shaw
dshaw at jabberwocky.com
Tue Feb 26 06:13:02 CET 2002
On Mon, Feb 25, 2002 at 06:40:49PM -0800, Len Sassaman wrote:
> When I try to encrypt to a certain key (I'd redacted its key ID and
> replaced it with 0x0000010 in the example below), I get the following
> error message:
>
> rabbi at thetis:/usr/home/rabbi$ gpg -vv -r 0x00000010 -e foo.txt
> gpg: loaded digest 2
> gpg: /usr/local/lib/gnupg/idea: IDEA ($Revision: 1.9 $)
> gpg: loaded digest 1
> gpg: 0x00000010: skipped: unusable public key
> gpg: foo.txt: encryption failed: unusable public key
>
> I really don't want to provide the particular key for privacy reasons, but
> I know that makes debugging hard. Any idea what would trigger this error?
[..]
> And yes, I have allow-non-selfsigned-uid in my options file.
The problem is the non-selfsigned uid. The allow-non-selfsigned-uid
option allows you to import the key (which lets you use it to verify
signatures, etc). It doesn't allow you to encrypt to it.
David
--
David Shaw | dshaw at jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson
More information about the Gnupg-devel
mailing list