-
Notifications
You must be signed in to change notification settings - Fork 9
/
testkeys.go
293 lines (282 loc) · 13.1 KB
/
testkeys.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Package testkeys provides private/public RSA keys for testing.
package testkeys
import (
"crypto/rsa"
"github.com/dgrijalva/jwt-go" /* copybara-comment */
)
// Key is a pair of RSA private/public keys.
type Key struct {
ID string
Private *rsa.PrivateKey
Public *rsa.PublicKey
PrivateStr string
PublicStr string
}
// Component identifies a component in the GA4GH Passport ecosystem.
type Component string
const (
// Unknown is an unkown component.
Unknown Component = "testkeys-unknown"
// VisaIssuer0 is a Visa Issuer.
VisaIssuer0 Component = "testkeys-visa-issuer-0"
// VisaIssuer1 is a Visa Issuer.
VisaIssuer1 Component = "testkeys-visa-issuer-1"
// PassportBroker0 is a Passport Broker.
PassportBroker0 Component = "testkeys-passport-broker-0"
// PassportBroker1 is a Passport Broker.
PassportBroker1 Component = "testkeys-passport-broker-1"
// PersonaBroker is a Passport Broker/Visa Issuer for Personas.
PersonaBroker Component = "testkeys-persona-broker"
)
// Keys contains fake keys.
var Keys = map[Component]Key{
Unknown: keyFromPEM(pems[0], Unknown),
VisaIssuer0: keyFromPEM(pems[1], VisaIssuer0),
VisaIssuer1: keyFromPEM(pems[2], VisaIssuer1),
PassportBroker0: keyFromPEM(pems[3], PassportBroker0),
PassportBroker1: keyFromPEM(pems[4], PassportBroker1),
PersonaBroker: keyFromPEM(pems[5], PersonaBroker),
}
var (
// Default is a fake RSA private/public key pair.
Default = Keys[Unknown]
// PersonaBrokerKey provides Persona Broker private/public key pair.
PersonaBrokerKey = Keys[PersonaBroker]
)
type pem struct {
Private []byte
Public []byte
}
func keyFromPEM(in pem, id Component) Key {
private, _ := jwt.ParseRSAPrivateKeyFromPEM(in.Private)
public, _ := jwt.ParseRSAPublicKeyFromPEM(in.Public)
return Key{
ID: string(id),
Private: private,
Public: public,
PrivateStr: string(in.Private),
PublicStr: string(in.Public),
}
}
var pems = []pem{
{
Private: []byte(`-----BEGIN RSA PRIVATE KEY-----
MIICWwIBAAKBgFPmZrJ9Up2nBGIuXl6wTU+4RsUbpz0nRhPiFk3veAofJ9YZLXbU
IJSifyUr8shM1Jtld8ZMMA2qzXvCV5zBVqR22Neuzwq0O7b6Yim4N4abULp7m6g/
DUpEsvsDjM3tI7w6VoT4kGjTm2G0R50ojzVz48w9vxClFp9BX/VhvzFlAgMBAAEC
gYAmuiRPYW/AG7b3RuYCmSimkq4AD9qrbLR5OxQGl3H2Yhk2R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dDZvihOynypKA3RXetuvxAgMBAAEC
gYBV7NTBBq/EJNfNbXKSZARPmNUxsQ6rAbdUcNeg6/OgW2HhgcYW7jeoZWN0If9u
vUyq3HACF5PKHROPXmRf0hzu9ffpyL+zVJtAwzEwP3TCXRQGnSenYgm34PyMD0P8
g+DtddAjuKhBSRwcG2KF+z51ikiyukrD59o29XU9hr9zvQJBALkuLKBiJXjkKXLu
20A8sX/LPr5zwilc/BO+PB91zS6XujcJBxC6hpcqvcAEyoibwFMdAqwocZVLVCJQ
U1ts7Z8CQQCNq195Q5ZIBVkhLAtybZXkY/qZ5BnD7DdEmtLVmVID0cGngz3lgs09
OOshmws0F/+MBlAHaJs+CWJYZkF58ZxvAkBduvVzqLn22uXv+t6XQSFG4gU8OTOJ
5Drjc2LTOblFYB8tRDCDUyZU1Zl92+73/n32k7SKl14Ghz5qr+XBXP1ZAkBsMink
bx3jO1Jq5zyG0/LaTxEhXvfejhVXq/bBcysUB6qiyLUJB/C/hSzuqX7Q9lMRGfEc
92M46enWIaJ4A3K5AkAnYoE64xC8UoJtCeXJ/uY/YiNczIX2zbB8qjCJIxWPIwby
gW8okA8HOWitOMGS/QbdoYlbyyzbw77GwGqMaWyx
-----END RSA PRIVATE KEY-----`),
Public: []byte(`-----BEGIN PUBLIC KEY-----
MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgGZ6ZXv/dpmssWUkNkhJfVJgL+c1
JLcpv4Y9umEc+/sht1G1Du808uXfzsYkHxrZ+kVC5fSop0+bb5Uetq2Cv/Uj8Qya
pO/oumOa3VfcUsAdtHKCFOqHzScwbyVAvpTQe9FB4ija4jLNGt0p3XKnpswdDZvi
hOynypKA3RXetuvxAgMBAAE=
-----END PUBLIC KEY-----`),
},
{
Private: []byte(`-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQDwLljNK1EwQT1/71Xfmy6z1LbmC7J5m7TEdv2QeeZZW4mC0LXc
G7KvxXOnfzu45zBq5p2Fv6dw7CbQbNa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3wpoXEzVWx7cOWMkvQIDAQAB
-----END PUBLIC KEY-----`),
},
{
Private: []byte(`-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQCYCwIr2VWKLmOriOmL0FUNUvig2ib+6r6/C7z019oH/vC+XhRL
mT0Y9TRK6qlYEs8iYoVRGW8fkNRhNk6uWbJJDx406eNGNA0DH+mMOvkhVsDjsgIM
WJi8kk0X7WpRpGCBAGd/AhYUWYpUEvWWgQanwIdLTjnruG6yRP4OmINihQIDAQAB
AoGACFvak7SQGlewjRaq2E/szR25o4Y6zJr1P6WSjtdrGjNu4thjP0C+difM5y19
f+UQ1DAcajf+vvqEYo/MxZMS1RGhcDF8cuwFXbbkdu264jZ3+cinvltlu7koiNXg
S+DP9i4Br3TF+XDAf/osWAsBAIF0vm5soWXj6f3WVRt8BIUCQQDYdJy/9urSArNI
S6VKKV4QUX8Duw46vVrPMKGgZ4o+eWZ/9W9XvatnSTmQFEmhVXFO++GQs5XQ35oS
1cqtMh+zAkEAs9HksSkTzOHCkpzZWx5Zqr882MzIUgCs8Vj/r58cTB9OXzPtz+a2
Mvyg9vTAzkgFB6jWJ1EPK78iTY9vxXAY5wJBAJBUOUza5LrB6C91mTI5ISp6XNns
+VD7f7iVccAWKhz8L/d0fRihNNA7CDHlBS+ZXGNRGpe011meLwsOGQWhXXcCQHvN
ebdjgadgk7afWKJ8Xd3J9pmJPC4BGxC7ZqZCVJgwQaQYO5YU0MJ/3k7Iqeob+aKR
YogFLf2/hV2C8MAtcmcCQQClYiiihHONOv09CfxVN/vJCZxj4Id8TxRFYsMj3/qP
pKzQY34zsRspXN9cGait5la41EmRdk23H6ddTLlmOtGt
-----END RSA PRIVATE KEY-----`),
Public: []byte(`-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCYCwIr2VWKLmOriOmL0FUNUvig
2ib+6r6/C7z019oH/vC+XhRLmT0Y9TRK6qlYEs8iYoVRGW8fkNRhNk6uWbJJDx40
6eNGNA0DH+mMOvkhVsDjsgIMWJi8kk0X7WpRpGCBAGd/AhYUWYpUEvWWgQanwIdL
TjnruG6yRP4OmINihQIDAQAB
-----END PUBLIC KEY-----`),
},
{
Private: []byte(`-----BEGIN RSA PRIVATE KEY-----
MIICWgIBAAKBgGmT42puFENUNvSBdJXRVV11p6UsuUjgtlKGDVouVxEi6aEgPRmb
7/P+KJPQaYwohscxl0vXYDQz2vZMznjM4nJML4pm2/FrOqkfChUzlU3Vb1RDkuqD
0QTTnLt4aOw8GuOO0oqkC+5vLXlwVNBboLGTHXwGFuIoWKw0eND8MonTAgMBAAEC
gYBDKTqvx5rIQdg7reZWL7YYH/InVs3/GEOjN3di+LuWQRlR0EpN8i6wjeuOLDQY
Xudt65QNQNMIIjyWFcH6gotBzDsccrgRpHYwyaC644ozBnmGHs5kb3M0lhxuCJ+f
rpw3qiBpGacYmzZbxPm46rj4/oCFC2jh+OW2m+YqiWP2sQJBALRJaavOcNTVUL/j
9BMNj/97m2MRcatGOPmaLpi4BrXYR6nyTnq94MepSmpY5xRHewFL4RFFR12boIon
HByvHGcCQQCV6oU0HeuA8RjBrvAciD3Zm8LY42gIsttqfbqjmgCwWSSkaW6i6U9I
ZKPFlb7IhaK+tZH91WQa/13dgItHl8O1AkBYLjwwW4YWo8ueP+nm09Bl3tiO6T5W
zr8ZXs+BxSkLEqFiv3ChWnQyVFxgjeFgquHALZQFNYSFhZRNXnnCkefrAkBh1iWM
N6KECdQQQqys0jUbGM32YaJ5WtBbFSaCsnSUofiJ28y6QOze398JiYpyrtPhBfn6
4BJulA2cCtHarS6pAkB+rBcsL5EmymwUk0KUlMYBNMRh2rkz4hSeML0i5/NCr1ck
d2T5FipnEC+9V0Xtmvb4/zuMv0gzI0WG+2hJOaGo
-----END RSA PRIVATE KEY-----`),
Public: []byte(`-----BEGIN PUBLIC KEY-----
MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgGmT42puFENUNvSBdJXRVV11p6Us
uUjg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woBXdM2dLl4CNIUPG0KJlu8Zy4Ju1o
-----END RSA PRIVATE KEY-----`),
Public: []byte(`-----BEGIN PUBLIC KEY-----
MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgEXBhVYMfFNEjiLbRUXW5AU2dyZJ
5kkL8T1XRTUIHjLI/e6WfqveTaD3ziVFXIijFIoesVrl/apDQDNdQDxaX+q5UAnz
lu9tryYxzGZhKWz+sxgjzaZxpYq5kQF5wglHgmYnYA2K/09gZ4UsbIrtYc+wib+E
4v3UL5atzMY4e90rAgMBAAE=
-----END PUBLIC KEY-----`),
},
{
Private: []byte(`-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQCxAlaaehxobau/ewj+Ghe0vXpOnYJKcUsUVoTTminpqfi9kXQ2
daFaDuXbMG2URqNVd7vKUYjnSmDKmcMQZt/84U0GgKex2izt7SAuO5QQzeBeabom
BWbIeE1/msTFeZ1iOO/FIoUyiTuEsZNMw6CAdi0b7ybWjEDuvr7QzWJV3QIDAQAB
AoGBAJ6Y2b/PaWSn3xrRwlzqRBNNMij+N587o2m1m418s9EI2jX//YBOJSPr9UdP
PN996xrJDRlZtLCHk/HzkzM++bC3aY7rc/TsR72yWg50jhUJ02Li9UR9ZwSng54a
UovDS5fL1PFK1wPOsIZM8WhUVcq40kGHcMOucwqALxn10caBAkEA/WBxyvjqOn99
pcIoS6OwXnPRjjqcCgDNkWaT2o68CaA/hco8olAL/vjSUvoqlIgym2io1vhFo41k
YNVIMud61wJBALLXfMMQJ+JgqjN0D+sSPFZqQz0MsK8tDR1GUijpAEYsc1+qFG4J
AG3Z+RyldQcQWy8LWFYLXHTy6JdrBiP8MmsCQAplZ6XdWrb1vjEL611XJQhrFiEQ
1JAwgj7CB7UDAEIg2hpiNuSuBh/7E54l95NKl1D7FVpkq27PgVvbxG+aQdcCQBwj
2/W1bREptJ4z/O04CVZvkfThMkveAtpAXl0hjHF+PQkocd5+fBrM2W2weyGJaU+V
sWiYkQu1zPNGW8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