SC / OPENSC如何写和读

问题描述 投票:-1回答:1

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

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

目前我所拥有的卡是SLE4428(来自供应商的底部指示)这些没有数据,并且是空白的

=> Qazxswpoi

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

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

datasheet

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

我查看了我的智能卡读卡器,发现https://linux.die.net/man/1/opensc-explorer是一个平台,但必须付费,我无法在Linux或苹果上找到软件。再次在这里,我发现了一个带十六进制代码的http://www.acr38u.com/连接到卡,但仍然没有如何物理连接到卡。

这个站点显示了一个工作shell的许多点,但我找不到它的安装程序。 datasheet

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

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

this

这个问题的具体细节在于

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

linux smartcard opensc
1个回答
0
投票

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

这个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. 对OpenSC了解很多!

© www.soinside.com 2019 - 2024. All rights reserved.