mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
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>