Release Notes
Please review these release notes before upgrading your system. You should review the notes for all the versions subsequent to the one you're running prior to upgrade, including referring back to older V2 notes.
Release 3.0.0 (current stable release)
Release date:Â 2020-12-15
Getting issues...
XSTJ-67: In this release of
xmlsectool
, theÂ--key
 option has been split intoÂ--keyAlias
 andÂ--keyFile
 depending on operation (--keyFile
is used withÂ--certificate
 whileÂ--keyAlias
 is used with keystores and with PKCS#11 tokens). TheÂ--key
 option can still be used in both contexts but will result in a deprecation warning. TheÂ--key
 option will be removed in the next major release ofÂxmlsectool
 (4.0.0).XSTJ-68: Previous versions ofÂ
xmlsectool
 set an explicit heap limit of 256MB to compensate for the very low defaults imposed by early versions of Java.Âxmlsectool
 no longer does this, as recent Java versions on modern hardware now allows the allocation of a much larger heap by default. This means thatxmlsectool
 will be more likely to work on large documents. For documents which need still more heap, set a non-default heap size by invokingÂxmlsectool
 like this:JVMOPTS="-Xmx1.5G" ...xmlsectool --sign ...
XSTJ-69:Â
xmlsectool
 3.0.0 includes defensive coding to limit the effect of some changes that have been made to the XML DSIG code within the JDK and the Santuario XML security dependency library. The intention is to ensure thatÂxmlsectool
 produces the same output across versions of these dependencies, and to ensure that signed output does not include encoded CR characters (
or similar) known to cause problems for some consumers. One result is that in most circumstances,Âxmlsectool
 3.0.0 produces identical output toÂxmlsectool
 2.0.0, although this is not guaranteed and in particular may not be the case for a future major version ofÂxmlsectool
.XSTJ-73:Â
xmlsectool
 3.0.0 is now based on the Shibboleth Project's Java 11 product platform. This means that it requires a minimum of Java 11 to run. For more details on supported Java versions and distributions, see System Requirements.XSTJ-82: Changes in the way Java handles the SunPKCS11 provider have necessarily resulted in changes to the wayÂ
xmlsectool
 provides this functionality. The full details can be found in Using PKCS#11 Credentials; if you are upgrading from a previous version ofÂxmlsectool
 then Upgrading from a previous version of xmlsectool gives detailed instructions.XSTJ-85: for reasons of clarity and inclusivity, the following command-line options have been renamed:
--clearBlacklist
becomes--allowAllDigests
--blacklistDigest
becomes--disallowDigest
--whitelistDigest
becomes--allowDigest
--listBlacklist
becomes--listAlgorithms
If you use one of the old option names, it will still work but you will be reminded to use the new name through a deprecation warning. The old names for these options will be removed in the next major release of xmlsectool
 (4.0.0).