From 0f01954221368e383cd90629bf7baeb0a3183c2b Mon Sep 17 00:00:00 2001 From: Alex Stuart Date: Thu, 10 Sep 2020 20:55:36 +0100 Subject: [PATCH] Add XSL for identifying SPs which don't list AES128-CBC in metadata See ukf/ukf-meta#243 --- tests/manual/ukf-meta-243/README.md | 8 ++++++ .../ukf-meta-243/listSPsnoAES128-CBC.xsl | 26 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tests/manual/ukf-meta-243/listSPsnoAES128-CBC.xsl diff --git a/tests/manual/ukf-meta-243/README.md b/tests/manual/ukf-meta-243/README.md index 1fa3c291..330800e1 100644 --- a/tests/manual/ukf-meta-243/README.md +++ b/tests/manual/ukf-meta-243/README.md @@ -1,5 +1,7 @@ # Add CBC algorithm if no block encryption algorithms +## Unit tests + The tests directory has a series of tests (the `.xml` files). Each of these has a corresponding `.xml.out` which is what we expect is the transform. @@ -10,3 +12,9 @@ This command will run the tests: The expected output is a series of headers. Any errors will show up as a diff from the expected output + +## Deployment test + +`xsltproc listSPsnoAES128-CBC.xsl ` will list the entityIDs of SPs which do not +explicitly list the AES128-CBC algorithm. We expect only SPs that already list algorithms +which aren't AES128-CBC will show up here. diff --git a/tests/manual/ukf-meta-243/listSPsnoAES128-CBC.xsl b/tests/manual/ukf-meta-243/listSPsnoAES128-CBC.xsl new file mode 100644 index 00000000..c95c2dac --- /dev/null +++ b/tests/manual/ukf-meta-243/listSPsnoAES128-CBC.xsl @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + +