From 19c59d9b059a66f29d89bc59e32636fbaaff8da2 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 7 May 2021 11:15:21 +0200 Subject: [PATCH] test: use rfc8705 vector --- .../certificate_bound_access_tokens.test.js | 2 +- test/jwks/client.crt | 25 +++++-------------- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/test/certificate_bound_access_tokens/certificate_bound_access_tokens.test.js b/test/certificate_bound_access_tokens/certificate_bound_access_tokens.test.js index 79af81abb..7fef889f3 100644 --- a/test/certificate_bound_access_tokens/certificate_bound_access_tokens.test.js +++ b/test/certificate_bound_access_tokens/certificate_bound_access_tokens.test.js @@ -7,7 +7,7 @@ const { expect } = require('chai'); const bootstrap = require('../test_helper'); const crt = readFileSync('./test/jwks/client.crt').toString(); -const expectedS256 = 'eXvgMeO-8uLw0FGYkJefOXSFHOnbbcfv95rIYCPsbpo'; +const expectedS256 = 'A4DtL2JmUMhAsvJj5tKyn64SqzmuXbMrJa0n761y5v0'; describe('features.mTLS.certificateBoundAccessTokens', () => { before(bootstrap(__dirname)); diff --git a/test/jwks/client.crt b/test/jwks/client.crt index 413533a17..e75960ffa 100644 --- a/test/jwks/client.crt +++ b/test/jwks/client.crt @@ -1,21 +1,8 @@ -----BEGIN CERTIFICATE----- -MIIDZjCCAk4CCQCn6c+ccGjlIzANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJD -WjELMAkGA1UECAwCUHIxCzAJBgNVBAcMAkNaMQowCAYDVQQKDAFGMQowCAYDVQQL -DAFBMRQwEgYDVQQDDAtjb21tb24gbmFtZTEeMBwGCSqGSIb3DQEJARYPZmlsaXBA -c2tva2FuLmV1MB4XDTE4MDkyMTE0NDA0OVoXDTE5MDkyMTE0NDA0OVowdTELMAkG -A1UEBhMCQ1oxCzAJBgNVBAgMAlByMQswCQYDVQQHDAJDWjEKMAgGA1UECgwBRjEK -MAgGA1UECwwBQTEUMBIGA1UEAwwLY29tbW9uIG5hbWUxHjAcBgkqhkiG9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