pub struct DeviceRegistration {
pub signer_pubkey: [u8; 32],
pub wallet_name: String,
pub hmac: Option<Zeroizing<Vec<u8>>>,
pub registered_at: u64,
pub device_kind: Option<String>,
pub fingerprint: Option<[u8; 4]>,
pub firmware_version: Option<String>,
}Expand description
Record of a hardware signer that has registered this wallet via NIP-46.
Fields§
§signer_pubkey: [u8; 32]The NIP-46 signer pubkey (x-only, 32 bytes).
wallet_name: StringThe wallet name sent to the device at registration time.
hmac: Option<Zeroizing<Vec<u8>>>Opaque registration token returned by the device, if any.
This value is not cryptographically verified by keep-core; it is
an arbitrary byte string the device returned at registration time and
must not be treated as an authenticator unless a verification protocol
is added. The inner Vec<u8> is wrapped in Zeroizing so in-memory
copies are wiped on drop even when the enclosing descriptor is cloned.
registered_at: u64Unix timestamp of the successful registration.
device_kind: Option<String>Device kind reported by the signer (e.g. “Coldcard”, “Ledger”), if any.
fingerprint: Option<[u8; 4]>BIP32 master key fingerprint reported by the signer, if any.
firmware_version: Option<String>Firmware version string reported by the signer, if any.