Friday, April 13, 2018

I published a new repository eidreader, a simple command-line Python script which reads data from a Belgian eID card. Not to be mixed up with its Java predecessor eidreader (same name but on account lsaffre), which is now deprecated. I also created a central project homepage and released version 0.0.1 on PyPI.

Usage is simple:

  • Install it with pip install eidreader

  • Insert your eID card into your reader

  • Run the eidreader command which dumps the data to stdout by default.

TODO:

Not sure how to get rid of a kind of additional “security alert” coming from the middleware and which asks for a user interaction:

../../_images/askaccess.png

It seems to be issued by a binary file /usr/lib/eid-mw/beid-askaccess:

$ ll /usr/lib/eid-mw/beid-askaccess
-rwxr-xr-x 1 root root 10512 May 20  2016 /usr/lib/eid-mw/beid-askaccess*

Also the output of the command line contains some warning messages before the output:

sdialog_call_modal: in child
sdialog_call_modal: DISPLAY=:0
call_dialog_result: about to exec /usr/lib/eid-mw/beid-askaccess
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.