util/keypair.ts generateKeyPair() carries a // TODO Figure out what we want to export and returns a kitchen-sink object of 8 fields (CryptoKey pair + exported ArrayBuffers + base64 strings + fingerprint). For a versioned, consumed library this is an unstable public API.
Task: decide the minimal stable return shape and trim. This is breaking for consumers (management-app, trusted-output-app import generateKeyPair from si-encryption/util/keypair) — coordinate and batch with the next major bump.
Surfaced during a tech-debt audit.
util/keypair.tsgenerateKeyPair()carries a// TODO Figure out what we want to exportand returns a kitchen-sink object of 8 fields (CryptoKey pair + exported ArrayBuffers + base64 strings + fingerprint). For a versioned, consumed library this is an unstable public API.Task: decide the minimal stable return shape and trim. This is breaking for consumers (management-app, trusted-output-app import
generateKeyPairfromsi-encryption/util/keypair) — coordinate and batch with the next major bump.Surfaced during a tech-debt audit.