Skip to content

Commit

Permalink
test: use rfc8705 vector
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed May 7, 2021
1 parent 1bb6d5d commit 19c59d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
25 changes: 6 additions & 19 deletions test/jwks/client.crt
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
-----BEGIN CERTIFICATE-----
MIIDZjCCAk4CCQCn6c+ccGjlIzANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJD
WjELMAkGA1UECAwCUHIxCzAJBgNVBAcMAkNaMQowCAYDVQQKDAFGMQowCAYDVQQL
DAFBMRQwEgYDVQQDDAtjb21tb24gbmFtZTEeMBwGCSqGSIb3DQEJARYPZmlsaXBA
c2tva2FuLmV1MB4XDTE4MDkyMTE0NDA0OVoXDTE5MDkyMTE0NDA0OVowdTELMAkG
A1UEBhMCQ1oxCzAJBgNVBAgMAlByMQswCQYDVQQHDAJDWjEKMAgGA1UECgwBRjEK
MAgGA1UECwwBQTEUMBIGA1UEAwwLY29tbW9uIG5hbWUxHjAcBgkqhkiG9w0BCQEW
D2ZpbGlwQHNrb2thbi5ldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
ALlGyiTCxAqmJPrZfe2LFO4yz0H3mOfB+o1CjQdRO3x++cOvMLfiTjmxKaVfyAsF
7oJkjb/pOSDlCYGQZe38hX5tUJRXvs4B9a8eRnUatViKS3aD0X2V01cMK1KLLJK3
G3ANPpW5JLg9WL5Bu7zdScfdkXYmHszUWOGVTyt43HOoYVj/++7npoOt2JVarcRV
Pc9BVBFjxmAamdevRIuaORt3agQAJo6HJ2m/fVaQWXvcdRT3ss3Hsz8wTFg+HPtN
qZol+IqolePc92U6pOZxIhp0RgELfHnw1KszyQkUckOCpM22intG02Zu6jVBoBxZ
Elu4VVkK/PWEPL6HErP37CsCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAJD8H0vPx
KPNZ1tmMea/QDmAcg4vGvOFCew2lGloFaPI87WfS9YRsvdyNWucQGB2u8sctTpF5
MBSscoDEJ0cDzQGfE0FfI/pNU+23KFoV0as1mrlZs07lteiEoDFslxgit7Iac9iJ
12QnnUpgKzw3E7f+iadVIDQLZKZdexmMJlu0ICWsODzOKPRpLaovxN7GZnXhaqgE
PM6sK8XzJ28csn3iYSW02BHdUUQrPMzZOHwkrNUtQosk6qqcikSU3oQYTPxCS2bG
w+Gr8F1+Qwzzg5b1Giakc744YSGBksmu4DL5CCPXuNuX2hLrNi+3J3trj6m6RoEf
NsIzdYYAwiq7hw==
MIIBBjCBrAIBAjAKBggqhkjOPQQDAjAPMQ0wCwYDVQQDDARtdGxzMB4XDTE4MTAx
ODEyMzcwOVoXDTIyMDUwMjEyMzcwOVowDzENMAsGA1UEAwwEbXRsczBZMBMGByqG
SM49AgEGCCqGSM49AwEHA0IABNcnyxwqV6hY8QnhxxzFQ03C7HKW9OylMbnQZjjJ
/Au08/coZwxS7LfA4vOLS9WuneIXhbGGWvsDSb0tH6IxLm8wCgYIKoZIzj0EAwID
SQAwRgIhAP0RC1E+vwJD/D1AGHGzuri+hlV/PpQEKTWUVeORWz83AiEA5x2eXZOV
bUlJSGQgjwD5vaUaKlLR50Q2DmFfQj1L+SY=
-----END CERTIFICATE-----

0 comments on commit 19c59d9

Please sign in to comment.