Skip to content

Autocrypt 2#8318

Draft
link2xt wants to merge 1 commit into
link2xt/pgp-subkey-selection-merging-minimizationfrom
link2xt/autocrypt2
Draft

Autocrypt 2#8318
link2xt wants to merge 1 commit into
link2xt/pgp-subkey-selection-merging-minimizationfrom
link2xt/autocrypt2

Conversation

@link2xt

@link2xt link2xt commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Based on #8344
Closes #8317

Closes #8224. For Autocrypt 2 keys we set creation timestamp of the primary key and fallback subkey to 0. These timestamps cannot be changed. Direct key signature we already recreate before deriving the public key, and fallback subkey signature we can also recreate each time. For rotating subkey there is no problem as it will be recreated each 10 days. Autocrypt 1 key generation is not changed, we will likely want to remove it eventually anyway once Autocrypt 2 key generation is enabled.

There is a reference Rust implementation in https://codeberg.org/autocrypt2/autocrypt-v2-cert/ as well, we want to keep it in sync but i'm not using it directly as we don't need deterministic key generation, have different error handling, need to set timestamps to 0, and there going to still be changes to the specification. It would be great to merge the codebases and turn this into a single implementation properly published as a crate.

@link2xt link2xt force-pushed the link2xt/autocrypt2 branch 2 times, most recently from f08a85f to 0a0f770 Compare June 17, 2026 17:22
@link2xt link2xt changed the base branch from main to link2xt/pgp-subkey-selection-merging-minimization June 17, 2026 17:30
@link2xt link2xt force-pushed the link2xt/pgp-subkey-selection-merging-minimization branch from a044f9b to 65bb643 Compare June 17, 2026 17:37
@link2xt link2xt force-pushed the link2xt/autocrypt2 branch from 0a0f770 to bb1cc58 Compare June 17, 2026 17:37
@link2xt link2xt force-pushed the link2xt/pgp-subkey-selection-merging-minimization branch from 65bb643 to d8d49cc Compare June 17, 2026 17:38
@link2xt link2xt force-pushed the link2xt/autocrypt2 branch from bb1cc58 to 1e1ff2d Compare June 17, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant