Skip to main content

Module management

Module management 

Source
Expand description

Management contexts built from local entropy, time, and PIN-position input.

These helpers prepare host data; they do not perform device I/O.

Functionsยง

bitbox_restore_context
Creates BitBox02 mnemonic-restoration context with the current time and UTC offset.
bitbox_setup_context
Creates BitBox02 setup context with the current Unix time and local UTC offset.
keepkey_pin_context
Creates KeepKey PIN context from nonempty ASCII-digit keypad positions.
keepkey_restore_context
Creates KeepKey recovery context using the current Unix time as its U2F counter.
keepkey_setup_context
Creates KeepKey setup context with 32 bytes of OS-generated entropy.
trezor_pin_context
Creates Trezor PIN context from nonempty ASCII-digit keypad positions.
trezor_restore_context
Creates Trezor recovery context using the current Unix time as its U2F counter.
trezor_setup_context
Creates Trezor setup context with 32 bytes of OS-generated entropy.