1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

upd changelog

add fix by noproto
This commit is contained in:
MX
2025-10-06 20:31:39 +03:00
parent d79539c75c
commit fe31d0cc12
2 changed files with 11 additions and 7 deletions

View File

@@ -13,6 +13,7 @@
* OFW: **JS views finished**
* OFW: BLE: improved pairing security
* OFW: FeliCa Emulation: Handle certain Polling commands in firmware
* OFW PR 4287: Fix Ultralight EV1 regression (by @noproto)
* OFW PR 4271: NFC: **Ultralight C NFC App Key Management, Dictionary Attack** (by @noproto)
* OFW PR 4265: NFC: **Fix read crash** with unexpectedly large MFC AUTH(0) response (by @WillyJL)
* OFW PR 4251: CLI: **Fix long delay** with quick connect/disconnect (by @WillyJL)

View File

@@ -151,13 +151,16 @@ static NfcCommand
if(!mf_ultralight_event->data->auth_context.skip_auth) {
mf_ultralight_event->data->auth_context.password = instance->mf_ul_auth->password;
// Only set tdes_key for Manual/Reader auth types, not for dictionary attacks
if(instance->mf_ul_auth->type == MfUltralightAuthTypeManual ||
instance->mf_ul_auth->type == MfUltralightAuthTypeReader) {
mf_ultralight_event->data->key_request_data.key = instance->mf_ul_auth->tdes_key;
mf_ultralight_event->data->key_request_data.key_provided = true;
} else {
mf_ultralight_event->data->key_request_data.key_provided = false;
if(data->type == MfUltralightTypeMfulC) {
// Only set tdes_key for Manual/Reader auth types, not for dictionary attacks
if(instance->mf_ul_auth->type == MfUltralightAuthTypeManual ||
instance->mf_ul_auth->type == MfUltralightAuthTypeReader) {
mf_ultralight_event->data->key_request_data.key =
instance->mf_ul_auth->tdes_key;
mf_ultralight_event->data->key_request_data.key_provided = true;
} else {
mf_ultralight_event->data->key_request_data.key_provided = false;
}
}
}
} else if(mf_ultralight_event->type == MfUltralightPollerEventTypeAuthSuccess) {