mutts having problems finding keys

Jason L. Buberel jason@buberel.org
Mon May 26 02:37:02 2003


--Boundary-02=_QIW0++b1hCE0bpf
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

=46or what it is worth, here is the strace output generated by mutts when i=
t=20
fails to find a matching key. At the top of the trace, you see the prompt=20
being displayed, and me typing in 'abc' and pressing return. No matter what=
 I=20
type in on that prompt, no matching key is ever found, and the prompt is=20
displayed again.

=2Djason


write(1, "\rEnter keyID for jason@buberel.o"..., 39) =3D 39
read(0, "a", 1)                         =3D 1
write(1, "a", 1)                        =3D 1
read(0, "b", 1)                         =3D 1
write(1, "b", 1)                        =3D 1
read(0, "c", 1)                         =3D 1
write(1, "c", 1)                        =3D 1
read(0, "\r", 1)                        =3D 1
write(1, "\r\33[37m\33[44mLooking for keys matc"..., 60) =3D 60
pipe([3, 4])                            =3D 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         =3D 0
pipe([5, 6])                            =3D 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         =3D 0
fork()                                  =3D 17391
=2D-- SIGCHLD (Child exited) ---
sigreturn()                             =3D ? (mask now [])
wait4(17391, [WIFEXITED(s) && WEXITSTATUS(s) =3D=3D 0], 0, NULL) =3D 17391
close(4)                                =3D 0
close(6)                                =3D 0
select(6, [3 5], [], NULL, {1, 0})      =3D 1 (in [5], left {0, 990000})
read(5, "/home/jason/.gnupg/pubring.gpg\n-"..., 1024) =3D 1024
select(6, [3 5], [], NULL, {1, 0})      =3D 1 (in [5], left {1, 0})
read(5, ":-:::escESC:\nfpr:::::::::9C3C5A8"..., 983) =3D 898
select(6, [3 5], [], NULL, {1, 0})      =3D 2 (in [3 5], left {1, 0})
read(3, "", 1024)                       =3D 0
close(3)                                =3D 0
read(5, "", 1024)                       =3D 0
close(5)                                =3D 0
write(1, "\7", 1)                       =3D 1
write(1, "\r\33[31m\33[47mgpgme_op_keylist_star"..., 68) =3D 68
write(1, "\7", 1)                       =3D 1
write(1, "\rEnter keyID for jason@buberel.o"..., 39) =3D 39



On Sunday 25 May 2003 03:26 pm, Jason L. Buberel wrote:
> I just completed the installation of the aegypten-related tools and libs =
on
> a debian woody (3.0) system. Everything was installed into
> /usr/local/aegypten. mutts was built and installed into /usr/local/.
>
> The gpg-agent is configured and running:
> > ps aux | grep gpg-agent
>
> jason    17165  0.0  0.0  1984  664 ?        S    14:32   0:00
> /usr/local/aegypten/bin/gpg-agent --daemon
>
> I can successfully list all keys with the gpg command taken from my
> existing
>
> (and fully working) .muttrc.gpg file when gpg-agent is running:
> >  gpg --no-verbose --quiet --batch --with-colons --list-keys
>
> /home/jason/.gnupg/pubring.gpg
> ------------------------------
> pub:u:1024:17:716CA3DC1E700D29:2003-02-20:::u:Jason Buberel
> <jason@buberel.org>::scESC:
> sub:u:4096:16:5A83E8832E5D0E46:2003-02-20::::::e:
> pub:f:1024:17:6BCFC2B41BAB1BC3:2003-02-20:::-:Young Rhee
> <young@buberel.org>::scESC:
> sub:f:4096:16:3AC743654D8F5E72:2003-02-20::::::e:
>
> I completed the configuration changes for the ~/.gnupg/gpg-agent.conf and
> gpg.conf (use-agent) files. On the other two Gentoo linux machines where I
> have installed aegytpen for use with kmail, everything is working correct=
ly
> and is configured identically as far as I can tell.
>
> My first test of the installation was to send a signed and encrypted
> message to myself. I started 'mutts', addressed a message to
> 'jason@buberel.org'. On the mutts send page, I pressed 'p' for pgp, then
> selected 'b' to both sign+encrypt.
>
> I then pressed 'y' to send the message, and I was asked at the bottom of
> the screen:
>
> Enter keyID for jason@buberel.org:
>
> I first tried to enter my traditional public gpg key Id 0x1E700D29. I
> pressed enter, and the following message was briefly displayed:
>
> Looking for keys matching ""
>
> I was then asked to enter the keyId for jason@buberel.org. I was never ab=
le
> to specify the keyId in a form that was acceptable to mutts. (I tried to
> use the full keyId from the --list-keys output above, 716CA3DC1E700D29, a=
nd
> that didn't work either).
>
> Are there mutt configuration variables specific to mutts that are required
> in order for key lookups to work correctly?
>
> Any pointers appreciated. I will write-up a HOWTO once I get everything
> working.
>
> Thanks,
> jason

--Boundary-02=_QIW0++b1hCE0bpf
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+0WIQcWyj3B5wDSkRAldaAJ4tnYDD2U+fS5krhkSqgQncYjpiOwCfR81v
eGG6Ybiv4TPKOw7jhRtVjkw=
=Bo1B
-----END PGP SIGNATURE-----

--Boundary-02=_QIW0++b1hCE0bpf--