Skip to content

Commit 55ff690

Browse files
authored
docs: add security page (#4922)
1 parent 3ed918b commit 55ff690

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
+ `\n`
6363
+ `## Security\n`
6464
+ `\n`
65-
+ `Binaries have been produced by the [Release workflow](https://github.com/${owner}/${repo}/actions/workflows/release.yml)`
66-
+ ` without human intervention.\n`
65+
+ `Binaries are compiled from source through the [Release workflow](https://github.com/${owner}/${repo}/actions/workflows/release.yml) without human intervention,`
66+
+ ` preventing any external interference.`
6767
+ `\n`
6868
+ 'You can verify that binaries have been produced by the workflow by using [GitHub Attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds):\n'
6969
+ `\n`

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Security Policy
1+
# Security
22

3-
Vulnerabilities can be reported privately by using the [Security Advisory](https://github.com/bluenviron/mediamtx/security/advisories/new) feature of GitHub.
3+
Check the [Security page](https://mediamtx.org/docs/other/security) on the website.

docs/4-other/3-security.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Security
2+
3+
## Reporting vulnerabilities
4+
5+
Vulnerabilities can be reported privately by using the [Security Advisory](https://github.com/bluenviron/mediamtx/security/advisories/new) feature of GitHub.
6+
7+
## Binaries
8+
9+
Binaries are compiled from source through the [Release workflow](https://github.com/bluenviron/mediamtx/actions/workflows/release.yml) without human intervention, preventing any external interference.
10+
11+
You can verify that binaries have been produced by the workflow by using [GitHub Attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds):
12+
13+
```sh
14+
ls mediamtx_* | xargs -L1 gh attestation verify --repo bluenviron/mediamtx
15+
```
16+
17+
You can verify the binaries checksum by downloading `checksums.sha256` and running:
18+
19+
```sh
20+
cat checksums.sha256 | grep "$(ls mediamtx_*)" | sha256sum --check
21+
```
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)