https://github.com/open-eid/esteid-ctk-tokend
https://github.com/open-eid/esteid-ctk-tokend
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/open-eid/esteid-ctk-tokend
- Owner: open-eid
- License: lgpl-2.1
- Created: 2017-04-05T07:20:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-09-22T06:29:27.000Z (8 months ago)
- Last Synced: 2025-09-22T08:31:23.655Z (8 months ago)
- Language: Swift
- Size: 363 KB
- Stars: 5
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esteid-ctk-tokend
* License: LGPL 2.1
* © Estonian Information System Authority
* [Architecture of ID-software](http://open-eid.github.io)
## Components
* EstEIDToken - CTK tokend extension implementation
* EstEIDTokenApp - Blank application, contains CTK tokend extension
## Building
[](https://github.com/open-eid/esteid-ctk-tokend/actions)
1. Install dependencies from
* [XCode](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
2. Fetch the source
git clone --recursive https://github.com/open-eid/esteid-ctk-tokend
cd esteid-ctk-tokend
3. Build
xcodebuild -project EstEIDTokenApp.xcodeproj build
4. Usage
Execute blank "EstEIDTokenApp.app" application and it registers the extension.
Open Safari and use site with client certificate requirement.
5. Debug
Open Console.app and filter EstEID logs
Load extension
pluginkit -a EstEIDTokenApp.app/Contents/PlugIns/EstEIDToken.appex
Unload extension
pluginkit -r EstEIDTokenApp.app/Contents/PlugIns/EstEIDToken.appex
List cards
security list-smartcard
List card parameters
security export-smartcard
Kill daemon
ps aux |grep EstEIDToken.appex
kill -9 PID
## References
* Apple example code https://developer.apple.com/library/content/samplecode/PIVToken/Introduction/Intro.html
* Belgium implementation https://github.com/Fedict/eid-mw/tree/master/cardcomm/ctkToken
* OpenSC implementation https://github.com/frankmorgner/OpenSCToken
## Support
Official builds are provided through official distribution point [id.ee](https://www.id.ee/en/article/install-id-software/). If you want support, you need to be using official builds. Contact our support via www.id.ee for assistance.
Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.