minor fix, CHANGELOG update

This commit is contained in:
pwpiwi 2020-02-13 20:01:05 +01:00
parent ab1d75a294
commit 05820ee736
2 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac
- `hf mf chk t` save to emulator memory now works as expected (mwalker) - `hf mf chk t` save to emulator memory now works as expected (mwalker)
- Fix `hf mf sim` - wrong access rights to write key B in trailer (@McEloff) - Fix `hf mf sim` - wrong access rights to write key B in trailer (@McEloff)
- allow files > 512Bytes in 'hf iclass eload' (@Sherhannn79) - allow files > 512Bytes in 'hf iclass eload' (@Sherhannn79)
- `hf mf nested` now works with fixed nonce tags too (uzlonewolf, piwi)
### Added ### Added
- Added to `hf 14a apdu` print apdu and compose apdu (@merlokk) - Added to `hf 14a apdu` print apdu and compose apdu (@merlokk)

View file

@ -542,7 +542,7 @@ int mfnested(uint8_t blockNo, uint8_t keyType, uint16_t timeout14a, uint8_t *key
if (statelists[0].nt == statelists[1].nt && statelists[0].ks1 == statelists[1].ks1) { if (statelists[0].nt == statelists[1].nt && statelists[0].ks1 == statelists[1].ks1) {
num_unique_nonces = 1; num_unique_nonces = 1;
memcpy(&fixed_nt, resp.d.asBytes + 24, 4); memcpy(&fixed_nt, resp.d.asBytes + 24, 4);
PrintAndLog("Fixed nt detected: %08" PRIx32, fixed_nt); PrintAndLog("Fixed nt detected: %08" PRIx32 " on first authentication, %08" PRIx32 " on nested authentication", fixed_nt, statelists[0].nt);
} else { } else {
num_unique_nonces = 2; num_unique_nonces = 2;
} }