Closed ni4 closed 11 months ago
...this is also apply to the method pgp_signature_t::keyid()
That's correct, we missed that. pgp_keyid()
in fingerprint.cpp
seems to do the same calculation. Changing those two places should be enough, right?
@TJ-91 Yeah, I think so. I already implemented this in v5 draft PR here: https://github.com/rnpgp/rnp/pull/2111 , so you may take a look there.
This should be correctly implemented now. I aligned this to your code and should be easy to merge
@TJ-91 Can we close this now?
yes
Description
As of section 5.5.4.3 from crypto-refresh draft, "The Key ID is the high-order 64 bits of the fingerprint.", while code in tb-pqc uses v4 approach (low-order bits).