Author: kiwiwings
Date: Thu Mar 8 23:08:59 2018
New Revision: 1826287
URL: http://svn.apache.org/viewvc?rev=1826287&view=rev
Log:
#62159 - add comment about line breaks in the encryption page
Modified:
poi/site/src/documentation/content/xdocs/encryption.xml
Modified: poi/site/src/documentation/content/xdocs/encryption.xml
URL:
http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/encryption.xml?rev=1826287&r1=1826286&r2=1826287&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/encryption.xml (original)
+++ poi/site/src/documentation/content/xdocs/encryption.xml Thu Mar 8 23:08:59
2018
@@ -240,6 +240,12 @@ fos.close();
integration (testing) with timestamp and revocation (OCSP) services.
</p>
<p>Further test examples can be found in the corresponding <link
href="https://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/poifs/crypt/TestSignatureInfo.java?view=markup">test
class</link>.</p>
+
+ <p>If you want to use a hash algorithm with 64 bytes (currently only
applies to SHA512),
+ <link href="https://bz.apache.org/bugzilla/show_bug.cgi?id=42061">a
base64 "feature"</link> in xmlsec
+ leads to line breaks in the digest values, which won't be accepted by
Office. To workaround this, you
+ need to set the following system property:<br/>
+ <strong>-Dorg.apache.xml.security.ignoreLineBreaks=true</strong></p>
</section>
<section><title>Validating a signed office document</title>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]