Hol up. So what stops you from uploading custom photo + metadata onto random chip and planting it in a fake passport?
replies(5):
So you could implement a chip which reacts like an official passport. When the border guards see that the signature is invalid, you can explain how it's just a prank and you'll all have a jolly good laugh about it.
Both sides even have the info printed. One side in human format, the owner side in machine readable.