Individual lints may now be (optionally) configurable!
For Lint Authors
For lint authors, please see CONTRIBUTING.md for more details on how to write a lint that may receive optional configurations.
For users
For users of the CLI tool, configuring a particular lint is as simple as providing a valid toml file to ZLint.
zlint -config configFile.toml mycert.pem
ZLint also provides a facility for getting a print out of a valid, all default, configuration file such that users do not have to hunt through documentation to discover what lints are configurable and what their fields are.
For example...
zlint -exampleConfig
...currently prints to the terminal....
[AppleRootStorePolicyConfig]
[CABFBaselineRequirementsConfig]
[CABFEVGuidelinesConfig]
[CommunityConfig]
[MozillaRootStorePolicyConfig]
[RFC5280Config]
[RFC5480Config]
[RFC5891Config]
[e_rsa_fermat_factorization]
Rounds = 100
... (truncated)
Commits
8e996c0 Merge branch 'master' of github.com:zmap/zlint
13fcc6f util: gtld_map autopull updates for 2022-10-06T19:22:06 UTC (#693)
f4fe968 Merge branch 'zlint-gtld-update' of github.com:zmap/zlint
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/zmap/zlint/v3 from 3.3.1 to 3.4.0.
Release notes
Sourced from github.com/zmap/zlint/v3's releases.
... (truncated)
Commits
8e996c0
Merge branch 'master' of github.com:zmap/zlint13fcc6f
util: gtld_map autopull updates for 2022-10-06T19:22:06 UTC (#693)f4fe968
Merge branch 'zlint-gtld-update' of github.com:zmap/zlinta3a2cc0
Trigger GHAb67e984
util: gtld_map autopull updates for 2022-10-06T19:22:06 UTC137e46e
Lint to check for invalid KU lengths (#686)1209017
Prevent OU lint from applying to CA certificates. Add unit test to confirm c...44e12c1
Add lint to check for incorrect 'unused' bit encoding in KeyUsages (#684)3f5e40d
Lint for RSA close prime Fermat factorization susceptibility (#674)e5ee614
Support for Configurable Lints (#648)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)