// SPDX-License-Identifier: Apache-2.0
syntax = "proto3";
package shiftcrypto.bitbox02;
message CheckSDCardRequest {
}
message CheckSDCardResponse {
bool inserted = 1;
}
message DeviceInfoRequest {
}
message DeviceInfoResponse {
message Bluetooth {
// Hash of the currently active Bluetooth firmware on the device.
bytes firmware_hash = 1;
// Firmware version, formated as an unsigned integer "1", "2", etc.
string firmware_version = 2;
// True if Bluetooth is enabled
bool enabled = 3;
}
string name = 1;
bool initialized = 2;
string version = 3;
bool mnemonic_passphrase_enabled = 4;
uint32 monotonic_increments_remaining = 5;
// From v9.6.0: "ATECC608A" or "ATECC608B" or "OPTIGA_TRUST_M_V3".
string securechip_model = 6;
// Only present in Bluetooth-enabled devices.
optional Bluetooth bluetooth = 7;
// From v9.25.0. This together with `securechip_model` determines the password stretching
// algorithm.
string password_stretching_algo = 8;
}
message InsertRemoveSDCardRequest {
enum SDCardAction {
REMOVE_CARD = 0;
INSERT_CARD = 1;
}
SDCardAction action = 1;
}
message ResetRequest {}
message SetDeviceLanguageRequest {
string language = 1;
}
message SetDeviceNameRequest {
string name = 1;
}
message SetPasswordRequest {
bytes entropy = 1;
}
message ChangePasswordRequest{
}