@@ -92,15 +92,15 @@ var equalSignatureTests = []struct {
92
92
Algorithm : EdDSA ,
93
93
KeyID : 0xe7620f1842b4e81f ,
94
94
UntrustedComment : `signature from minisign secret key` ,
95
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
95
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
96
96
Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
97
97
CommentSignature : [64 ]byte {148 , 178 , 205 , 92 , 217 , 151 , 10 , 78 , 112 , 147 , 154 , 17 , 47 , 24 , 233 , 136 , 141 , 16 , 37 , 217 , 29 , 77 , 64 , 75 , 217 , 55 , 69 , 178 , 114 , 188 , 40 , 93 , 6 , 130 , 93 , 121 , 211 , 7 , 19 , 198 , 190 , 160 , 33 , 49 , 136 , 129 , 80 , 249 , 121 , 170 , 165 , 216 , 105 , 97 , 230 , 151 , 208 , 109 , 244 , 227 , 46 , 121 , 241 , 15 },
98
98
},
99
99
B : Signature {
100
100
Algorithm : EdDSA ,
101
101
KeyID : 0xe7620f1842b4e81f ,
102
102
UntrustedComment : `signature from minisign secret key` ,
103
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
103
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
104
104
Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
105
105
CommentSignature : [64 ]byte {148 , 178 , 205 , 92 , 217 , 151 , 10 , 78 , 112 , 147 , 154 , 17 , 47 , 24 , 233 , 136 , 141 , 16 , 37 , 217 , 29 , 77 , 64 , 75 , 217 , 55 , 69 , 178 , 114 , 188 , 40 , 93 , 6 , 130 , 93 , 121 , 211 , 7 , 19 , 198 , 190 , 160 , 33 , 49 , 136 , 129 , 80 , 249 , 121 , 170 , 165 , 216 , 105 , 97 , 230 , 151 , 208 , 109 , 244 , 227 , 46 , 121 , 241 , 15 },
106
106
},
@@ -123,8 +123,8 @@ var equalSignatureTests = []struct {
123
123
Equal : false , // KeyID differs
124
124
},
125
125
{
126
- A : Signature {TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` },
127
- B : Signature {TrustedComment : `timestamp:1591521249 file:minisign-0.9.tar.gz` },
126
+ A : Signature {TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` },
127
+ B : Signature {TrustedComment : `timestamp:1591521249 file:minisign-0.9.tar.gz` },
128
128
Equal : false , // TrustedComment differs
129
129
},
130
130
{
@@ -165,24 +165,24 @@ var marshalSignatureTests = []struct {
165
165
Algorithm : EdDSA ,
166
166
KeyID : 0xe7620f1842b4e81f ,
167
167
UntrustedComment : `signature from minisign secret key` ,
168
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
168
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
169
169
},
170
170
},
171
171
{
172
172
Signature : Signature {
173
173
Algorithm : EdDSA ,
174
174
KeyID : 0xe7620f1842b4e81f ,
175
175
UntrustedComment : `signature from minisign secret key` ,
176
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
177
- Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
176
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
177
+ Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
178
178
},
179
179
},
180
180
{
181
181
Signature : Signature {
182
182
Algorithm : EdDSA ,
183
183
KeyID : 0xe7620f1842b4e81f ,
184
184
UntrustedComment : `signature from minisign secret key` ,
185
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
185
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
186
186
Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
187
187
CommentSignature : [64 ]byte {148 , 178 , 205 , 92 , 217 , 151 , 10 , 78 , 112 , 147 , 154 , 17 , 47 , 24 , 233 , 136 , 141 , 16 , 37 , 217 , 29 , 77 , 64 , 75 , 217 , 55 , 69 , 178 , 114 , 188 , 40 , 93 , 6 , 130 , 93 , 121 , 211 , 7 , 19 , 198 , 190 , 160 , 33 , 49 , 136 , 129 , 80 , 249 , 121 , 170 , 165 , 216 , 105 , 97 , 230 , 151 , 208 , 109 , 244 , 227 , 46 , 121 , 241 , 15 },
188
188
},
@@ -203,7 +203,7 @@ lLLNXNmXCk5wk5oRLxjpiI0QJdkdTUBL2TdFsnK8KF0Ggl150wcTxr6gITGIgVD5eaql2Glh5pfQbfTj
203
203
Algorithm : EdDSA ,
204
204
KeyID : 0xe7620f1842b4e81f ,
205
205
UntrustedComment : `signature from minisign secret key` ,
206
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
206
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
207
207
Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
208
208
CommentSignature : [64 ]byte {148 , 178 , 205 , 92 , 217 , 151 , 10 , 78 , 112 , 147 , 154 , 17 , 47 , 24 , 233 , 136 , 141 , 16 , 37 , 217 , 29 , 77 , 64 , 75 , 217 , 55 , 69 , 178 , 114 , 188 , 40 , 93 , 6 , 130 , 93 , 121 , 211 , 7 , 19 , 198 , 190 , 160 , 33 , 49 , 136 , 129 , 80 , 249 , 121 , 170 , 165 , 216 , 105 , 97 , 230 , 151 , 208 , 109 , 244 , 227 , 46 , 121 , 241 , 15 },
209
209
},
@@ -217,7 +217,7 @@ lLLNXNmXCk5wk5oRLxjpiI0QJdkdTUBL2TdFsnK8KF0Ggl150wcTxr6gITGIgVD5eaql2Glh5pfQbfTj
217
217
Algorithm : EdDSA ,
218
218
KeyID : 0xe7620f1842b4e81f ,
219
219
UntrustedComment : `signature from minisign secret key` ,
220
- TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
220
+ TrustedComment : `timestamp:1591521248 file:minisign-0.9.tar.gz` ,
221
221
Signature : [64 ]byte {20 , 99 , 118 , 100 , 132 , 21 , 202 , 44 , 47 , 123 , 240 , 66 , 228 , 28 , 175 , 132 , 143 , 49 , 11 , 188 , 252 , 49 , 53 , 73 , 106 , 154 , 66 , 249 , 67 , 203 , 35 , 77 , 156 , 24 , 226 , 182 , 244 , 241 , 252 , 5 , 244 , 97 , 127 , 41 , 191 , 156 , 128 , 14 , 117 , 64 , 157 , 164 , 36 , 146 , 238 , 203 , 151 , 33 , 174 , 82 , 239 , 66 , 73 , 10 },
222
222
CommentSignature : [64 ]byte {148 , 178 , 205 , 92 , 217 , 151 , 10 , 78 , 112 , 147 , 154 , 17 , 47 , 24 , 233 , 136 , 141 , 16 , 37 , 217 , 29 , 77 , 64 , 75 , 217 , 55 , 69 , 178 , 114 , 188 , 40 , 93 , 6 , 130 , 93 , 121 , 211 , 7 , 19 , 198 , 190 , 160 , 33 , 49 , 136 , 129 , 80 , 249 , 121 , 170 , 165 , 216 , 105 , 97 , 230 , 151 , 208 , 109 , 244 , 227 , 46 , 121 , 241 , 15 },
223
223
},
0 commit comments