This is the same government who can't remember that RSA keys generally use positive numbers? https://crbug.com/532048
The idea in theory is interesting, but for something even more high-profile than national identity cards, please hire some folks who can triple-check your work....