[cpp-xmltooling] 01/02: CPPXT-136 entirely empty RSA keyinfo

Rod Widdowson rdw at steadingsoftware.com
Thu Sep 20 08:27:37 EDT 2018


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository cpp-xmltooling.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=fc66363b90739aab82c79897d53b81d3605ffb66

commit fc66363b90739aab82c79897d53b81d3605ffb66
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Sep 20 11:32:16 2018 +0100

    CPPXT-136 entirely empty RSA keyinfo
    
    https://issues.shibboleth.net/jira/browse/CPPXT-136
---
 xmltoolingtest/BadKeyInfoTest.h  | 6 ++++++
 xmltoolingtest/data/RSAEmpty.xml | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/xmltoolingtest/BadKeyInfoTest.h b/xmltoolingtest/BadKeyInfoTest.h
index 7515678..7b4f186 100644
--- a/xmltoolingtest/BadKeyInfoTest.h
+++ b/xmltoolingtest/BadKeyInfoTest.h
@@ -161,4 +161,10 @@ public:
     {
         RSATest("RSANullBoth.xml", true, XMLToolingConfig::getConfig().getParser(), true);
     }
+
+    void testRSAEmpty()
+    {
+        RSATest("RSAEmpty.xml", true, XMLToolingConfig::getConfig().getParser(), true);
+    }
+
 };
diff --git a/xmltoolingtest/data/RSAEmpty.xml b/xmltoolingtest/data/RSAEmpty.xml
new file mode 100644
index 0000000..82a4e89
--- /dev/null
+++ b/xmltoolingtest/data/RSAEmpty.xml
@@ -0,0 +1,8 @@
+<ds:KeyInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.w3.org/2000/09/xmldsig# ../../schemas/xmldsig-core-schema.xsd"
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+    <ds:KeyName>Public Key for CN=xmldap.org, OU=Domain Control Validated, O=xmldap.org</ds:KeyName>
+    <ds:KeyValue>
+        <ds:RSAKeyValue/>
+    </ds:KeyValue>
+</ds:KeyInfo>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list