-
Notifications
You must be signed in to change notification settings - Fork 61
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
Change supportsOcspStapling from boolean to version based #138
Comments
This would be useful for proftpd for example. |
@gene1wood All the The fact these bool values are only presentational is used e. g. in HSTS where set to false to disable the checkbox in configs where the HSTS is always enabled and can't be disabled — so it's merely a flag to make the UI input disabled (read only), even when there is HSTS support 🤷 I like the way how |
We might start by commenting the version information in src/js/configs.js. I think HandlebarJS templates are far from ideal and not at all clear places to read specs, even though they implement the specs for display. |
x-ref: "Change supportsOcspStapling from boolean to version based" mozilla#138 github: closes mozilla#138
I submitted #274 to move support version check with supportsOcspStapling. I preserved the existing behavior of "not explicitly false means that supportsOcspStapling is true-ish". For UX, this logic could be extended with a special value for "supported-but-not-configurable" so that the checkbox in the GUI is not user-modifiable (e.g. to uncheck) when the server always supports OCSP stapling. Following this pattern for other variables could move more logic out of the templates and into state.js, reducing the size and complexity of the templates. Taking a step back, this issue from 2021 was a 10-minute PR #274 for me. We should have a discussion about making sure that there at least some contributors who have the skills to maintain this project. (For the project-manager-types who might comment that this was not high priority, well then those project managers should have marked this issue as such, or triaged the issue into a wishlist maintained elsewhere.) I have spent longer commenting on this issue than I did writing the code and testing for #274. |
x-ref: "Change supportsOcspStapling from boolean to version based" mozilla#138 github: closes mozilla#138
Currently
supportsOcspStapling
is either true or false for a given server, but for servers that initially didn't support OCSP Stapling, but then added that support at a given version (like lighttpd) neither true nor false is really true.I suggest updating the behavior
The text was updated successfully, but these errors were encountered: