Verified Commit d8918d17 authored by
openpgp: Generalize the conversion functions to reduce duplication.
- Generalize the code for converting between the KeyParts marker traits on Key-like things. - Use it for generating the conversions for KeyAmalgamation, ValidKeyAmalgamation, PrimaryKeyAmalgamation, and ValidPrimaryKeyAmalgamation. - This also generates the .mark_parts_secret(), etc. methods, which were missing.
Showing with 92 additions and 160 deletions