-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
jwk_test.go
514 lines (481 loc) · 16.4 KB
/
jwk_test.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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
package jwkset
import (
"context"
"crypto/ecdh"
"crypto/ed25519"
"crypto/x509"
"encoding/base64"
"encoding/json"
"encoding/pem"
"errors"
"testing"
"time"
)
const (
anyStr = "any"
invalidStr = "invalid"
)
func TestNewJWKFromRawJSON(t *testing.T) {
marshalOptions := JWKMarshalOptions{
Private: true,
}
jwk, err := NewJWKFromRawJSON([]byte(edExpected), marshalOptions, JWKValidateOptions{})
if err != nil {
t.Fatalf("Failed to create JWK from raw JSON. %s", err)
}
if jwk.Marshal().KID != edID {
t.Fatalf("Incorrect KID. %s", jwk.Marshal().KID)
}
_, err = NewJWKFromRawJSON([]byte("invalid"), JWKMarshalOptions{}, JWKValidateOptions{})
if err == nil {
t.Fatal("Expected an error.")
}
}
func TestJSON(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second)
defer cancel()
jwks := NewMemoryStorage()
testJSON(ctx, t, jwks)
}
func TestThumbprint(t *testing.T) {
type thumbprintScenario int
const (
thumbprintScenarioCorrect thumbprintScenario = iota
thumbprintScenarioIncorrect
thumbprintScenarioMissing
thumbprintScenarioNoCert
)
testCases := []struct {
name string
x5tScenario thumbprintScenario
x5tS256Scenario thumbprintScenario
}{
{
name: "CorrectX5TAndX5T#S256",
},
{
name: "MissingX5T",
x5tScenario: thumbprintScenarioMissing,
},
{
name: "MissingX5T#S256",
x5tS256Scenario: thumbprintScenarioMissing,
},
{
name: "MissingX5TAndX5T#S256",
x5tScenario: thumbprintScenarioMissing,
x5tS256Scenario: thumbprintScenarioMissing,
},
{
name: "IncorrectX5T",
x5tScenario: thumbprintScenarioIncorrect,
},
{
name: "IncorrectX5T#S256",
x5tS256Scenario: thumbprintScenarioIncorrect,
},
{
name: "IncorrectX5TAndX5T#S256",
x5tScenario: thumbprintScenarioIncorrect,
x5tS256Scenario: thumbprintScenarioIncorrect,
},
{
name: "NoCertX5T",
x5tScenario: thumbprintScenarioNoCert,
x5tS256Scenario: thumbprintScenarioMissing,
},
{
name: "NoCertX5T#S256",
x5tScenario: thumbprintScenarioMissing,
x5tS256Scenario: thumbprintScenarioNoCert,
},
{
name: "NoCertX5TAndX5T#S256",
x5tScenario: thumbprintScenarioNoCert,
x5tS256Scenario: thumbprintScenarioNoCert,
},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
block, _ := pem.Decode([]byte(ed25519Cert))
cert, err := LoadCertificate(block.Bytes)
if err != nil {
t.Fatalf("Failed to load certificate. %s", err)
}
metadata := JWKMetadataOptions{
KID: myKeyID,
}
x509Options := JWKX509Options{
X5C: []*x509.Certificate{cert},
}
options := JWKOptions{
Metadata: metadata,
X509: x509Options,
}
jwk, err := NewJWKFromKey(cert.PublicKey, options)
if err != nil {
t.Fatalf("Failed to create JWK from key. %s", err)
}
marshal := jwk.Marshal()
switch tc.x5tScenario {
case thumbprintScenarioCorrect:
// Do nothing.
case thumbprintScenarioIncorrect:
marshal.X5T = invalidStr
case thumbprintScenarioMissing:
marshal.X5T = ""
case thumbprintScenarioNoCert:
marshal.X5C = nil
}
switch tc.x5tS256Scenario {
case thumbprintScenarioCorrect:
// Do nothing.
case thumbprintScenarioIncorrect:
marshal.X5TS256 = invalidStr
case thumbprintScenarioMissing:
marshal.X5TS256 = ""
case thumbprintScenarioNoCert:
marshal.X5C = nil
}
jwk, err = NewJWKFromMarshal(marshal, JWKMarshalOptions{}, JWKValidateOptions{})
if err != nil {
if tc.x5tScenario == thumbprintScenarioIncorrect || tc.x5tS256Scenario == thumbprintScenarioIncorrect {
return
}
t.Fatalf("Failed to create JWK from marshal. %s", err)
}
if jwk.Marshal().KID != myKeyID {
t.Fatalf("Incorrect KID. %s", jwk.Marshal().KID)
}
})
}
}
func TestJWK_Validate(t *testing.T) {
jwk := JWK{}
err := jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for empty JWK.")
}
jwk.options.Validate.SkipAll = true
err = jwk.Validate()
if err != nil {
t.Fatalf("Failed to skip validation. %s", err)
}
jwk.options.Validate.SkipAll = false
jwk.marshal.KTY = KtyOKP
jwk.marshal.USE = invalidStr
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for invalid use.")
}
jwk.marshal.USE = ""
jwk.marshal.KEYOPS = []KEYOPS{invalidStr}
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for invalid key operations.")
}
jwk.marshal.KEYOPS = nil
jwk.options.Metadata.ALG = AlgEdDSA
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for options not matching algorithm.")
}
jwk.options.Metadata.ALG = ""
jwk.options.Metadata.KID = anyStr
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for options not matching key ID.")
}
jwk.options.Metadata.KID = ""
jwk.options.Metadata.KEYOPS = []KEYOPS{KeyOpsSign}
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for options not matching key operations.")
}
jwk.options.Metadata.KEYOPS = nil
jwk.options.Metadata.USE = UseSig
err = jwk.Validate()
if err == nil {
t.Fatalf("Expected to fail validation for options not matching use.")
}
jwk.options.Metadata.USE = ""
}
func TestJWK_Validate_Padding(t *testing.T) {
const invalidRSAModulusPadding = `
{
"kty": "RSA",
"n": "AOpF5dwoCpmW2Th5kBaKDZmygOlyQSJm3JqwGvPTTViHCs4ZitlLF9za9-DPxP3zoNaryEYlFfLhYOFVS7mUjMGtLNTkLafBSIIoF28sy_z1GruxJ2aFchazBimxI1B0MXTKdIw4V268klrOECO5FIcHar7EV9W0XqToFon3oVvHWw3qkPV4o-A7Gdrh3Yh7vRUE_T5XCLYD9jO41nAqYhWYRGN-Kxu51x6VMa595TXTrpzgYGDba1MLQzB9qcHRIvRskt7Gh8M0zgcyo6c6jvktaEzh0j2kdL2JCAFHhMXUZedRUOpeqkEehpxDDR0Deiz7UPlMe6l8Ots97Wm357bgajDcxnqaGGEF5GIkr7xHw15DrTfOWPY35f0sHjNTOn9AU2bPWTy6oHZPhoFjHdSNp3UOIunnf1eXRlTa7YZ5PLmbFFyjNNSnQdcOHgKx1lJExJqXCAJ2pBkp0dX65uiqCLz4WZBcmCHGToi4mvQ5wpFqgUJ_6N8HXpP5ZLZ-hQ",
"e": "AQAB"
}`
jwk, err := NewJWKFromRawJSON([]byte(invalidRSAModulusPadding), JWKMarshalOptions{}, JWKValidateOptions{})
if err != nil {
t.Fatalf("Failed to create JWK from raw JSON. %s", err)
}
err = jwk.Validate()
if err != nil {
t.Fatalf("Failed to validate RSA JWK with acceptably invalid padding. %s", err)
}
jwk.options.Validate.StrictPadding = true
err = jwk.Validate()
if !errors.Is(err, ErrPadding) {
t.Fatalf("Expected to fail validation for invalid RSA modulus padding.")
}
const invalidECDSAPadding = `
{
"kty": "EC",
"crv": "P-521",
"x": "aQnZOuwyXH1APmjESTgHLVUH49Ry19Ay7hgHiOB4Nsv5m_JN18wW-ByFtGtHatVJ_OHL5TuLOTSsp8ctniKTn3E",
"y": "TZAwFszO_oiyvncIviOJdi8MU8VDfZo8Y3q0Z-AxaPDUFQS8aRDCHUzukj6RCNZsRCWd0HGOayIhV_uQZrB_Xbc",
"d": "AZHsd9nLaXHFWH4wjiW5XcCrIO9AWl4Y0aV64kagRFPnWjljC6VxCsFF5IM0vTzCWKdlwFLEIgJO0pfwWlQMXKef"
}
`
jwk, err = NewJWKFromRawJSON([]byte(invalidECDSAPadding), JWKMarshalOptions{}, JWKValidateOptions{})
if err != nil {
t.Fatalf("Failed to create JWK from raw JSON. %s", err)
}
err = jwk.Validate()
if err != nil {
t.Fatalf("Failed to validate ECDSA JWK with acceptably invalid padding. %s", err)
}
jwk.options.Validate.StrictPadding = true
err = jwk.Validate()
if !errors.Is(err, ErrPadding) {
t.Fatalf("Expected to fail validation for invalid ECDSA padding.")
}
}
func testJSON(ctx context.Context, t *testing.T, jwks Storage) {
b, err := base64.RawURLEncoding.DecodeString(x25519PrivateKey)
if err != nil {
t.Fatalf("Failed to decode ECDH X25519 private key. %s", err)
}
x25519Priv, err := ecdh.X25519().NewPrivateKey(b)
if err != nil {
t.Fatalf("Failed to generate ECDH X25519 key. %s", err)
}
writeKey(ctx, t, jwks, x25519Priv, x25519ID, true)
block, _ := pem.Decode([]byte(ecPrivateKey))
eKey, err := x509.ParsePKCS8PrivateKey(block.Bytes)
if err != nil {
t.Fatalf("Failed to parse EC private key. %s", err)
}
writeKey(ctx, t, jwks, eKey, eID, true)
edPriv, err := base64.RawURLEncoding.DecodeString(edPrivateKey)
if err != nil {
t.Fatalf("Failed to decode EdDSA private key. %s", err)
}
edPub, err := base64.RawURLEncoding.DecodeString(edPublicKey)
if err != nil {
t.Fatalf("Failed to decode EdDSA public key. %s", err)
}
ed := ed25519.PrivateKey(append(edPriv, edPub...))
writeKey(ctx, t, jwks, ed, edID, true)
block, _ = pem.Decode([]byte(rsaPrivateKey))
rKey, err := x509.ParsePKCS8PrivateKey(block.Bytes)
if err != nil {
t.Fatalf("Failed to parse RSA private key. %s", err)
}
writeKey(ctx, t, jwks, rKey, rID, true)
hKey := []byte(hmacSecret)
writeKey(ctx, t, jwks, hKey, hID, true)
jsonRepresentation, err := jwks.JSONPublic(ctx)
if err != nil {
t.Fatalf("Failed to get JSON. %s", err)
}
compareJSON(t, jsonRepresentation, false)
jsonRepresentation, err = jwks.JSONPrivate(ctx)
if err != nil {
t.Fatalf("Failed to get JSON. %s", err)
}
compareJSON(t, jsonRepresentation, true)
}
func compareJSON(t *testing.T, actual json.RawMessage, private bool) {
type jwksUnmarshal struct {
Keys []map[string]any `json:"keys"`
}
var keys jwksUnmarshal
err := json.Unmarshal(actual, &keys)
if err != nil {
t.Fatalf("Failed to unmarshal actual JSON. %s", err)
}
wrongLength := false
var expectedKeys int
if private && len(keys.Keys) != 5 {
expectedKeys = 5
wrongLength = true
} else if !private && len(keys.Keys) != 4 {
expectedKeys = 4
wrongLength = true
}
if wrongLength {
t.Fatalf("Expected %d keys. Got %d. HMAC keys should not have a JSON representation.", expectedKeys, len(keys.Keys))
}
for _, key := range keys.Keys {
kty, ok := key["kty"].(string)
if !ok {
t.Fatal("Failed to get key type.")
}
var expectedJSON json.RawMessage
var matchingAttributes []string
switch KTY(kty) {
case KtyEC:
expectedJSON = json.RawMessage(ecExpected)
matchingAttributes = []string{"kty", "kid", "crv", "x", "y"}
if private {
matchingAttributes = append(matchingAttributes, "d")
}
case KtyOKP:
matchingAttributes = []string{"crv", "kty", "kid", "x"}
if private {
matchingAttributes = append(matchingAttributes, "d")
}
switch CRV(key["crv"].(string)) {
case CrvEd25519:
matchingAttributes = append(matchingAttributes, "alg")
expectedJSON = json.RawMessage(edExpected)
case CrvX25519:
expectedJSON = json.RawMessage(x25519Expected)
default:
t.Fatalf("Unknown OKP curve %q.", key["crv"].(string))
}
case KtyRSA:
expectedJSON = json.RawMessage(rsaExpected)
matchingAttributes = []string{"kty", "kid", "n", "e"}
if private {
matchingAttributes = append(matchingAttributes, "d", "p", "q", "dp", "dq", "qi")
}
case KtyOct:
if private {
expectedJSON = json.RawMessage(hmacExpected)
matchingAttributes = []string{"kty", "kid", "k"}
} else {
t.Fatal("HMAC keys should not have a JSON representation.")
}
}
var expectedMap map[string]any
err = json.Unmarshal(expectedJSON, &expectedMap)
if err != nil {
t.Fatalf("Failed to unmarshal expected JSON. %s", err)
}
for _, attribute := range matchingAttributes {
actualAttr, ok := key[attribute].(string)
if !ok {
t.Fatalf("Failed to get actual attribute %s.", attribute)
}
expectedAttr, ok := expectedMap[attribute].(string)
if !ok {
t.Fatalf("Failed to get expected attribute %s.", attribute)
}
if actualAttr != expectedAttr {
t.Fatalf("Attribute %s does not match.\n Actual: %q\n Expected: %q", attribute, actualAttr, expectedAttr)
}
}
}
}
func writeKey(ctx context.Context, t *testing.T, jwks Storage, key any, keyID string, private bool) {
marshal := JWKMarshalOptions{
Private: private,
}
metadata := JWKMetadataOptions{
KID: keyID,
}
options := JWKOptions{
Marshal: marshal,
Metadata: metadata,
}
jwk, err := NewJWKFromKey(key, options)
if err != nil {
t.Fatalf("Failed to create JWK from key ID %q. %s", keyID, err)
}
err = jwks.KeyWrite(ctx, jwk)
if err != nil {
t.Fatalf("Failed to write key ID %q. %s", keyID, err)
}
}
const (
x25519ID = "myX25519Key"
eID = "myECKey"
edID = "myEdDSAKey"
hID = "myHMACKey"
rID = "myRSAKey"
)
/*
These assets were generated using this tool:
https://mkjwk.org/
*/
const (
x25519Expected = `{
"kty": "OKP",
"d": "GIu7AbclXA1FtVswPBUileBckbJu2B9UUhZPTebrox4",
"crv": "X25519",
"kid": "myX25519Key",
"x": "fGMcCrO_gWS7rva_PpXiS7D5-2OppjZQLlZmdRUSN0g"
}`
x25519PrivateKey = `GIu7AbclXA1FtVswPBUileBckbJu2B9UUhZPTebrox4`
ecExpected = `{
"kty": "EC",
"d": "Vp3epfDd9viOo1w6Co7DpIP2lPnqwIB8HcOrI7Jt0II",
"crv": "P-256",
"kid": "myECKey",
"x": "24yKWYrRffYdpQzbnkzbhABivplltO-eimNwqK3xeAM",
"y": "qGxS4s4TH35_VK4Bk119s16tFGKegwHJc3pL2p2Zy30"
}`
ecPrivateKey = `-----BEGIN PRIVATE KEY-----
MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCBWnd6l8N32+I6jXDoK
jsOkg/aU+erAgHwdw6sjsm3Qgg==
-----END PRIVATE KEY-----`
edExpected = `{
"alg": "EdDSA",
"kty": "OKP",
"d": "tKqo1bnSif18g2hE0D7zPDNgSTKQKwBMEl2UvhJZ-bs",
"crv": "Ed25519",
"kid": "myEdDSAKey",
"x": "eX81_IFCbcbhBDD-wgUYbYk8E6DLnPnl39YXx_ru7ao"
}`
edPrivateKey = "tKqo1bnSif18g2hE0D7zPDNgSTKQKwBMEl2UvhJZ-bs"
edPublicKey = "eX81_IFCbcbhBDD-wgUYbYk8E6DLnPnl39YXx_ru7ao"
hmacExpected = `{
"kty": "oct",
"kid": "myHMACKey",
"k": "bXlITUFDU2VjcmV0"
}`
rsaExpected = `{
"p": "5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