Skip to content

Basic Replacement Key subpacket support#311

Draft
andrewgdotcom wants to merge 7 commits into
ProtonMail:mainfrom
pgpkeys-eu:feature/replacementkey
Draft

Basic Replacement Key subpacket support#311
andrewgdotcom wants to merge 7 commits into
ProtonMail:mainfrom
pgpkeys-eu:feature/replacementkey

Conversation

@andrewgdotcom
Copy link
Copy Markdown
Contributor

@andrewgdotcom andrewgdotcom commented May 16, 2026

  • Defined a new type TargetRecord
    • Creation of TargetRecords from target key material
    • Factorised out PublicKey.Imprint()
    • Equality testing
  • A caller can add a ReplacementKey or DeprecatedKeys field to a Signature object
  • SerDe is implemented
  • Uniqueness of the Replacement Key subpacket is enforced

No higher-level logic is implemented

@andrewgdotcom andrewgdotcom marked this pull request as draft May 19, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant