SC / OPENSC如何撰写和阅读

时间:2017-11-19 22:25:55

标签: linux smartcard opensc

我正在整理如何实现以下目标,我想在项目中使用智能卡或存储卡。这些卡应该由标准化读卡器读取(例如ACR38)。当他们被计算机(命令行或软件(处理或p5js或类似))读取时,应该弹出一个窗口,显示卡的内容是图片和文本。当我使用我的常规时,有点类似我的E-idsoftware读取的ID。

https://www.pc-helpforum.be/uploads/monthly_2016_11/viewer-read-eid-ok.png.5cab04693529e36cc130dbd125c70053.png

目前,我所拥有的卡是 SLE4428 (来自供应商的最低指示) 它们还没有数据,并且是空白的

=> datasheet

我找到的软件但不知道它是否适合我的项目以及如何具体使用它如下。

我在搜索SC卡软件时找到的开源工具(没有id如何使用它们。)

https://linux.die.net/man/1/opensc-tool

https://linux.die.net/man/1/opensc-explorer

我看了看我的智能卡读卡器,发现http://www.acr38u.com/ 是一个平台,但必须付出代价,我无法在Linux或苹果上找到软件。 我再次在这里找到一个带有十六进制代码的datasheet来连接到卡,但仍然没有如何物理连接到卡。​​

此站点显示了工作shell的许多要点,但我无法找到它的安装程序。 opendsc

然后最后this是最有希望的,我已经联系了它的制造者。但是安装工作仍然停留在制作过程中(我已经搜索过并且还没有解决方案,现在正处于解决方案状态一周,所以这篇帖子,也许社区可以提供另外的帮助)

这是供应商方面(Aliexpress)的具体说明。虽然我不知道在哪里输入这些十六进制代码来写入或读取卡。 (有一个软件,但它的窗口(如果有人可以说,解决我的项目的核心问题的方法,那么我将尝试让一台Windows PC通过它来工作)方式))

ISO7816 SLE 4442 Chip PVC Contact Smart Card (0.8* 85.5 * 54mm)

If you need write the 4442 cards,you should buy the contact smart reader writer!! 4442 cards not support 13.56mhz rfid writer!!!
NOTE:There is NO magnetic strip behind the card.
Graphics Quality Cards For All Photo ID Card Printers Including
DataCard, Zebra, Fargo, Evolis, Magicard, NBS & etc.
(These Cards Will Not Work In Inkjet Printers)
If you need 100pcs 4442 cards,pls check the links below:
[https://www.aliexpress.com/store/product/100-pcs-lot-ISO7816-RFID-Contact-SLE-4442-Chip-PVC-Smart-Card/516120_32425491077.html?spm=2114.12010608.0.0.R0bzFx][1]


Features:
Standard:ISO7816
Product Chip:SLE4442
Color:White
Dimension: L 85.5 x W 54 x H 0.80±0.04mm
256 × 8-bit EEPROM organization
32 × 1-bit organization of protection memory
erase cycles more than 100,000 times
Data retention for minimum of ten years
Default passwords: FFFFFF
3 bytes for error counter and card secret code area
1,Write protected area (first 32 bytes) of each byte can be individually write protected, After write,the data can't be changed.
2, Before checking the password, all the data can be read, if necessary,you could encryption data.
3, After confirm password is correct,the data could be write or modify.
4, The 3 bytes of user passwords, after confirm is correct,it could be change.
5, The password error counter, the initial value of 3, check the error code 1, then subtract 1, if the counter value is 0, the card is automatically locked, the data just read out, no longer change can no longer be password verification; if zero, the one time password verification is correct, restore to the initial value.
6, The byte address 0-5,6-7 factory prior written by the manufacturers can not be changed.

这个问题的具体细节在于

答:如何在linux或mac上实现工作环境(首先)在sc卡上读取和写入数据(我拥有的那个或者!B:工作替代方案) C:创建查看器程序或webapp等,以便在读取SC卡时查看或路由数据。 (这将是一个有效的问题,如果我选择基于Windows的现有程序,我认为)

1 个答案:

答案 0 :(得分:0)

因为这不是特定于代码的,但我仍然希望有相同问题的人能够看到这个页面,向他们展示脚本的完整性以及接近这个或类似SC项目的方法。

这个guy对OpenSC了解很多!

相关问题