Blame SOURCES/0002-Revert-Remove-the-certmaster-CA-from-the-028-dbus-te.patch

beb083
From 73b1729b9ca740174ef2fa14332f890c5cd17a26 Mon Sep 17 00:00:00 2001
beb083
From: Rob Crittenden <rcritten@redhat.com>
beb083
Date: Tue, 10 Nov 2020 18:48:05 -0500
beb083
Subject: [PATCH] Revert "Remove the certmaster CA from the 028-dbus test"
beb083
beb083
This reverts commit dd8dcb899e0a159d1141b713993805565ffb6d28.
beb083
---
beb083
 tests/028-dbus/expected.out | 130 ++++++++++++++++++++++++++++++++++--
beb083
 1 file changed, 124 insertions(+), 6 deletions(-)
beb083
beb083
diff --git a/tests/028-dbus/expected.out b/tests/028-dbus/expected.out
beb083
index ca7de34f..4d6a9a59 100644
beb083
--- a/tests/028-dbus/expected.out
beb083
+++ b/tests/028-dbus/expected.out
beb083
@@ -34,6 +34,10 @@ CA 'IPA':
beb083
 	is-default: no
beb083
 	ca-type: EXTERNAL
beb083
 	helper-location: $libexecdir/ipa-submit
beb083
+CA 'certmaster':
beb083
+	is-default: no
beb083
+	ca-type: EXTERNAL
beb083
+	helper-location: $libexecdir/certmaster-submit
beb083
 CA 'dogtag-ipa-renew-agent':
beb083
 	is-default: no
beb083
 	ca-type: EXTERNAL
beb083
@@ -41,8 +45,8 @@ CA 'dogtag-ipa-renew-agent':
beb083
 
beb083
 [[ API ]]
beb083
 [ simpleprop.py ]
beb083
-/org/fedorahosted/certmonger/cas/CA5
beb083
-/org/fedorahosted/certmonger/cas/CA5
beb083
+/org/fedorahosted/certmonger/cas/CA6
beb083
+/org/fedorahosted/certmonger/cas/CA6
beb083
 : -> : -k admin@localhost -> :
beb083
 0 -> 1 -> 0
beb083
 [ walk.py ]
beb083
@@ -178,7 +182,7 @@ OK
beb083
 OK
beb083
 
beb083
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_known_cas ]
beb083
-dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA1'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA2'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA3'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA4')], signature=dbus.Signature('o'))
beb083
+dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA1'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA2'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA3'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA4'), dbus.ObjectPath('/org/fedorahosted/certmonger/cas/CA5')], signature=dbus.Signature('o'))
beb083
 
beb083
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_requests ]
beb083
 dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/requests/Request2')], signature=dbus.Signature('o'))
beb083
@@ -504,6 +508,7 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri
beb083
  <node name="CA2"/>
beb083
  <node name="CA3"/>
beb083
  <node name="CA4"/>
beb083
+ <node name="CA5"/>
beb083
 </node>
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA1: org.freedesktop.DBus.Introspectable.Introspect ]
beb083
@@ -937,10 +942,10 @@ dbus.Array([], signature=dbus.Signature('s'))
beb083
 </node>
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_config_file_path ]
beb083
-$tmpdir/cas/20180327134236-3
beb083
+$tmpdir/cas/20180327134236-2
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_nickname ]
beb083
-dogtag-ipa-renew-agent
beb083
+certmaster
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_is_default ]
beb083
 0
beb083
@@ -952,7 +957,7 @@ EXTERNAL
beb083
 None
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_location ]
beb083
-$libexecdir/dogtag-ipa-renew-agent-submit
beb083
+$libexecdir/certmaster-submit
beb083
 
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_issuer_names ]
beb083
 dbus.Array([], signature=dbus.Signature('s'))
beb083
@@ -960,3 +965,116 @@ dbus.Array([], signature=dbus.Signature('s'))
beb083
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.refresh ]
beb083
 1
beb083
 
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.freedesktop.DBus.Introspectable.Introspect ]
beb083
+
beb083
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
beb083
+
beb083
+<node name="/org/fedorahosted/certmonger/cas/CA5">
beb083
+ <interface name="org.freedesktop.DBus.Introspectable">
beb083
+  <method name="Introspect">
beb083
+   <arg name="xml_data" type="s" direction="out"/>
beb083
+  </method>
beb083
+ </interface>
beb083
+ <interface name="org.freedesktop.DBus.Properties">
beb083
+  <method name="Get">
beb083
+   <arg name="interface_name" type="s" direction="in"/>
beb083
+   <arg name="property_name" type="s" direction="in"/>
beb083
+   <arg name="value" type="v" direction="out"/>
beb083
+  </method>
beb083
+  <method name="Set">
beb083
+   <arg name="interface_name" type="s" direction="in"/>
beb083
+   <arg name="property_name" type="s" direction="in"/>
beb083
+   <arg name="value" type="v" direction="in"/>
beb083
+  </method>
beb083
+  <method name="GetAll">
beb083
+   <arg name="interface_name" type="s" direction="in"/>
beb083
+   <arg name="props" type="a{sv}" direction="out"/>
beb083
+  </method>
beb083
+  <signal name="PropertiesChanged">
beb083
+   <arg name="interface_name" type="s"/>
beb083
+   <arg name="changed_properties" type="a{sv}"/>
beb083
+   <arg name="invalidated_properties" type="as"/>
beb083
+  </signal>
beb083
+ </interface>
beb083
+ <interface name="org.fedorahosted.certmonger.ca">
beb083
+  <method name="get_config_file_path">
beb083
+   <arg name="path" type="s" direction="out"/>
beb083
+  </method>
beb083
+  <method name="get_nickname">
beb083
+   <arg name="nickname" type="s" direction="out"/>
beb083
+  </method>
beb083
+  <property name="nickname" type="s" access="read"/>
beb083
+  <property name="aka" type="s" access="read"/>
beb083
+  <method name="get_is_default">
beb083
+   <arg name="default" type="b" direction="out"/>
beb083
+  </method>
beb083
+  <property name="is-default" type="b" access="readwrite"/>
beb083
+  <method name="get_type">
beb083
+   <arg name="type" type="s" direction="out"/>
beb083
+  </method>
beb083
+  <method name="get_serial">
beb083
+   <arg name="serial_hex" type="s" direction="out"/>
beb083
+  </method>
beb083
+  <method name="get_location">
beb083
+   <arg name="path" type="s" direction="out"/>
beb083
+  </method>
beb083
+  <property name="external-helper" type="s" access="readwrite"/>
beb083
+  <method name="get_issuer_names">
beb083
+   <arg name="names" type="as" direction="out"/>
beb083
+  </method>
beb083
+  <method name="refresh">
beb083
+   <arg name="working" type="b" direction="out"/>
beb083
+  </method>
beb083
+  <property name="ca-error" type="s" access="read"/>
beb083
+  <property name="issuer-names" type="as" access="read"/>
beb083
+  <property name="root-certs" type="a(ss)" access="read"/>
beb083
+  <property name="root-other-certs" type="a(ss)" access="read"/>
beb083
+  <property name="other-certs" type="a(ss)" access="read"/>
beb083
+  <property name="required-enroll-attributes" type="as" access="read"/>
beb083
+  <property name="required-renew-attributes" type="as" access="read"/>
beb083
+  <property name="supported-profiles" type="as" access="read"/>
beb083
+  <property name="default-profile" type="s" access="read"/>
beb083
+  <property name="root-cert-files" type="as" access="readwrite"/>
beb083
+  <property name="root-other-cert-files" type="as" access="readwrite"/>
beb083
+  <property name="other-cert-files" type="as" access="readwrite"/>
beb083
+  <property name="root-cert-nssdbs" type="as" access="readwrite"/>
beb083
+  <property name="root-other-cert-nssdbs" type="as" access="readwrite"/>
beb083
+  <property name="other-cert-nssdbs" type="as" access="readwrite"/>
beb083
+  <property name="ca-presave-command" type="s" access="read"/>
beb083
+  <property name="ca-presave-uid" type="s" access="read"/>
beb083
+  <property name="ca-postsave-command" type="s" access="read"/>
beb083
+  <property name="ca-postsave-uid" type="s" access="read"/>
beb083
+  <property name="scep-cipher" type="s" access="readwrite"/>
beb083
+  <property name="scep-digest" type="s" access="readwrite"/>
beb083
+  <property name="scep-ca-identifier" type="s" access="readwrite"/>
beb083
+  <property name="scep-ca-capabilities" type="as" access="read"/>
beb083
+  <property name="scep-ra-cert" type="s" access="read"/>
beb083
+  <property name="scep-ca-cert" type="s" access="read"/>
beb083
+  <property name="scep-other-certs" type="s" access="read"/>
beb083
+ </interface>
beb083
+</node>
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_config_file_path ]
beb083
+$tmpdir/cas/20180327134236-3
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_nickname ]
beb083
+dogtag-ipa-renew-agent
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_is_default ]
beb083
+0
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_type ]
beb083
+EXTERNAL
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_serial ]
beb083
+None
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_location ]
beb083
+$libexecdir/dogtag-ipa-renew-agent-submit
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_issuer_names ]
beb083
+dbus.Array([], signature=dbus.Signature('s'))
beb083
+
beb083
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.refresh ]
beb083
+1
beb083
+
beb083
-- 
beb083
2.25.4
beb083