←back to thread

287 points robin_reala | 1 comments | | HN request time: 0.288s | source
Show context
SXX ◴[] No.44375970[source]
I always wondered isn't this kind of specification also have digital signature of the passport issuer or something? Otherwise how do other countries can verify it's not a fake one?

I read this article, but seems like any information about it is kind a omited.

replies(2): >>44376059 #>>44376136 #
landgenoot ◴[] No.44376136[source]
Yes. There is even an active function that allows you sign arbitrary bits to check if the passport actually contains the private key. Otherwise you could spoof a passport by just replaying the government signed data.

Source: I have been working on a blockchain implementation in the past that was compatible with the cryptographic functions in an NFC passport. Basically using a standard NFC passport as a cold wallet.

Fun fact. The cryptographic system even differs per country.

E.g. the Dutch don't trust the NIST elliptic curves so use the brainpool curves instead. Some other countries are still using RSA iirc.

replies(3): >>44376312 #>>44376728 #>>44379711 #
bluesign ◴[] No.44376728[source]
but why would passport contain a private key ?
replies(1): >>44378447 #
1. landgenoot ◴[] No.44378447[source]
The public key information is signed by the government and readable.

This enables the passport to prove it's integrity by signing responses with its private key.