Hol up. So what stops you from uploading custom photo + metadata onto random chip and planting it in a fake passport?
replies(5):
There are also optional subprotocols that allow the chip to be authenticated (i.e. proof it knows a private key). These prevent copying valid signed data to a different chip.