Skip to content

DeriveGroupKeyOptions

Defined in: types.ts:29

optional commitment?: string

Defined in: types.ts:34

The commitment an existing group key’s dataset records under COMMITMENT_KEY (foc/kc). Used to verify RFC 6979 behavior without a second signature.


optional password?: string

Defined in: types.ts:52

An optional password mixed into the group key (via Argon2id), so that a phished signature alone does not reveal it. Without one, the key comes from the signature alone. With one, the same password is needed every time: a wrong one fails against commitment, and a forgotten one loses the group key for good.


optional verifySigner?: boolean

Defined in: types.ts:44

@verifySigner@ Whether to sign twice to confirm deterministic derivation (ie RFC 6979). Defaults to true, or to false when commitment is given.

DANGER! Only set to false without a commitment if you are certain that the signer is deterministic, otherwise you may end up with encryption keys that are not recoverable by the owner.