I'm resending this series back out as a new thread to make sure
everyone has a chance to see the patches.
(The first iteration of these patches were sent out by Eike in
<20150211205734.ga25...@kulungile.erack.de>.)

These patches allow fingerprints to be entered for the pgp_getkeybystr
and crypt_getkeybystr functions.

The first patch changes the existing fingerprint field in pgp_key_t to a
char * type.  It was previously only used by the pgptool and was holding
the binary fingerprint.  The patch modifies pgptool to instead store the
string version inside pgp_key_t.

The second patch changes pgp_get_candidates() to parse fpr records and
store the fingerprint in pgp_key_t.fingerprint.  It also modifies
contrib/gpg.rc to include the '--with-fingerprint --with-fingerprint'
arguments.

The last patch, by Eike, parses user input to detect fingerprints, long
key-ids, or short key-ids, and matches against those when searching.
Fingerprint input of the form generated by gpg (with spaces), e.g.:
  E3E6 7A5F 73BD F2CF 0B70  6C34 B6B1 CD96 1369 9FB8
is also recognized.  Thank you Eike for the nice patches!

-Kevin

Attachment: signature.asc
Description: PGP signature

Reply via email to