Arg0s1080 / mrz

Machine Readable Zone generator and checker for official travel documents sizes 1, 2, 3, MRVA and MRVB (Passports, Visas, national id cards and other travel documents)
GNU General Public License v3.0
328 stars 122 forks source link

parser: Document number checksum on Estonian ID Cards is "<" #35

Open mjl opened 3 years ago

mjl commented 3 years ago

Estonian ID Cards seem to (sometimes? I've only had one in my data set so far!) set the document number checksum to "<", which seems to indicate no checksum.

I have not found anything in the standards for using the "<" in checksums though. Is this something you have seen before?

Arg0s1080 commented 3 years ago

Hi @mjl

First of all, excuse me the delay for the reply (I need more time to live xD. I really came here because someone who opened an issue yesterday sent me a mailing with a sensationalist title ["Big crush with MRZ" or something like that] and it worked!)

Yes, I had already seen it before especially in the jungle of ID cards.

Two cases occur to me: .- String is greater than the field and someone decides to occupy the checksum with "<" .- Checksum == 0 and someone decides to replace "0" by "<"

BR