Skip to content

Commit d6e86f0

Browse files
committed
Move repo and change LICENSE to MIT
- Move from https://github.com/Napat/sscard to https://github.com/gogetth/sscard
1 parent dfb25fa commit d6e86f0

File tree

9 files changed

+35
-539
lines changed

9 files changed

+35
-539
lines changed

.gitignore

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11

22
*.jpg
3-
readcard
3+
readcard
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.exe~
7+
*.dll
8+
*.so
9+
*.dylib
10+
11+
# Test binary, build with `go test -c`
12+
*.test
13+
14+
# Output of the go coverage tool, specifically when used with LiteIDE
15+
*.out

LICENSE

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
1-
Copyright (c) 2018, Napat Rungruangbangchan <[email protected]>
2-
All rights reserved.
1+
MIT License
32

4-
Redistribution and use in source and binary forms, with or without modification,
5-
are permitted provided that the following conditions are met:
3+
Copyright (c) 2018 gogetth
64

7-
* Redistributions of source code must retain the above copyright notice, this
8-
list of conditions and the following disclaimer.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
911

10-
* Redistributions in binary form must reproduce the above copyright notice, this
11-
list of conditions and the following disclaimer in the documentation and/or
12-
other materials provided with the distribution.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
1314

14-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
18-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
21-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ Super Smart Card API on top of scard(pcsc handler) with apdu commands.
55
## Builtin APDU devices
66

77
- Thai ID card (public data)
8-
- Simcard (public data)
9-
10-
## Installation and requirements
11-
12-
See `docs/INSTALLATION_xxx.md`
138

149
## TODO
1510

@@ -18,21 +13,17 @@ See `docs/INSTALLATION_xxx.md`
1813
sudo apt-get install pcscd
1914

2015
# goget
21-
go get -u github.com/Napat/sscard
16+
go get -u github.com/gogetth/sscard
2217

2318
# go build example
24-
go build -o sscard github.com/Napat/sscard/main
19+
go build -o sscard github.com/gogetth/sscard/main
2520

26-
./sscard # ./main.exe on windows(if no -o sscard)
21+
./sscard
2722
```
2823

29-
## Platforms
30-
31-
- Windows 10
32-
- Linux: Ubuntu, Raspbian stretch(RPi3B)
33-
3424
## References
3525

26+
- [sscard@Napat](https://github.com/Napat/sscard)
3627
- [PCSC in golang](https://ludovicrousseau.blogspot.fr/2016/09/pcsc-sample-in-go.html)
3728
- [APDU command for Thai ID card](https://github.com/Napat/ThaiNationalIDCard/blob/master/APDU.md)
3829
- [Auto start pcscd using systemd](https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html)

apducmd_simcard.go

Lines changed: 0 additions & 129 deletions
This file was deleted.

docs/INSTALLATION_rpi.md

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)