Skip to content

Releases: XML-Security/signxml

v3.0.1

27 Nov 23:32
Compare
Choose a tag to compare
  • Mark SHA1 as deprecated

    • Aggregate verification settings in SignatureConfiguration dataclass

    • Mark all dataclasses in API as frozen

    • Add ability to assert expected signature location

    • Add ability to assert expected signature algorithms

    • Add ability to assert expected digest algorithms

    • Add MGF1 ("RSASSA-PSS without parameters") algorithm identifiers

    • Remove PSS ("RSASSA-PSS with parameters") and EdDSA algorithm
      identifiers (given low usage and no interop examples, we will not be
      implementing PSS parameters for now; EdDSA key info additionally has
      no standardized way to serialize it)

    • Add debug logging of canonicalization outputs

    • Documentation and formatting improvements

v3.0.0

14 Nov 00:42
Compare
Choose a tag to compare
  • Add XAdES support

    • Migrate all configuration inputs to enums (string identifiers are still supported, but will be deprecated in a future version)

    • Migrate structured data inputs to dataclasses

    • Deprecate excise_empty_xmlns_declarations

    • Documentation and test infrastructure improvements

    • Clean up top level signxml and signxml.xades namespaces

    • Stop using default_backend for cryptography, it is no longer required

    • Drop Python 3.6 support (#200)

v2.10.1

09 Sep 23:05
Compare
Choose a tag to compare
  • Do not excise any empty xmlns="" declarations by default. This behavior is now configurable as follows

    ```
    signer = XMLSigner()
    signer.excise_empty_xmlns_declarations = True
    signer.sign(...)
    ```
    ```
    verifier = XMLVerifier()
    verifier.excise_empty_xmlns_declarations = True
    verifier.verify(...)
    ```
    
    • Documentation and autoformatting improvements

v2.10.0

21 Aug 04:49
Compare
Choose a tag to compare
  • Excise empty xmlns declarations only in signature, not in payload

    • Add pyinstaller support to signxml (#188)

    • Documentation, test infrastructure, and code organization improvements

v2.9.0

08 Oct 17:34
v2.9.0
320008f
Compare
Choose a tag to compare
  • Unlimit cryptography version constraint. Fixes #177

    • Bump pyOpenSSL compat range; add dep version strategy note

v2.8.2

14 May 23:39
v2.8.2
e2bf5a4
Compare
Choose a tag to compare
  • Allow the combination of X509Data and KeyValue when they represent the same public key (#169)

    • Use self.namespaces signature properties "Object" element (#167)

v2.8.1

29 Oct 19:55
v2.8.1
3bf7fe2
Compare
Choose a tag to compare
  • Allow cryptography versions >3 (but <4) (#164)

    • Add support for adding Signature Properties to a detached signature (#160)

v2.8.0

21 Jun 03:57
v2.8.0
7037431
Compare
Choose a tag to compare
  • Compare raw digest bytes instead of base64 encoded digests. Fixes #155

    • Initial X509IssuerSerial/X509Digest support

    • Support custom inclusive_ns_prefixes when signing

v2.7.3

10 Jun 17:04
v2.7.3
29966f8
Compare
Choose a tag to compare
  • Fix ECDSA signature encoding/decoding (#150)

    • Add InclusiveNamespaces PrefixList support for SignedInfo

    • Test and documentation improvements

v2.7.2

02 Dec 05:23
v2.7.2
b6bfd45
Compare
Choose a tag to compare
  • Relax dependency version range on eight

    • Update dependency installation documentation

    • XMLSigner.sign(): add always_add_key_value kwarg to include both
      X509Data and KeyValue for ill-defined signing applications

    • XMLVerifier.verify(): reject signatures that contain both X509Data
      and KeyValue by default; add ignore_ambiguous_key_info kwarg to
      bypass