swp-fu-eid / eid-fu-swp

Docker-based REST API implemented with Django and restframework.
MIT License
2 stars 1 forks source link

Run PersoSim #15

Closed auvin closed 6 years ago

auvin commented 7 years ago

I was able to run the PersoSim-cardreader together with open ecard (eID-client for linux). PersoSim provides sample eID-cards which are stored as xml-files. Open ecard identicates these cards as german electronic identity cards. The redirection from the petition-site, which allowed login with eID, to open ecard also worked. The client displayed the information about the service provider (e.g Deutscher Bundestag) and the requested information, but i was not able to enter the pin correctly, although i read the pin out of the xml file.

Ubuntu 16.04

PersoSim

  1. sudo apt-get update && sudo apt-get install pcscd pcsc-tools libpcsclite-dev
  2. Download PersoSim-driver for linux and extract.
  3. Change to the drivers directory and execute make && sudo make install
  4. sudo service pcscd restart
  5. Download the simulator for linux and extract.
  6. Change to the simulators directory and execute ./PersoSim
  7. Now the cardreader is running and one can select the eIDs with Select Personalization -> Select predefined Perso template.
  8. In another terminal one could run pcsc_scan which provides additional debug information.

Open eCard

  1. Download openecard.jnlp from openecard.org.
  2. sudo apt-get install icedtea-8-plugin
  3. Open openecard.jnlp with IcedTea Java Web Start.
  4. In my case then there was an new icon in my taskbar, with a left click i could open the open ecard application.
  5. If a sample card was inserted in the cardreader you should see it in the open ecard app with the information PersoSimHandshake 00 00.
BenjaminKeller commented 7 years ago

I tested it on Windows 10 (failed to install drivers) and Windows 7 (installation works but no card reader is detected by AusweisApp). I think we should use Ubuntu and your installation guide for now.

BenjaminKeller commented 7 years ago

I had to install the IcedTea Java Web Start via sudo apt-get install icedtea-netx. I got it working on windows 10 finally by running Ubuntu in Hyper-V.

larissazech commented 6 years ago

Closed.