rnp
rnp copied to clipboard
Refactor keyid/fingerprint calculation.
Description
- do not do double fingerprint calculation in
pgp_key_t::pgp_key_t(const pgp_key_pkt_t &keypkt) : pkt_(keypkt)
- make these methods of pgp_key_pkt_t instead of separate functions.
This should be done only after v5/v6 changes are landed to avoid problems during the rebase.