OptionalaccountOptional Nostr-account signer. When provided, the generated key package
carries a marmot.account-identity-proof.v1 LeafNode extension binding the
credential's Nostr account to the leaf signature key — required for wire
interop with darkmatter, which validates this proof on every leaf.
OptionalcapabilitiesOptionalextensionsOptionalisWhether to mark this KeyPackage as reusable using the MLS last_resort extension.
true: include the last_resort KeyPackage extension (reusable; helps with race windows)false: omit the extension (single-use; private init_key is expected to be consumed)Default: true for backwards compatibility with existing marmot-ts behavior.
Optionallifetime
Options for generating a marmot key package