-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document the list of possible errors for tls#TLSSocket#authorizationError #29342
Comments
Pull request welcome. You can find the list of codes here: Lines 2563 to 2589 in 0150490
Node uses the textual error message as the error code when it doesn't recognize openssl's status code. You can find that list here but note that it may change anytime openssl is upgraded: node/deps/openssl/openssl/crypto/x509/x509_txt.c Lines 21 to 182 in 0150490
|
Hi @bnoordhuis, thank you for the list. As for the PR, maybe this makes you understand why I won't (and if not, so be it): when I myself write code and/or I do a PR, you can expect that there are tests, and documentation of any new public interfaces. I see that as part of being a conscientious/professional programmer. I don't feel like doing someone's interface documentation for them |
If you're trying to shame someone into stepping up: that code was written a long time ago by people who haven't been involved with the project for years. If you're not interested enough to open a PR, then I'll go ahead and close this out. You're the first one to inquire so it can't be that sorely missed from the docs. |
Signed-off-by: Dan Čermák <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: James M Snell <[email protected]> PR-URL: nodejs#37096 Fixes: nodejs#29342 Fixes: nodejs#29342 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Signed-off-by: Dan Čermák <[email protected]> Co-authored-by: Antoine du Hamel <[email protected]> Co-authored-by: James M Snell <[email protected]> PR-URL: #37096 Fixes: #29342 Fixes: #29342 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Is your feature request related to a problem? Please describe.
I'm trying to implement the EST enrollment protocol over TLS. In this protocol, I have to continue the TLS connection even on SOME of the possible TLS handshake errors. Unfortunately, the list of possible errors is not documented (the NodeJS Errors documentation page doesn't list them and neither does the TLS documentation page)
Describe the solution you'd like
The NodeJS TLS documentation page should list all possible values for the authorizationError property
The text was updated successfully, but these errors were encountered: