1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 14:08:11 +00:00

chore(core/prodtest): enable Optiga locking

This commit is contained in:
matejcik 2023-08-28 17:25:10 +02:00 committed by matejcik
parent f40feec4f9
commit 04ea95777b

View File

@ -36,8 +36,7 @@
static uint8_t tx_buffer[OPTIGA_MAX_APDU_SIZE] = {0};
static size_t tx_size = 0;
// TODO change to operational \x07
const optiga_metadata_item OPTIGA_LCS_OPERATIONAL = {(const uint8_t *)"\x01",
const optiga_metadata_item OPTIGA_LCS_OPERATIONAL = {(const uint8_t *)"\x07",
1};
const optiga_metadata_item OPTIGA_ACCESS_ALWAYS = {
(const uint8_t[]){OPTIGA_ACCESS_COND_ALW}, 1};