Releases: thorgate/pyasice
Release 1.1.0
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
- Allow never cryptography package versions
Version 1.0.3
Version 1.0.3
-
Fixed an issue with
Container
andZipFile
in Python pre-3.8.When the name of a file added to container contained a non-ASCII character,
a consequentread()
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 theContainer
instance which uses a cached
read only zip file handle, opening it if necessary. -
Added a public property
zip_writer
to theContainer
instance which opens
an appendable zip file handle, clearing thezip_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
yanked - missing source artifact.
Version 1.0.1
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
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.