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

718d03
From 14d1b5f9a482a4740706dc1cb86c454662f48d4c Mon Sep 17 00:00:00 2001
f1f50d
From: Rob Crittenden <rcritten@redhat.com>
718d03
Date: Wed, 7 Dec 2022 10:09:55 -0500
f1f50d
Subject: [PATCH] Revert "Remove the certmaster CA from the 028-dbus test"
f1f50d
f1f50d
This reverts commit dd8dcb899e0a159d1141b713993805565ffb6d28.
f1f50d
---
f1f50d
 tests/028-dbus/expected.out | 130 ++++++++++++++++++++++++++++++++++--
f1f50d
 1 file changed, 124 insertions(+), 6 deletions(-)
f1f50d
f1f50d
diff --git a/tests/028-dbus/expected.out b/tests/028-dbus/expected.out
718d03
index 86cba02..544ebd7 100644
f1f50d
--- a/tests/028-dbus/expected.out
f1f50d
+++ b/tests/028-dbus/expected.out
718d03
@@ -35,6 +35,10 @@ CA 'IPA':
f1f50d
 	is-default: no
f1f50d
 	ca-type: EXTERNAL
f1f50d
 	helper-location: $libexecdir/ipa-submit
f1f50d
+CA 'certmaster':
f1f50d
+	is-default: no
f1f50d
+	ca-type: EXTERNAL
f1f50d
+	helper-location: $libexecdir/certmaster-submit
f1f50d
 CA 'dogtag-ipa-renew-agent':
f1f50d
 	is-default: no
f1f50d
 	ca-type: EXTERNAL
718d03
@@ -42,8 +46,8 @@ CA 'dogtag-ipa-renew-agent':
f1f50d
 
f1f50d
 [[ API ]]
f1f50d
 [ simpleprop.py ]
f1f50d
-/org/fedorahosted/certmonger/cas/CA5
f1f50d
-/org/fedorahosted/certmonger/cas/CA5
f1f50d
+/org/fedorahosted/certmonger/cas/CA6
f1f50d
+/org/fedorahosted/certmonger/cas/CA6
f1f50d
 : -> : -k admin@localhost -> :
f1f50d
 0 -> 1 -> 0
f1f50d
 [ walk.py ]
718d03
@@ -179,7 +183,7 @@ OK
f1f50d
 OK
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_known_cas ]
f1f50d
-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'))
f1f50d
+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'))
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger: org.fedorahosted.certmonger.get_requests ]
f1f50d
 dbus.Array([dbus.ObjectPath('/org/fedorahosted/certmonger/requests/Request2')], signature=dbus.Signature('o'))
718d03
@@ -507,6 +511,7 @@ After setting template-eku to 1.2.3.4.5.6.7.8.9.10, we got dbus.Array([dbus.Stri
f1f50d
  <node name="CA2"/>
f1f50d
  <node name="CA3"/>
f1f50d
  <node name="CA4"/>
f1f50d
+ <node name="CA5"/>
f1f50d
 </node>
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA1: org.freedesktop.DBus.Introspectable.Introspect ]
718d03
@@ -940,10 +945,10 @@ dbus.Array([], signature=dbus.Signature('s'))
f1f50d
 </node>
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_config_file_path ]
f1f50d
-$tmpdir/cas/20180327134236-3
f1f50d
+$tmpdir/cas/20180327134236-2
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_nickname ]
f1f50d
-dogtag-ipa-renew-agent
f1f50d
+certmaster
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_is_default ]
f1f50d
 0
718d03
@@ -955,7 +960,7 @@ EXTERNAL
f1f50d
 None
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_location ]
f1f50d
-$libexecdir/dogtag-ipa-renew-agent-submit
f1f50d
+$libexecdir/certmaster-submit
f1f50d
 
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.get_issuer_names ]
f1f50d
 dbus.Array([], signature=dbus.Signature('s'))
718d03
@@ -963,3 +968,116 @@ dbus.Array([], signature=dbus.Signature('s'))
f1f50d
 [ /org/fedorahosted/certmonger/cas/CA4: org.fedorahosted.certmonger.ca.refresh ]
f1f50d
 1
f1f50d
 
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.freedesktop.DBus.Introspectable.Introspect ]
f1f50d
+
f1f50d
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
f1f50d
+
f1f50d
+<node name="/org/fedorahosted/certmonger/cas/CA5">
f1f50d
+ <interface name="org.freedesktop.DBus.Introspectable">
f1f50d
+  <method name="Introspect">
f1f50d
+   <arg name="xml_data" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+ </interface>
f1f50d
+ <interface name="org.freedesktop.DBus.Properties">
f1f50d
+  <method name="Get">
f1f50d
+   <arg name="interface_name" type="s" direction="in"/>
f1f50d
+   <arg name="property_name" type="s" direction="in"/>
f1f50d
+   <arg name="value" type="v" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <method name="Set">
f1f50d
+   <arg name="interface_name" type="s" direction="in"/>
f1f50d
+   <arg name="property_name" type="s" direction="in"/>
f1f50d
+   <arg name="value" type="v" direction="in"/>
f1f50d
+  </method>
f1f50d
+  <method name="GetAll">
f1f50d
+   <arg name="interface_name" type="s" direction="in"/>
f1f50d
+   <arg name="props" type="a{sv}" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <signal name="PropertiesChanged">
f1f50d
+   <arg name="interface_name" type="s"/>
f1f50d
+   <arg name="changed_properties" type="a{sv}"/>
f1f50d
+   <arg name="invalidated_properties" type="as"/>
f1f50d
+  </signal>
f1f50d
+ </interface>
f1f50d
+ <interface name="org.fedorahosted.certmonger.ca">
f1f50d
+  <method name="get_config_file_path">
f1f50d
+   <arg name="path" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <method name="get_nickname">
f1f50d
+   <arg name="nickname" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <property name="nickname" type="s" access="read"/>
f1f50d
+  <property name="aka" type="s" access="read"/>
f1f50d
+  <method name="get_is_default">
f1f50d
+   <arg name="default" type="b" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <property name="is-default" type="b" access="readwrite"/>
f1f50d
+  <method name="get_type">
f1f50d
+   <arg name="type" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <method name="get_serial">
f1f50d
+   <arg name="serial_hex" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <method name="get_location">
f1f50d
+   <arg name="path" type="s" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <property name="external-helper" type="s" access="readwrite"/>
f1f50d
+  <method name="get_issuer_names">
f1f50d
+   <arg name="names" type="as" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <method name="refresh">
f1f50d
+   <arg name="working" type="b" direction="out"/>
f1f50d
+  </method>
f1f50d
+  <property name="ca-error" type="s" access="read"/>
f1f50d
+  <property name="issuer-names" type="as" access="read"/>
f1f50d
+  <property name="root-certs" type="a(ss)" access="read"/>
f1f50d
+  <property name="root-other-certs" type="a(ss)" access="read"/>
f1f50d
+  <property name="other-certs" type="a(ss)" access="read"/>
f1f50d
+  <property name="required-enroll-attributes" type="as" access="read"/>
f1f50d
+  <property name="required-renew-attributes" type="as" access="read"/>
f1f50d
+  <property name="supported-profiles" type="as" access="read"/>
f1f50d
+  <property name="default-profile" type="s" access="read"/>
f1f50d
+  <property name="root-cert-files" type="as" access="readwrite"/>
f1f50d
+  <property name="root-other-cert-files" type="as" access="readwrite"/>
f1f50d
+  <property name="other-cert-files" type="as" access="readwrite"/>
f1f50d
+  <property name="root-cert-nssdbs" type="as" access="readwrite"/>
f1f50d
+  <property name="root-other-cert-nssdbs" type="as" access="readwrite"/>
f1f50d
+  <property name="other-cert-nssdbs" type="as" access="readwrite"/>
f1f50d
+  <property name="ca-presave-command" type="s" access="read"/>
f1f50d
+  <property name="ca-presave-uid" type="s" access="read"/>
f1f50d
+  <property name="ca-postsave-command" type="s" access="read"/>
f1f50d
+  <property name="ca-postsave-uid" type="s" access="read"/>
f1f50d
+  <property name="scep-cipher" type="s" access="readwrite"/>
f1f50d
+  <property name="scep-digest" type="s" access="readwrite"/>
f1f50d
+  <property name="scep-ca-identifier" type="s" access="readwrite"/>
f1f50d
+  <property name="scep-ca-capabilities" type="as" access="read"/>
f1f50d
+  <property name="scep-ra-cert" type="s" access="read"/>
f1f50d
+  <property name="scep-ca-cert" type="s" access="read"/>
f1f50d
+  <property name="scep-other-certs" type="s" access="read"/>
f1f50d
+ </interface>
f1f50d
+</node>
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_config_file_path ]
f1f50d
+$tmpdir/cas/20180327134236-3
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_nickname ]
f1f50d
+dogtag-ipa-renew-agent
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_is_default ]
f1f50d
+0
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_type ]
f1f50d
+EXTERNAL
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_serial ]
f1f50d
+None
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_location ]
f1f50d
+$libexecdir/dogtag-ipa-renew-agent-submit
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.get_issuer_names ]
f1f50d
+dbus.Array([], signature=dbus.Signature('s'))
f1f50d
+
f1f50d
+[ /org/fedorahosted/certmonger/cas/CA5: org.fedorahosted.certmonger.ca.refresh ]
f1f50d
+1
f1f50d
+
f1f50d
-- 
718d03
2.38.1
f1f50d