#3932 (Reimplement eidreader as a daemon)

by Luc Saffre · in Developers · assigned to Luc Saffre

Résumé

Concepts sous-jacents

Commentaires

  • 5 ans, 8 mois ago by Luc Saffre about #3932 (Reimplement eidreader as a daemon) : I did "git checkout -b v2-service" and "git push -u origin v2-service". Note that this new branch doesn't yet work. It tries to use pkcs11.wait_for_slot_event() (about which I read somewhere), but this method doesn't yet exist.
  • 5 ans, 8 mois ago by Luc Saffre about #3932 (Reimplement eidreader as a daemon) : All the production sites are now happy with the current getlino and the little patch in eidreader.js (don't close the popup, and give it a name so that the same window gets reused). So my work in the daemon direction can go to sleep for undefined time. I will push it into a separate branch "service"...
  • 5 ans, 9 mois ago by Luc Saffre about #3932 (Reimplement eidreader as a daemon) : Note that this is no longer urgent if we get custom url handlers to not be blocked from XHR calls.
  • 5 ans, 9 mois ago by Luc Saffre about #3932 (Reimplement eidreader as a daemon) : Hm, it says "AttributeError: 'PyKCS11Lib' object has no attribute 'wait_for_slot_event'". Maybe it depends on the library to load? I couldn't find any list of "suitable" PKCSS libraries.
  • 5 ans, 9 mois ago by Luc Saffre about #3932 (Reimplement eidreader as a daemon) : Yves gave a promising hint: in PKCS#11 es gibt es eine Funktion [url python-pkcs11.readthedocs.io/en/latest/api.html#pkcs11.lib.wait_for_slot_event C_WaitForSlotEvent()]. Die wartet, bis eine Karte gesteckt wird... Das ist besser als ständig abzufragen!