-
Notifications
You must be signed in to change notification settings - Fork 30
Add security policy, post-v1.0 MSRV bump policy #367
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3ea71de
Add an initial security policy
Shnatsel 5feca48
Link to the security policy from the README, add post-v1.0 policy on …
Shnatsel 7ad56cc
Clarify security policy
Shnatsel 5d17db5
apply review suggestion on wording
Shnatsel 8d27cda
Add a trailing newline
Shnatsel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| Starting with v1.0, we will provide security backports for the latest version of Fearless SIMD for each MSRV (minimum supported Rust version) for *at least* 3 years since its MSRV was released. | ||
|
|
||
| This ensures that security updates are just a `cargo update` away, no matter what Rust compiler version you use (as long as it's not older than 3 years). | ||
|
|
||
| As an example: if (hypothetically) both 1.0.x and 1.1.x have an MSRV of 1.89, while 1.2.x has MSRV of 1.100, both 1.1.x and 1.2.x will receive security backports, while 1.0.x will not because a fixed version with the same MSRV is already available and will be fetched by `cargo update`. If v2.0.0 is released, versions in v1.x.x series will continue receiving security backports as per the above policy. | ||
|
|
||
| Earlier versions may or may not receive security backports at the discretion of Fearless SIMD maintainers. | ||
|
|
||
| You can look up when each Rust version was released in the [Rust Release Notes](https://doc.rust-lang.org/stable/releases.html). | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| This repository follows a full disclosure policy. Please report security issues publicly on the Github issue tracker. | ||
|
|
||
| Entirely AI-generated reports are not permitted. While the use of LLMs for auditing code is welcome, | ||
| the issue must be reproduced and understood by a human before reporting. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the usual procedure for handling this? Do we create a new branch for each backported version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, branch off the git tag for that version. Even if we don't do tags, cargo now includes the git commit state into archive published to crates.io, so we always know where to branch off.