-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix PSD2 based cabfOrganizationIdentifier check (#880)
* fix: Fix PSD2 based cabfOrganizationIdentifier check * fix: Fix PSD2 based cabfOrganizationIdentifier check * code refactor * fix lints --------- Co-authored-by: Christopher Henderson <chris@chenderson.org>
- Loading branch information
1 parent
372cdc6
commit 77a6468
Showing
4 changed files
with
148 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
Certificate: | ||
Data: | ||
Version: 3 (0x2) | ||
Serial Number: 1726042924 (0x66e1532c) | ||
Signature Algorithm: sha256WithRSAEncryption | ||
Issuer: organizationIdentifier=PSDIT-BI-1234, CN=example.com | ||
Validity | ||
Not Before: Sep 11 08:22:03 2024 GMT | ||
Not After : Sep 11 08:22:03 2025 GMT | ||
Subject: organizationIdentifier=PSDIT-BI-1234, CN=example.com | ||
Subject Public Key Info: | ||
Public Key Algorithm: rsaEncryption | ||
Public-Key: (2048 bit) | ||
Modulus: | ||
00:a4:73:99:8a:7c:9a:49:9b:91:5b:dd:d3:34:22: | ||
a9:04:97:29:41:6f:d1:dd:34:30:28:d1:8c:8a:5a: | ||
4d:48:cd:27:63:38:53:85:77:cf:82:6b:4b:b4:cb: | ||
32:53:04:20:ae:98:7d:51:05:cd:fe:80:f4:ed:df: | ||
7d:c9:89:ed:70:bd:7c:a1:d7:b9:75:d9:5f:06:05: | ||
6a:18:f3:80:17:d6:b6:d6:ea:71:10:db:e7:68:d3: | ||
57:94:1f:79:0e:f4:72:99:66:ef:a8:e2:63:67:4b: | ||
f0:1d:98:75:4c:62:7b:6a:18:5e:4e:60:d4:cc:19: | ||
93:26:0e:a1:de:d7:47:84:36:10:99:ac:9a:4f:23: | ||
03:67:5e:34:ff:d5:f2:7b:df:39:e7:26:71:bd:8d: | ||
13:da:72:b2:76:65:a3:d0:7e:ab:8d:e6:e3:bd:cc: | ||
56:59:0b:17:e0:41:fb:a5:10:01:23:1e:c8:24:9e: | ||
7c:29:15:40:cd:6e:54:3b:54:99:8c:51:49:77:82: | ||
13:ee:63:b7:90:76:3e:9c:1d:4d:b7:13:dd:b5:f8: | ||
1f:62:bb:d4:cd:32:a2:61:fd:11:1f:4d:75:97:22: | ||
3a:76:cf:e0:65:0d:39:40:8e:7a:7c:48:6c:42:f0: | ||
7b:f9:fd:e0:82:df:53:d4:53:40:87:81:a0:c0:df: | ||
ca:99 | ||
Exponent: 65537 (0x10001) | ||
X509v3 extensions: | ||
X509v3 Basic Constraints: critical | ||
CA:FALSE | ||
X509v3 Key Usage: critical | ||
Digital Signature, Key Encipherment | ||
X509v3 Certificate Policies: | ||
Policy: 2.23.140.1.1 | ||
X509v3 Subject Key Identifier: | ||
55:E4:74:FC:B6:EF:25:AB:4E:B9:C8:7E:EB:3C:9F:8B:A8:00:9C:1B | ||
2.23.140.3.1: | ||
0...PSD..IT..1234 | ||
X509v3 Extended Key Usage: | ||
TLS Web Server Authentication, TLS Web Client Authentication | ||
Signature Algorithm: sha256WithRSAEncryption | ||
Signature Value: | ||
11:34:72:b8:bb:52:71:78:11:93:ef:a4:09:c5:1a:17:18:32: | ||
6d:34:e6:e6:58:be:42:65:bd:2e:1e:2e:c2:c7:bc:ab:21:a1: | ||
12:88:d3:85:80:9d:5e:0a:77:c4:67:b8:fc:09:54:c0:4d:e0: | ||
cb:6d:d8:80:9b:6f:f8:26:92:96:7c:55:ba:a4:85:66:f1:d1: | ||
8f:ae:59:e0:8e:53:90:06:f1:ff:4a:66:a0:18:ee:da:84:ec: | ||
3d:9c:7a:14:8f:65:c6:ae:84:02:b9:81:ba:75:0e:3e:47:f1: | ||
8f:2e:06:cb:be:2b:97:2a:02:19:05:89:6c:d7:8c:f5:b2:96: | ||
be:7d:62:14:8c:fa:34:37:9b:55:5d:ba:f9:a3:78:a5:c7:5f: | ||
85:bb:c9:30:bf:d7:d2:72:16:a4:0f:10:a4:c9:37:66:9a:60: | ||
a1:1d:23:5c:e5:cc:10:66:1f:55:56:82:86:1a:f4:ae:33:53: | ||
c0:02:51:c5:23:0e:21:e3:d3:1c:6f:2a:73:fe:14:47:77:11: | ||
e9:c2:f5:05:b6:ea:69:e6:9c:b7:a9:0d:7d:e7:e5:5f:9c:45: | ||
12:de:1b:a8:6e:80:5f:33:c9:68:85:8e:d9:04:8f:36:87:f2: | ||
fc:73:f6:0d:a4:67:85:05:7c:1d:df:ec:cd:cd:54:47:9d:e7: | ||
7a:d2:30:41 | ||
-----BEGIN CERTIFICATE----- | ||
MIIDajCCAlKgAwIBAgIEZuFTLDANBgkqhkiG9w0BAQsFADAuMRYwFAYDVQRhDA1Q | ||
U0RJVC1CSS0xMjM0MRQwEgYDVQQDDAtleGFtcGxlLmNvbTAeFw0yNDA5MTEwODIy | ||
MDNaFw0yNTA5MTEwODIyMDNaMC4xFjAUBgNVBGEMDVBTRElULUJJLTEyMzQxFDAS | ||
BgNVBAMMC2V4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC | ||
AQEApHOZinyaSZuRW93TNCKpBJcpQW/R3TQwKNGMilpNSM0nYzhThXfPgmtLtMsy | ||
UwQgrph9UQXN/oD07d99yYntcL18ode5ddlfBgVqGPOAF9a21upxENvnaNNXlB95 | ||
DvRymWbvqOJjZ0vwHZh1TGJ7ahheTmDUzBm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