зеркало из https://github.com/mozilla/fxa.git
Merge pull request #17286 from mozilla/fix/repair-genkeys
fix(auth): handle missing key comparison in genkeys
This commit is contained in:
Коммит
3421d103fe
|
@ -82,8 +82,8 @@ if (oldPubJWK) {
|
|||
'openid.oldKey must be a valid public key'
|
||||
);
|
||||
assert.notEqual(
|
||||
currentPrivJWK.kid,
|
||||
oldPubJWK.kid,
|
||||
currentPrivJWK?.kid,
|
||||
oldPubJWK?.kid,
|
||||
'openid.key.kid must differ from openid.oldKey.id'
|
||||
);
|
||||
PRIVATE_JWKS_MAP.set(oldPubJWK.kid, oldPubJWK);
|
||||
|
|
Загрузка…
Ссылка в новой задаче