Misleading example code in `context.rs`?
vext01 opened this issue · comments
Edd Barrett commented
The doc comment for find_key
says:
/// Returns the public key with the specified fingerprint, if such a key can
/// be found. Otherwise, an error is returned.
The there are a couple of places which suggest that find_key
accepts a pattern, not a finger print, e.g.:
So does find_key
take a fingerprint or a pattern?
Thanks
Edd Barrett commented
I think this is related to the new get_key
which really does accept a fingerprint, and not a pattern.