-
Notifications
You must be signed in to change notification settings - Fork 41
tracker: add security splash page as index #159
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
Open
SantiagoTorres
wants to merge
5
commits into
master
Choose a base branch
from
add-security-information-page
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
56a2d78
tracker: add security splash page as index
SantiagoTorres 6e01ad0
tracker/view/login: rewire redir index->index_vuln
SantiagoTorres 6b653a1
test: add test_home, refactor test_index
SantiagoTorres 7345545
templates:home: fix wiki url, mention freenode
SantiagoTorres b0372ae
templates:home: use url_for for CVE index in home
SantiagoTorres 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| from flask import url_for | ||
| from werkzeug.exceptions import NotFound | ||
|
|
||
|
|
||
| def test_home(db, client): | ||
| resp = client.get(url_for('tracker.home', path=''), follow_redirects=True) | ||
| assert 200 == resp.status_code |
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
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,41 @@ | ||
| {%- extends "base.html" -%} | ||
| {% block content %} | ||
|
|
||
| <h1>Arch Linux Security</h2> | ||
|
|
||
| For Arch Linux security is paramount, and a dedicated team of staffers and | ||
| volunteers helps with triaging, prioritizing, confirming, patching and | ||
| notifying about vulnerabilities in Arch Linux components as well as | ||
| packages provided in the official repositories. | ||
|
|
||
| <h2>Reporting Vulnerablities in Arch Linux Components or Infrastructure</h3> | ||
|
|
||
| If you have discovered a vulnerability in packages related to core | ||
| components or in Arch Linux infrastructure don't hesitate to reach out | ||
| to <a href="mailto:[email protected]">[email protected]</a> to | ||
| discuss remediation. You can encrypt your email to the following gpg keys. | ||
| <!-- FIXME: we'll have to figure this one out on the backend --> | ||
| <ul> | ||
| <li><a href="https://www.archlinux.org/people/developers/#anthraxx">Levente Polyak</a> | ||
| <tt>E240 B57E 2C46 30BA 768E 2F26 FC1B 547C 8D81 72C8</tt></li> | ||
|
|
||
| <li><a href="https://www.archlinux.org/people/support-staff/#rgacogne">Remi Gacogne</a> | ||
| <tt>A4CB EA79 7489 8599 195E 4FEC 46EC 46F3 9F3E 2EF1</tt></li> | ||
|
|
||
| <li><a href="https://www.archlinux.org/people/developers/#allan">Allan McRae</a> | ||
| <tt>6645 B0A8 C700 5E78 DB1D 7864 F99F FE0F EAE9 99BD</tt></li> | ||
|
Comment on lines
+25
to
+26
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we remove Allan? @anthraxx |
||
| </ul> | ||
|
|
||
| <h2>Vulnerabilities in Upstream Packages</h3> | ||
|
|
||
| Our <a href="{{ url_for('tracker.index_vulnerable') }}">CVE tracker</a> can help you | ||
| review the vulnerabilities that affect the packages we provide. If you | ||
| think a CVE that affects a package is not listed in there, do not hesitate | ||
| to reach out to us in irc on <tt>#archlinux-security</tt> in | ||
| <a href="https://freenode.net">freenode</a>. | ||
|
|
||
| <h2>Securing your Arch Linux installation</h3> | ||
|
|
||
| Consider checking this | ||
| <a href="https://wiki.archlinux.org/index.php/Security">Wiki page for more information</a> | ||
| {%- endblock %} | ||
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,8 @@ | ||
| from flask import render_template | ||
|
|
||
| from tracker import tracker | ||
|
|
||
|
|
||
| @tracker.route('/', methods=['GET']) | ||
| def home(): | ||
| return render_template('home.html') |
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
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.
Uh oh!
There was an error while loading. Please reload this page.