Changes in eidreader

Coming version

Version 1.0.6 (2018-10-10)

  • Script was still failing when a config file was found. Stupid typo error.

Version 1.0.5 (2018-10-02)

  • More detailed logging.

  • Script failed when no eidreader.ini was found or when there was no section “eidreader” in the file.

Version 1.0.4 (2018-10-02)

It seems that the Windows version of eidreader does not find the proxy config. We released this version so users can test witha config file.

  • (20181001) eidreader now looks for a file eidreader.ini and reads two settings http_proxy and https_proxy from it. This is just another way to specify proxies. If a config file is found and has these settings, then they override what getproxies() gave. If the proxy requires authentication, you still need to specify them (either in the envvar or in the config file).

Version 1.0.3 (2018-09-27)

  • eidreader now works from behind a proxy. It uses the getproxies() standard function for finding out the proxies configured on this computer and forwards them to python-requests.

Version 1.0.2 (2018-09-12)

  • eidreader now runs without opening a console window. This is no code change, just added the –noconsole option when building.

Version 1.0.1 (2018-06-11)

Some internal changes for the binary Windows installer.

Version 1.0.0 (2018-05-21)

Major version bump because we optimized the format used for sending the data to an URL: instead of posting every data field as a string, eidreader now POSTs the card data as single field card_data whose value is a dict with the same fields as before, only that it is JSON encoded now.

We also added a new field message. Until now there was only one explanation for having success set to False: no card was inserted in the reader. But actually there are other possible explanations: e.g. a card was there, but the user did not permit access to the reader. In that latter case, message now contains “CKR_FUNCTION_FAILED (0x00000006)”.

Version 0.0.8 (2018-04-30)

Added an eidreader.doc_trees attribute for compliance with Atelier. This change does not change any functionality, it is just needed to fix a failure when building the docs for the Lino Book.

When invoked without any argument eidreader now uses json.dumps() instead of print(). Advantage: you can now redirect the output of eidreader to a file which serves as input for tests like those in lino_book.projects.adg.tests

Version 0.0.7 (2018-04-18)

New command-line option --logfile.

Version 0.0.6 (2018-04-14)

Fixed encoding problem of the photo file data when posting to a web server.

Version 0.0.5 (2018-04-14)

POSTing the data to a web server failed because it was posting a nested dict. Changed the data format of output so that it is a simple dict.

Some data fields were missing.

Version 0.0.3 (2018-04-14)

Added an explicit include to file, hoping to fix #2. (NB: problem was not fixed.

Version 0.0.2 (2018-04-14)

Added a file, hoping to fix #1.

Version 0.0.1 (2018-04-13)

First implementation. Thanks to Vincent for first ideas, to Yves for expanding them, to Gerd and Steve for help with further design and implementation.