An open API service indexing awesome lists of open source software.

https://github.com/open-eid/esteid-ctk-tokend


https://github.com/open-eid/esteid-ctk-tokend

Last synced: 4 months ago
JSON representation

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
[![Build Status](https://github.com/open-eid/esteid-ctk-tokend/workflows/CI/badge.svg?branch=master)](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.