Skip to content

Add /.well-known/security.txt (RFC 9116) - #863

Open
kobihikri wants to merge 1 commit into
tokio-rs:masterfrom
kobihikri:add-security-txt
Open

Add /.well-known/security.txt (RFC 9116)#863
kobihikri wants to merge 1 commit into
tokio-rs:masterfrom
kobihikri:add-security-txt

Conversation

@kobihikri

Copy link
Copy Markdown

Hi, and thank you for Tokio.

This adds a machine-readable /.well-known/security.txt (RFC 9116) to the site's public/ dir, so it serves at https://tokio.rs/.well-known/security.txt (currently 404). It just points automated tooling at the private reporting channel SECURITY.md already documents:

Contact: mailto:security@tokio.rs
Policy: https://github.com/tokio-rs/tokio/blob/master/SECURITY.md
Preferred-Languages: en
Canonical: https://tokio.rs/.well-known/security.txt
Expires: 2027-01-01T00:00:00.000Z

I verified the public/ passthrough serves at the site root (e.g. tokio.rs/favicon.ico returns 200), so this file will be served at the well-known path. RFC 9116 recommends refreshing Expires at least annually — feel free to adjust the date or values.

For transparency: I used AI assistance to help identify this and draft the file; I verified the live 404, the serving passthrough, and the SECURITY.md channel myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant