Title: Ability to access certificate extensions through `Crypto` API `X509Certificate` class · Issue #48730 · nodejs/node · GitHub
Open Graph Title: Ability to access certificate extensions through `Crypto` API `X509Certificate` class · Issue #48730 · nodejs/node
X Title: Ability to access certificate extensions through `Crypto` API `X509Certificate` class · Issue #48730 · nodejs/node
Description: What is the problem this feature will solve? Key usages (not extend) are completely different and can only be accessed through certificate extension under OID 2.5.29.15 which contains value in a bit array format. Key usage can have for d...
Open Graph Description: What is the problem this feature will solve? Key usages (not extend) are completely different and can only be accessed through certificate extension under OID 2.5.29.15 which contains value in a bi...
X Description: What is the problem this feature will solve? Key usages (not extend) are completely different and can only be accessed through certificate extension under OID 2.5.29.15 which contains value in a bi...
Opengraph URL: https://github.com/nodejs/node/issues/48730
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ability to access certificate extensions through `Crypto` API `X509Certificate` class","articleBody":"### What is the problem this feature will solve?\n\nKey usages (not extend) are completely different and can only be accessed through certificate extension under OID 2.5.29.15 which contains value in a bit array format.\r\n\r\nKey usage can have for definition: Digital signature, Non-repudiation, Key encipherment, Data encipherment, Key agreement, Certificate signing, CRL signing, Encipher only, Decipher only.\r\n\r\nAs of now Crypto API only provides access to[ Extended Key usage under the `x509.keyUsage`](https://github.com/nodejs/node/issues/48727) but does not provide access to the Key Usage through the certificate Extensions part.\n\n### What is the feature you are proposing to solve the problem?\n\nHaving a method the class `x509` that can allow to have access to the Extension part of a certificate through a safe structure.\n\n### What alternatives have you considered?\n\nUsing 3rd party libraries like PKIjs or Forge, but I would like a native feature instead.","author":{"url":"https://github.com/jeffsec-aws","@type":"Person","name":"jeffsec-aws"},"datePublished":"2023-07-10T19:44:21Z","url":"https://github.com/nodejs/node/issues/48730"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:08cfef79-b941-cc10-5020-5ec67af3ef3f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BE6:E7FB1:408F4E:5361AA:6AED2063 |
| html-safe-nonce | 1a899e567625d9997e2484cab482798395ac19cc70300b9407108e525e380560 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkU2OkU3RkIxOjQwOEY0RTo1MzYxQUE6NkFFRDIwNjMiLCJ2aXNpdG9yX2lkIjoiOTU3NTM1NDk4NDE2MjM0NTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 93b2122715ad70b2284aa806c8f6b0650ac603c36bf0bee530f5eb68a5c46583 |
| hovercard-subject-tag | issue:1797456724 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/48730/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7383d67ade8850eb0a081c83744fe2122e53e48241c749fef55bd95bbb10c4ec/nodejs/node/issues/48730 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7383d67ade8850eb0a081c83744fe2122e53e48241c749fef55bd95bbb10c4ec/nodejs/node/issues/48730 |
| og:image:alt | What is the problem this feature will solve? Key usages (not extend) are completely different and can only be accessed through certificate extension under OID 2.5.29.15 which contains value in a bi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeffsec-aws |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3e0f7f63e50c6fe879198a93a0a023a648ecc0a5e9bc3b5e033ac57172237e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 707a24b346ac8a82878b9c084efaa38a997660cb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width