Skip to content

Tags: XML-Security/signxml

Tags

v4.2.0

Toggle v4.2.0's commit message
- Align behaviour of expect_references with docs (#279).

  Passing `expect_references=True` to `verify(...)` now results in a list
  of `verify_results`, irrespective of the number of references in the
  signature.

- Accept lxml 6.x

v4.1.0

Toggle v4.1.0's commit message
- Add options to exclude the C14N Transform element in signatures (#274)

v4.0.5

Toggle v4.0.5's commit message
- Use Python 3.9 compatible typing expression

v4.0.4

Toggle v4.0.4's commit message
This release contains security fixes for two security advisories:

- Signature verification with HMAC is vulnerable to an algorithm confusion attack
  (GHSA-6vx8-pcwv-xhf4)

- Signature verification with HMAC is vulnerable to a timing attack
  (GHSA-gmhf-gg8w-jw42)

v4.0.3

Toggle v4.0.3's commit message
- Fix issue with support for deprecated PyOpenSSL certificates

- Fully remove the ca_path parameter; add docs for signature location pinning

v4.0.2

Toggle v4.0.2's commit message
- XAdES signing: remove duplicate timezone information from `SigningT…

…ime` (#266)

v4.0.1

Toggle v4.0.1's commit message
- Verifier: Accept PyOpenSSL cert input, add deprecation warning

v4.0.0

Toggle v4.0.0's commit message
- Replace PyOpenSSL with Cryptography (#260)

  - This is a major infrastructure change that replaces core
    certificate parsing, key processing, signature validation, and
    certificate chain validation functions previously provided by
    PyOpenSSL with those provided by Cryptography. Care was taken to
    preserve the exisitng API, including exception types, but many
    error messages raised in various error conditions have changed. If
    you see unexpected behavior and you have reason to believe it is
    incorrect, please file an issue.

  - Breaking change: the ca_path parameter, previously used to specify
    CA certificate stores, is no longer supported. Use the ca_pem_file
    parameter instead.

- Raise error when invalid certificate string is passed as input to signer

- Fix public key matching for ECDSA (#245)

v3.2.2

Toggle v3.2.2's commit message
- Update upper bound on lxml dependency to allow lxml 5

- Bump minimum dependency versions to align with Ubuntu 20.04

- Test and release infrastructure improvements

v3.2.1

Toggle v3.2.1's commit message
- Use dataclass.replace in SignatureReference construction. Fixes #231