Custody topic

Custody

Key stores that sign without exposing secrets, portable accounts sealed to a passphrase or recipient, and threshold accounts with ceremonies and shares.

Classes

Ceremony
A two round threshold signing ceremony over one message and roster.
KeyStore
A custodial store that seals signing secrets at rest. Create one with AviaryNodes.createKeyStore or AviaryNodes.loadKeyStore.
PortableAccount
Key material as returned by the portable account open methods, or a hybrid KEM device key pair from AviaryPortableSeal.hybridKemKeypair.
ThresholdShare
One participant's share of a threshold account. Persist bytes sealed.

Extensions

AviaryAsync on Aviary
The Argon2 bound custody operations on a worker isolate, so the calling isolate stays responsive. The worker loads the engine the way this instance was loaded: the same explicit path, or the platform default.
AviaryPortableOpen on Aviary
Portable account import: opening a sealed account.
AviaryPortableSeal on Aviary
Portable account export: sealing an account for transport.
AviaryThreshold on Aviary
Threshold accounts: any t of n share holders can sign.
KeyStoreSigning on KeyStore
Signing and inventory on a key store. The sealed secret is used inside the engine and wiped; it never reaches Dart.
ThresholdSigning on Aviary
A whole threshold signing ceremony run in one process.

Typedefs

ThresholdCommit = ({Uint8List commitment, Uint8List nonces})
Round one of a threshold signature: keep nonces, share commitment.