【发布时间】:2018-06-21 18:31:22
【问题描述】:
我正在整理以下如何实现,我想在一个项目中使用智能卡或存储卡。卡片应由标准化读卡器(例如 ACR38)读取。当它们被计算机(命令行或软件(处理或p5js或类似)读取时,应该会弹出一个窗口,显示卡片的内容是图片和文字。当我使用我的常规时有点相似我的 E-idsoftware 要读取的 ID。
目前我拥有的卡是这张SLE4428(在供应商的底部说明中) 这些还没有数据,买的都是空白的
=> datasheet
我找到但不知道是否适合我的项目以及具体如何使用的软件如下。
我在搜索 SC 卡软件时发现的开源工具(不知道如何使用它们。)
https://linux.die.net/man/1/opensc-tool
https://linux.die.net/man/1/opensc-explorer
我查看了我的智能卡读卡器,发现http://www.acr38u.com/ 是一个平台,但必须付费,我无法在 linux 或苹果上找到这个软件。 再次在这里我找到了一个带有十六进制代码的datasheet 来连接到卡,但仍然不知道如何物理连接到卡。
该站点显示了工作外壳的许多要点,但我找不到它的安装程序。 opendsc
最后this 是最有前途的,我已经联系了它的制造商。但是安装卡在制作过程中(我已经搜索过并且还没有解决方案,现在已经解决了一个星期,所以这篇文章,也许社区可以提供另一种外观)
这是来自供应商方面(Aliexpress)的具体解释。虽然我不知道在哪里输入这些十六进制代码以从卡上写入或读取。 (有一个软件,但它是windows(如果有人可以说,这是解决我项目核心问题的方法,那么我会尝试让一台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.
这个问题的细节在于
A:如何在 linux 或 mac(首先)上实现工作环境以在 sc 卡上读写数据(我拥有的卡或!B:一个可行的替代方案) C:创建一个查看器程序或webapp等来查看或路由数据到当SC卡被读取时。 (这将是一个有效的问题,如果我在哪里选择基于 Windows 的现有程序,我想)
【问题讨论】:
-
Stack Overflow 是一个编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参阅帮助中心的What topics can I ask about here。也许Super User 或Unix & Linux Stack Exchange 会是一个更好的提问地点。
-
我认为您应该专注于特定的编程问题并提出有针对性的问题。这个问题似乎一直存在,在第三段之后我停止阅读。