F.A.Q.
Q: What smart cards are supported by Carpeek?See the list of currently supported cards.
Q: My smart card seems supported by Cardpeek, but the programs fails to read it, why?There are many possible causes to such a problem:
- It could be a bug in Cardpeek.
- It could be a problem with your smart card reader.
- It could be a configuration issue.
See the troubleshooting section to try to identify the problem.
Q: Does Cardpeek read all the data in a card?No, Cardpeek only reads data that is freely readable by the owner of the card.
Most smart cards contain some files or data that are protected and generally unreadable for the card owner. Such files or data may for example contain a secret key (for bank cards) or fingerprints images (e-passport). Cardpeek does not attempt to circumvent any type of technological protection that is used to protect such information. Therefore, not all card data is accessible to Cardpeek.
Q: Can I use Carpeek to write to a smart card?Short answer: Yes, but it will take some work.
Long answer: Cardpeek is currently only designed to read data from cards, but it could be extended to write data to a card.
When Cardpeek reads data from a card, it mostly uses standard ISO 7816 commands with self-explanatory names such as READ RECORD
or READ BINARY
.
You could very easily extend Cardpeek to include commands such as WRITE RECORD
or UPDATE BINARY
.
However, most cards require to be in a special state to be "written to", and/or require the "write" commands to be cryptographically authenticated.
This require knowledge that is specific to the "operating system" of the card you are writing to.
This is not a trivial task.
Short answer: No.
Long answer: Some people seem to hope that they could use Cardpeek to copy a bank card or a e-passport, for example. This usually means that they have a incomplete understanding of the purpose of Cardpeek and smart cards in general.
To copy a smart card, you need to be able to do at least the following things:
- Read all the data of the original card.
- Write all the data to the new card.
- Make sure the new card "behaves" like the original one.
In summary: Cardpeek is not the tool you are looking for if you want to copy a card.
<?xml version="1.0" type="UTF-8"?>
and when I want to search contents in it (with javascript) it is impossible to read the file. I tried to change type=
in encoding=
and it worked.
I would like to know if there is something I can do (like modify a cardpeek file) to automatically change it ?ERROR Could not change to directory '(null)'
Maybe it occurs because my www-data user doesn't have a HOME directory to create the .cardpeek directory ? Is there a way to change the path to /var/www/ for example instead of $HOME/ ?