python: key import via HKP example
authorBen McGinnes <ben@adversary.org>
Mon, 10 Dec 2018 17:41:03 +0000 (04:41 +1100)
committerBen McGinnes <ben@adversary.org>
Mon, 10 Dec 2018 17:41:03 +0000 (04:41 +1100)
commitfe7e01d164b64ad5e7f65cb80e4bf13f06d8d3ef
tree64afaeac4c8d1127ff156c17be4a69de3ecaa547
parent7c63bfe4ab434b61a871aec4bc1d0a05b4c068e6
python: key import via HKP example

* Fixed the logic used to search for any given pattern.
* Added a sensible method of checking whether a pattern is a key ID or
  fingerprint.

Tested-by: Ben McGinnes <ben@adversary.org>
Signed-off-by: Ben McGinnes <ben@adversary.org>
lang/python/examples/howto/import-keys-hkp.py