@@ -73,43 +73,43 @@ endif
73
73
PRIVKEY1 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj1label/!d' -e 's/^[ \t]* URL: //')
74
74
ifeq ($(PRIVKEY1 ) ,)
75
75
PRIVKEYGEN += privkey1
76
- PRIVKEY1=$(P11URI);id=%30%31;label =obj1label;type =private
76
+ PRIVKEY1=$(P11URI);id=%30%31;object =obj1label;type =private
77
77
endif
78
78
79
79
PRIVKEY2 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj2label/!d' -e 's/^[ \t]* URL: //')
80
80
ifeq ($(PRIVKEY2 ) ,)
81
81
PRIVKEYGEN += privkey2
82
- PRIVKEY2=$(P11URI);id=%30%32;label =obj2label;type =private
82
+ PRIVKEY2=$(P11URI);id=%30%32;object =obj2label;type =private
83
83
endif
84
84
85
85
PRIVKEY3 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj3label/!d' -e 's/^[ \t]* URL: //')
86
86
ifeq ($(PRIVKEY3 ) ,)
87
87
PRIVKEYGEN += privkey3
88
- PRIVKEY3=$(P11URI);id=%30%33;label =obj3label;type =private
88
+ PRIVKEY3=$(P11URI);id=%30%33;object =obj3label;type =private
89
89
endif
90
90
91
91
PRIVKEY4 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj4label/!d' -e 's/^[ \t]* URL: //')
92
92
ifeq ($(PRIVKEY4 ) ,)
93
93
PRIVKEYGEN += privkey4
94
- PRIVKEY4=$(P11URI);id=%30%34;label =obj4label;type =private
94
+ PRIVKEY4=$(P11URI);id=%30%34;object =obj4label;type =private
95
95
endif
96
96
97
97
PRIVKEY5 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj5label/!d' -e 's/^[ \t]* URL: //')
98
98
ifeq ($(PRIVKEY5 ) ,)
99
99
PRIVKEYGEN += privkey5
100
- PRIVKEY5=$(P11URI);id=%30%35;label =obj5label;type =private
100
+ PRIVKEY5=$(P11URI);id=%30%35;object =obj5label;type =private
101
101
endif
102
102
103
103
PRIVKEY6 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj6label/!d' -e 's/^[ \t]* URL: //')
104
104
ifeq ($(PRIVKEY6 ) ,)
105
105
PRIVKEYGEN += privkey6
106
- PRIVKEY6=$(P11URI);id=%30%36;label =obj6label;type =private
106
+ PRIVKEY6=$(P11URI);id=%30%36;object =obj6label;type =private
107
107
endif
108
108
109
109
PRIVKEY7 =$(shell $(P11TOOL ) --list-privkeys '$(P11URI ) ' | sed -e '/object=obj7label/!d' -e 's/^[ \t]* URL: //')
110
110
ifeq ($(PRIVKEY7 ) ,)
111
111
PRIVKEYGEN += privkey7
112
- PRIVKEY7=$(P11URI);id=%30%37;label =obj7label;type =private
112
+ PRIVKEY7=$(P11URI);id=%30%37;object =obj7label;type =private
113
113
endif
114
114
115
115
@@ -278,7 +278,7 @@ tlspool-test-webhost-cert.der: tlspool-test-webhost-cert.template
278
278
279
279
# Turn a .der into a .keyid
280
280
% .keyid : % .der
281
- $(CERTTOOL ) --inraw --infile $< -i | sed -e ' 1,/Public Key ID:/d' -e ' /Public key.s random art:/,$$d' -e ' s/[ \t]*//' > $@
281
+ $(CERTTOOL ) --inraw --infile $< -i | sed -e ' 1,/Public Key ID:/d' -e ' /Public key.s random art:/,$$d' -e ' s/[ \t]*//' | sed -n -e ' s/^sha1:// ' -e ' /^[^:]*$$/p ' > $@
282
282
283
283
#
284
284
# SRP credentials are loaded from fixed paths ../testdata/tlspool-test-srp.* for now
0 commit comments