#1455: unable to exit PGP key selection menu if key is not found or expired on send
Changes (by brendan): * component: mutt => crypto Old description: > {{{ > Package: mutt > Version: 1.4i > Severity: normal > > -- Please type your report below this line > > On sending a pgp encrypted message, when mutt cannot find the pgp key > in my public keyring, it prompts for the key ID of the key to use and/or > it brings up a menu of all pgp keys (if not found) and I have to select > one. If I then change my mind, there is no way to exit from this menu, > even though at the top of the screen it has "option q:exit" > > If a key does exist but has expired, mutt won't let me select it > and won't let me exit the menu. I just get stuck in the PGP menu until > I select somebody else's key or press ctrl-C to kill mutt. > > I've tried configurations with gpg and pgp and both do the same, > and I've also tried upgrading to 1.5.3i (2002-12-17). > > There should be a way to exit from this menu nicely if the whole > 'get the public key' routine fails for whatever reason. > > Thanks for a great mail client! > > RobL > > > -- Build environment information > > (Note: This is the build environment installed on the system > muttbug is run on. Information may or may not match the environment > used to build mutt.) > > - gcc version information > gcc > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs > gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) > > - CFLAGS > -Wall -pedantic -g -O2 > > -- Mutt Version Information > > Mutt 1.4i (2002-05-29) > Copyright (C) 1996-2001 Michael R. Elkins and others. > Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. > Mutt is free software, and you are welcome to redistribute it > under certain conditions; type `mutt -vv' for details. > > System: Linux 2.4.18 (i686) [using ncurses 5.2] > Compile options: > -DOMAIN > -DEBUG > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE > +USE_FCNTL -USE_FLOCK > +USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL > +HAVE_REGCOMP -USE_GNU_REGEX > +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET > +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM > +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT > +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET > +HAVE_LANGINFO_YESEXPR > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO > ISPELL="/usr/bin/ispell" > SENDMAIL="/usr/sbin/sendmail" > MAILPATH="/var/mail" > PKGDATADIR="/usr/share/mutt" > SYSCONFDIR="/usr/etc" > EXECSHELL="/bin/sh" > -MIXMASTER > To contact the developers, please mail to <mutt-dev@mutt.org>. > To report a bug, please use the flea(1) utility. > > > >How-To-Repeat: > > >Fix: > }}} New description: On sending a pgp encrypted message, when mutt cannot find the pgp key in my public keyring, it prompts for the key ID of the key to use and/or it brings up a menu of all pgp keys (if not found) and I have to select one. If I then change my mind, there is no way to exit from this menu, even though at the top of the screen it has "option q:exit" If a key does exist but has expired, mutt won't let me select it and won't let me exit the menu. I just get stuck in the PGP menu until I select somebody else's key or press ctrl-C to kill mutt. I've tried configurations with gpg and pgp and both do the same, and I've also tried upgrading to 1.5.3i (2002-12-17). There should be a way to exit from this menu nicely if the whole 'get the public key' routine fails for whatever reason. Thanks for a great mail client! RobL -- Ticket URL: <http://dev.mutt.org/trac/ticket/1455#comment:3>