CLICommands

vault

snug vault <COMMAND>

Time-Locked Attestation Vault: seal, reveal, witness, and lottery.

Subcommands

CommandWhat it does
sealSeal an attestation with a time-lock or multi-signature reveal policy
listList your own attestations
statusCheck an attestation's lock status and unlock progress
unlockAttempt to unlock an attestation
witnessAdd a witness attestation toward early unlock (signature is server-generated)
lottery-enterEnter the probabilistic early-reveal lottery
historyRetrieve the immutable audit history of an attestation

Run snug vault <command> --help for that command's own options. The global options apply everywhere.

Examples

snug vault seal --content-type signed_document --data "$(echo -n secret | base64)" --unlock-at 2030-01-01T00:00:00Z
snug vault seal --content-type report --data "$(echo -n secret | base64)" --lock-type multi_signature --required-signatures 2 --authorized-signers alice,bob
snug vault list --status locked
snug vault status --attestation-id vault_att_xyz
snug vault unlock --attestation-id vault_att_xyz --unlock-type time_expired --key-shares <holder_share>
snug vault unlock --attestation-id vault_att_xyz --unlock-type multi_signature --signature <sig> --key-shares <holder_share>
snug vault witness --attestation-id vault_att_xyz --reason "emergency disclosure"
snug vault lottery-enter --attestation-id vault_att_xyz --entry-count 10
snug vault history --attestation-id vault_att_xyz

Next

On this page