Skip to content

Releases: thorgate/pyasice

Release 1.1.0

28 Feb 09:28
Compare
Choose a tag to compare

What's Changed

Enhance loading/updating signatures, adding TSP/OCSP data to BES

  • General purpose updating/saving signatures
  • Enable adding TSP/OCSP data to existing BES containers
  • Process original XML slightly more resistantly
  • Process signatures without numbering (fixes: #10)

New Contributors

Full Changelog: v1.0.4...v1.1.0

Release 1.0.4

10 Mar 11:02
Compare
Choose a tag to compare
  • Allow never cryptography package versions

Version 1.0.3

02 Sep 10:54
4423b72
Compare
Choose a tag to compare

Version 1.0.3

  • Fixed an issue with Container and ZipFile in Python pre-3.8.

    When the name of a file added to container contained a non-ASCII character,
    a consequent read() of this file failed with an error:

    zipfile.BadZipFile: File name in directory 'FILE' and header b'FILE' differ.
    

    After closing the ZipFile, reading files was OK.

    As a solution, now the container is opened in read-only mode and all write operations
    are performed after closing the read-only zipfile, opening it in append mode and
    closing it again.

  • Added a public property zip_file to the Container instance which uses a cached
    read only zip file handle, opening it if necessary.

  • Added a public property zip_writer to the Container instance which opens
    an appendable zip file handle, clearing the zip_file cache.

  • Merged the verify_container and _verify_container_contents methods
    because the latter made little sense on its own as a private method.

  • Replaced _add_mimetype() with _create_container() which creates and initializes
    the buffer in one single place.

  • [#7] Added compatibility with Latvian edoc format - @vgaicuks

Version 1.0.2

02 Sep 10:46
98ee5b6
Compare
Choose a tag to compare

yanked - missing source artifact.

Version 1.0.1

06 Nov 11:54
cff83b3
Compare
Choose a tag to compare

Fix signature finalization

  • Reordered requests to OCSP and TSA in the utils.finalize_signature function.
    That was necessary for Esteid services because sometimes the signed container could not be verified,
    due to an error:
    TimeStamp time is greater than OCSP producedAt TS: 2020-11-05T15:27:59Z OCSP: 20201105152758Z
    

Version 1.0

27 Oct 09:29
6bc28be
Compare
Choose a tag to compare

The first official release. Focused on supporting ASic-E containers and XAdES XML signatures for use with Estonian identity services.

  • Initial version. Supports creating and validating XAdES signatures with Estonian ID services.