Problem with '-r' option in GnuPG 1.0.4e (CVS version)
Jose C. Garcia Sogo
jose at jaimedelamo.eu.org
Wed Feb 21 12:44:01 CET 2001
El 21 Feb 2001 12:34:38 +0100, Werner Koch escribió:
> On Tue, 20 Feb 2001, Jose C. Garcia Sogo wrote:
>
> > gpg -e -r 0x90788E11 file for encrypting a file for the keyID 9078E11.
> > But with this version I cannot do this, because gpg says he cannot found
>
> Run it using "--debug 64" it will probably show you that the key
> has expired. I rewrote the whole key selection stuff and yes, there
> are still bugs.
>
Here are two commands, one listing the secret key and another trying to
encrypt
[jose at hal9000:~]$ gpg --list-secret-keys 90788e11
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: ATENCI?N: ?se est? usando memoria insegura!
gpg: Oops; key lost!
node 0x80e8e48 00/00 type=public-key keyid=90788E11
node 0x80e8cc8 00/00 type=user-id "Jose Carlos Garcia Sogo
<jose at jaimedelamo.eu.org>node 0x80e9300 00/00 type=signature class=13
keyid=90788E11
node 0x80e8e00 00/00 type=user-id "Jose Carlos Garcia Sogo
<jsogo at arrakis.es>node 0x80e8d18 00/00 type=signature class=13
keyid=90788E11
node 0x80e8ce0 00/00 type=public-subkey keyid=AC9EAC51
node 0x80e9668 00/00 type=signature class=18 keyid=90788E11
gpg: Ohhhh jeeee: ... esto es un bug (getkey.c:2137:lookup)
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/16384
Abortado
[jose at hal9000:~]$ gpg --debug 64 -e -r 90788e11 esms
gpg: leyendo opciones desde `/home/jose/.gnupg/options'
gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
gpg: ATENCI?N: ?se est? usando memoria insegura!
gpg: DBG: finish_lookup: checking one key (req_usage=2)
gpg: DBG: usage does not match: want=2 have=1
gpg: DBG: no suitable key found - giving up
gpg: 90788e11: ignorado: Clave p?blica no encontrada
gpg: esms: encryption failed: Clave p?blica no encontrada
secmem usage: 1408/1408 bytes in 2/2 blocks of pool 1408/16384
"
"
More information about the Gnupg-devel
mailing list