Set ACL for all registers.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2026-03-18 16:03:39 +01:00
parent bbbf28cb42
commit c14a12d9d1
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -71,7 +71,7 @@ int cmd_read_binary(void) {
}
if ((ef->fid >> 8) == PROT_DATA_PREFIX) {
ef->acl[ACL_OP_READ_SEARCH] = 0x90; //force PIN for protected data objects
memset(ef->acl, 0x90, sizeof(ef->acl)); //force PIN for protected data objects
}
if ((ef->fid >> 8) == KEY_PREFIX || !authenticate_action(ef, ACL_OP_READ_SEARCH)) {