[xmlsectool] branch master updated: XSTJ-42 documentation errors in manual tests
Ian Young
ian at iay.org.uk
Sun May 15 02:00:36 EDT 2016
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository xmlsectool.
The following commit(s) were added to refs/heads/master by this push:
new dc0f452 XSTJ-42 documentation errors in manual tests
dc0f452 is described below
commit dc0f452ff51d23fa91f6ebe45d01285c8adb0aa6
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Sun May 15 07:00:18 2016 +0100
XSTJ-42 documentation errors in manual tests
---
src/test/resources/manual/XSTJ-16/readme.md | 2 +-
src/test/resources/manual/XSTJ-27/readme.md | 2 +-
src/test/resources/manual/XSTJ-38/readme.md | 8 ++++++--
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/test/resources/manual/XSTJ-16/readme.md b/src/test/resources/manual/XSTJ-16/readme.md
index 90981ab..fc5b579 100644
--- a/src/test/resources/manual/XSTJ-16/readme.md
+++ b/src/test/resources/manual/XSTJ-16/readme.md
@@ -20,6 +20,6 @@ Test 3 (invalid schema):
...xmlsectool.sh --sign --inFile in1.xml --outFile /dev/null \
--certificate ../rsasign2k.crt --key ../rsasign2k.key \
- --validateSchema --schemaDirectory bad
+ --validateSchema --schemaDirectory fail
Success is an error reporting that the schema document is itself invalid.
diff --git a/src/test/resources/manual/XSTJ-27/readme.md b/src/test/resources/manual/XSTJ-27/readme.md
index f6c4dd6..766e3b2 100644
--- a/src/test/resources/manual/XSTJ-27/readme.md
+++ b/src/test/resources/manual/XSTJ-27/readme.md
@@ -25,7 +25,7 @@ Failure will be an exception, either "Signature Reference URI #uk001480 was reso
Success will be obvious, but it is also valuable to re-run with `--verbose` and confirm that we are "`marking ID attribute ID`".
-Success is a message confirming verification, and `diff in2.xml out2.tmp` showing no differences.
+Success is a message confirming verification, and `diff in3.xml out3.tmp` showing no differences.
## Test 4 (verification with empty reference)
diff --git a/src/test/resources/manual/XSTJ-38/readme.md b/src/test/resources/manual/XSTJ-38/readme.md
index 5bef06f..9b9e8d9 100644
--- a/src/test/resources/manual/XSTJ-38/readme.md
+++ b/src/test/resources/manual/XSTJ-38/readme.md
@@ -3,7 +3,11 @@
Test by attempting to verify the signature on each of the following files, each of which was generated from `original.xml` with a different signature and digest combination:
* `sha256.xml` has digest and signature algorithms using SHA-256; should pass
-* `sha256-md5d` has SHA-256 signature but MD5 digest; should fail
-* `sha256-md5s` has SHA-256 digest but MD5 signature; should fail
+* `sha256-md5d.xml` has SHA-256 signature but MD5 digest; should fail
+* `sha256-md5s.xml` has SHA-256 digest but MD5 signature; should fail
+
+For example:
+
+ .../xmlsectool.sh --verifySignature --inFile sha256.xml --certificate ../rsasign2k.crt
All should pass if the `--clearBlacklist` option is added.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list