https://github.com/gogetth/sscard
Golang Smart Card API: Opensource project for thailand smart card
https://github.com/gogetth/sscard
opensource pcsc smartcard thailand
Last synced: 5 months ago
JSON representation
Golang Smart Card API: Opensource project for thailand smart card
- Host: GitHub
- URL: https://github.com/gogetth/sscard
- Owner: gogetth
- License: mit
- Created: 2018-08-09T11:00:34.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T13:03:15.000Z (about 3 years ago)
- Last Synced: 2025-07-17T23:16:00.181Z (11 months ago)
- Topics: opensource, pcsc, smartcard, thailand
- Language: Go
- Homepage:
- Size: 43.9 KB
- Stars: 20
- Watchers: 9
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/gogetth/sscard)
[](https://godoc.org/github.com/gogetth/sscard)
# Super Smart Card(sscard)
Super Smart Card API on top of scard(pcsc handler) with apdu commands.
## Builtin APDU devices
- Thai ID card (public data)
## TODO
``` bash
# Linux: install pcsc library
sudo apt-get install pcscd
# goget
go get -u golang.org/x/net/html/charset
go get -u github.com/gogetth/sscard
# go build example
go build -o sscard github.com/gogetth/sscard/main
./sscard
```
## References
- [Thank you for original sscard work from Napat](https://github.com/Napat/sscard)
- [PCSC in golang](https://ludovicrousseau.blogspot.fr/2016/09/pcsc-sample-in-go.html)
- [APDU command for Thai ID card](https://github.com/Napat/ThaiNationalIDCard/blob/master/APDU.md)
- [Auto start pcscd using systemd](https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html)