Files
signal-cli/lib
Ryan SandClaude d6ee1a8d55 Reject reused base keys for last resort Kyber pre-keys (#2176)
markKyberPreKeyUsed only deleted one-time Kyber pre-keys. For a last
resort key libsignal expects the store to record the
(kyberPreKeyId, signedPreKeyId, baseKey) tuple and to throw
ReusedBaseKeyException when the same tuple is used again.

Record the tuples in a new kyber_pre_key_used table (database version
33). They are removed together with their Kyber pre-key through a
cascading delete.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 12:02:19 +01:00
..