Skip to content

Finalize generateKeyPair() return shape #28

Description

@chrisbendel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions