Eike Rathke wrote: > # HG changeset patch > # User Eike Rathke <er...@erack.de> > # Date 1421599842 -3600 > # Node ID ed00f80073ea372e995fc8d4611991a2e2e08672 > # Parent 5c6115fba7ac1efbe1f475b6e3bbe1898f3472bf > allow short and long key ID user input in any pgp_long_ids mode for crypt_* > > The following did not work, e.g. when leaving a key list, and at the "Sign as" > or "Encrypt to" prompt attempting to enter a key ID: > * set pgp_long_ids=no > * enter a long key ID, with or without leading 0x > * set pgp_long_ids=yes > * enter a short key ID without leading 0x > > Specifically entering a long key ID should always be possible as evil32.com > has shown. > > This also cleans up the logic used to determine the matching condition, which > was quite convoluted.. it even slightly speeds up the loop as less string > operations are involved in the inner condition. > > This only changes how the result obtained from the crypt_* gpgme interface is > filtered.
This patch also looks good. If there are no comments in a few days I will push this too. -Kevin
signature.asc
Description: PGP signature