Title: Throw on decode certificate errors · Issue #899 · microsoft/botbuilder-java · GitHub
Open Graph Title: Throw on decode certificate errors · Issue #899 · microsoft/botbuilder-java
X Title: Throw on decode certificate errors · Issue #899 · microsoft/botbuilder-java
Description: JwtTokenExtractor.validateToken // Note that decodeCertificate will return null if the cert could not // be decoded. This would likely be the case if it were in an unexpected // encoding. Going to err on the side of ignoring this check. ...
Open Graph Description: JwtTokenExtractor.validateToken // Note that decodeCertificate will return null if the cert could not // be decoded. This would likely be the case if it were in an unexpected // encoding. Going to ...
X Description: JwtTokenExtractor.validateToken // Note that decodeCertificate will return null if the cert could not // be decoded. This would likely be the case if it were in an unexpected // encoding. Going to ...
Opengraph URL: https://github.com/microsoft/botbuilder-java/issues/899
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Throw on decode certificate errors","articleBody":"JwtTokenExtractor.validateToken\r\n\r\n```\r\n // Note that decodeCertificate will return null if the cert could not\r\n // be decoded. This would likely be the case if it were in an unexpected\r\n // encoding. Going to err on the side of ignoring this check.\r\n // May want to reconsider this and throw on null cert.\r\n X509Certificate cert = decodeCertificate(key.certificateChain.get(0));\r\n if (cert != null \u0026\u0026 !isCertValid(cert)) {\r\n throw new JWTVerificationException(\"Signing certificate is not valid\");\r\n }\r\n```","author":{"url":"https://github.com/tracyboehrer","@type":"Person","name":"tracyboehrer"},"datePublished":"2021-01-11T15:03:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/899/botbuilder-java/issues/899"}
| 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:12418273-240b-7af2-a94c-cd9e5602ba1a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A53C:99A39:210BAF9:2AE38B5:699273E6 |
| html-safe-nonce | 0a7a8c13c341d505e20d2c084ebc7212e7d9a52d809eefa89f73ba130d929963 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTNDOjk5QTM5OjIxMEJBRjk6MkFFMzhCNTo2OTkyNzNFNiIsInZpc2l0b3JfaWQiOiIxMTE0NjIwNjg4ODM5MzczNzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 109a9b71a517a573f2358783f6e493442736629bf1e7516a1408bf220bd1a86a |
| hovercard-subject-tag | issue:783443722 |
| 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/microsoft/botbuilder-java/899/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3bca81f9a48737881948e980d7cf1a1e1a3206ee4729401ca651a36d75235d1c/microsoft/botbuilder-java/issues/899 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3bca81f9a48737881948e980d7cf1a1e1a3206ee4729401ca651a36d75235d1c/microsoft/botbuilder-java/issues/899 |
| og:image:alt | JwtTokenExtractor.validateToken // Note that decodeCertificate will return null if the cert could not // be decoded. This would likely be the case if it were in an unexpected // encoding. Going to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tracyboehrer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/botbuilder-java git https://github.com/microsoft/botbuilder-java.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 117021824 |
| octolytics-dimension-repository_nwo | microsoft/botbuilder-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 117021824 |
| octolytics-dimension-repository_network_root_nwo | microsoft/botbuilder-java |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width