Blame SOURCES/0007-Switch-pesign-client-to-also-accept-token-cert-macro.patch

0ac9f2
From d618de733865eab359890b4e677c368a133dad99 Mon Sep 17 00:00:00 2001
0ac9f2
From: Pat Riehecky <riehecky@fnal.gov>
0ac9f2
Date: Mon, 7 Nov 2016 11:37:08 -0600
0ac9f2
Subject: [PATCH 07/29] Switch pesign client to also accept token/cert macros
0ac9f2
 rather than use hard coded values
0ac9f2
0ac9f2
---
0ac9f2
 src/macros.pesign | 6 +++---
0ac9f2
 1 file changed, 3 insertions(+), 3 deletions(-)
0ac9f2
0ac9f2
diff --git a/src/macros.pesign b/src/macros.pesign
0ac9f2
index 18e5b5e..69280e9 100644
0ac9f2
--- a/src/macros.pesign
0ac9f2
+++ b/src/macros.pesign
0ac9f2
@@ -41,11 +41,11 @@
0ac9f2
                  --certdir ${nss} -c signer %{-o}			\
0ac9f2
       rm -rf ${sattrs} ${sattrs}.sig ${nss}				\
0ac9f2
     elif [ -S /var/run/pesign/socket ]; then				\
0ac9f2
-      %{_pesign_client} -t "OpenSC Card (Fedora Signer)"		\\\
0ac9f2
-                        -c "/CN=Fedora Secure Boot Signer"		\\\
0ac9f2
+      %{_pesign_client} -t %{__pesign_token}				\\\
0ac9f2
+                        -c %{__pesign_cert}				\\\
0ac9f2
                         %{-i} %{-o} %{-e} %{-s} %{-C}			\
0ac9f2
     else								\
0ac9f2
-      %{_pesign} %{__pesign_token} -c %{__pesign_cert}			\\\
0ac9f2
+      %{_pesign} -t %{__pesign_token} -c %{__pesign_cert}		\\\
0ac9f2
 		 --certdir ${_pesign_nssdir}				\\\
0ac9f2
                  %{-i} %{-o} %{-e} %{-s} %{-C}				\
0ac9f2
     fi									\
0ac9f2
-- 
0ac9f2
2.13.4
0ac9f2