Reading Mifare Serial Number
832991Jan 20 2011 — edited Jan 25 2011I am trying to read the Mifare serial number off a smart card. This is the first time that I have worked with a smart card and I am not really sure how all of the pieces fit together. I am using this as an example.
http://www.pikopong.com/blog/2009/02/11/reading-mifare-1k-card-using-java-in-linux/
I am able to read the UID from the card but it fails when I try to load the key. I expect this is because the key in the sample I am working off is not correct for my card. I assume my best bet for getting the key to read the serial number is to track down whoever in the organization I am doing this for writes the serial number to the card. Does that sound right? Also once I get a valid key will the rest of the example work or are there other pitfalls I have yet to encounter?