mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-30 21:48:37 +00:00
NORTIC (Norwegian Ticketing Interoperable Concept) is the Norwegian national public transport card, on DESFire since 2008 and specified by Statens vegvesen, now Jernbanedirektoratet, in Handbok V821. Decodes the card issuer header, file 0C of AID 578000. That file is free to read, so the parser produces output on any Norwegian card without key material: country code, format, choice bitmap, card serial number, validity end date, application owner company, retailer organisation and card key version. The transport application, AID 578001, is listed by file with its role and the key it needs, and any file that was read is dumped as hex. Its field layouts are in Handbok V821 Del 18, which has no download link, and every file needs read key 7, which is not public. Nothing there is guessed at. NORTIC is EN 1545 and packs fields most significant bit first, which is the opposite of the RKF Type CL-1 layout in parserkf.c where RKF-0022 7.4.1 numbers bits from the least significant end. Reading a NORTIC header the RKF way gives country code 144 instead of 578, so the self test asserts that as a negative control. Verified field by field against the published card issuer header, every field matching its documented value, including the validity date 6938 decoding to 2015-12-31. 'hf mfdes view --selftest' runs the checks, including a round trip through an encoder. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>