@@ -339,7 +339,7 @@ impl SecretsConfig {
339
339
. await
340
340
. context ( "could not join blocking task" ) ?;
341
341
let rsa_key = KeyConfig {
342
- kid : Some ( Alphanumeric . sample_string ( & mut rng , 10 ) ) ,
342
+ kid : None ,
343
343
password : None ,
344
344
key : Key :: Value ( rsa_key. to_pem ( pem_rfc7468:: LineEnding :: LF ) ?. to_string ( ) ) ,
345
345
} ;
@@ -355,7 +355,7 @@ impl SecretsConfig {
355
355
. await
356
356
. context ( "could not join blocking task" ) ?;
357
357
let ec_p256_key = KeyConfig {
358
- kid : Some ( Alphanumeric . sample_string ( & mut rng , 10 ) ) ,
358
+ kid : None ,
359
359
password : None ,
360
360
key : Key :: Value ( ec_p256_key. to_pem ( pem_rfc7468:: LineEnding :: LF ) ?. to_string ( ) ) ,
361
361
} ;
@@ -371,7 +371,7 @@ impl SecretsConfig {
371
371
. await
372
372
. context ( "could not join blocking task" ) ?;
373
373
let ec_p384_key = KeyConfig {
374
- kid : Some ( Alphanumeric . sample_string ( & mut rng , 10 ) ) ,
374
+ kid : None ,
375
375
password : None ,
376
376
key : Key :: Value ( ec_p384_key. to_pem ( pem_rfc7468:: LineEnding :: LF ) ?. to_string ( ) ) ,
377
377
} ;
@@ -387,7 +387,7 @@ impl SecretsConfig {
387
387
. await
388
388
. context ( "could not join blocking task" ) ?;
389
389
let ec_k256_key = KeyConfig {
390
- kid : Some ( Alphanumeric . sample_string ( & mut rng , 10 ) ) ,
390
+ kid : None ,
391
391
password : None ,
392
392
key : Key :: Value ( ec_k256_key. to_pem ( pem_rfc7468:: LineEnding :: LF ) ?. to_string ( ) ) ,
393
393
} ;
@@ -400,7 +400,7 @@ impl SecretsConfig {
400
400
401
401
pub ( crate ) fn test ( ) -> Self {
402
402
let rsa_key = KeyConfig {
403
- kid : Some ( "abcdef" . to_owned ( ) ) ,
403
+ kid : None ,
404
404
password : None ,
405
405
key : Key :: Value (
406
406
indoc:: indoc! { r"
@@ -419,7 +419,7 @@ impl SecretsConfig {
419
419
) ,
420
420
} ;
421
421
let ecdsa_key = KeyConfig {
422
- kid : Some ( "ghijkl" . to_owned ( ) ) ,
422
+ kid : None ,
423
423
password : None ,
424
424
key : Key :: Value (
425
425
indoc:: indoc! { r"
0 commit comments