integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Testlib.Prekeys

Synopsis

Documentation

somePrekeys :: [String] Source #

FUTUREWORK: client ids are calculated from prekeys in brig, so we should have a more robust mechanism to pick them, to avoid id clashes as well as running out of list. just call cryptobox? (or fake it, find out where the id is encoded in the key payload, count that inside an MVar, and return the same key with different id every time?)