Kennitala icon indicating copy to clipboard operation
Kennitala copied to clipboard

Icelandic national ID (kennitölur) utilities for servers and clients.

Results 4 Kennitala issues
Sort by recently updated
recently updated
newest added

Hi, there is a bug/problem here. The package doesn't support the new "gerviþjóðskrá". https://www.skra.is/um-okkur/frettir/frett/2020/10/13/Ny-utgafa-af-gervigognum-thjodskrar/ Those fake kennitala's have got either 14 or 15 in char 7-8. The package assumes 20...

Solved in V2 Beta

Foreigners get an "invalid" nationalId once registered, which this library will mark as invalid. It might be better to validate the nationalId, but specify the origin as foreign. So `isPerson()`...

Solved in V2 Beta

The `isPerson` validation does not account for invalid dates. I see the current code simply checks that the day is `

Solved in V2 Beta

In #6 you confirmed that the 7-8th digit should start at 20, and fixed the generator. But `isPerson` returns true for the 7-8th numbers below 20. For instance `070222-0000` returns...

Solved in V2 Beta