Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
b6b6adaf
Verified
Commit
b6b6adaf
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
document root password rotation (tpo/tpa/team#41530)
parent
98aef198
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/password-manager.md
+45
-2
45 additions, 2 deletions
service/password-manager.md
with
45 additions
and
2 deletions
service/password-manager.md
+
45
−
2
View file @
b6b6adaf
...
...
@@ -143,11 +143,54 @@ lesser priority, but should nevertheless be processed:
It might be worth examining the service list to prioritize some of
them.
Note that it's impossible to change the following passwords:
*
[
DNSwl
](
https://www.dnswl.org/
)
: they specifically refuse to allow users to change their
passwords (!) ("To avoid any risks of (reused) passwords leaking as
the result of a security incident, the dnswl.org team preferred to
use passwords generated server-side which can not be set by the
user.")
The following need coordination with other teams:
*
anti-censorship:
`archive.org-gettor`
,
`google.com-gettor`
### root
Next, the root passwords need to be rotated.
Next, the root passwords should be rotated. This can be automated with
a
[
Fabric
](
howto/fabric
)
task, and should be tested with a single host first:
TODO: fabric task?
fab -H survey-01.torproject.org host.password-change --pass-dir=tor/root
Then go on the host and try the generated password:
ssh survey-01.torproject.org
then:
login root
Typing the password should just work there. If you're confident in the
procedure, this can be done for all hosts with the delicious:
fab -H $(
echo $(
ssh puppetdb-01.torproject.org curl -s -G http://localhost:8080/pdb/query/v4/facts \
| jq -r ".[].certname" | sort -u \
) | sed 's/ /,/g'
) host.password-change --pass-dir=tor/root
If it fails on one of the host (e.g. typically
`dal-rescue-02`
), you can skip past that host with:
fab -H $(
echo $(
ssh puppetdb-01.torproject.org curl -s -G http://localhost:8080/pdb/query/v4/facts \
| jq -r ".[].certname" | sort -u \
| sed '0,/dal-rescue-02/d'
) | sed 's/ /,/g'
) host.password-change --pass-dir=tor/root
Then the password needs to be reset on that host by hand.
### OOB
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment