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
a11592cf
Verified
Commit
a11592cf
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
document mass password rotation (tpo/tpa/team#41530)
parent
f9f96093
No related branches found
Branches containing commit
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
+75
-1
75 additions, 1 deletion
service/password-manager.md
with
75 additions
and
1 deletion
service/password-manager.md
+
75
−
1
View file @
a11592cf
...
...
@@ -99,7 +99,81 @@ be rotated.
See
[
mass password rotation
](
#mass-password-rotation
)
procedures.
## TODO: Mass password rotation
## Mass password rotation
It's possible (but very time consuming) to rotate multiple passwords
in the store. For this, the
[
pass-update
](
https://github.com/roddhjav/pass-update/
)
tool is useful, as it
automates part of the process. It will:
1.
for all (or a subset of) passwords
2.
copy the current password to the clipboard (or show it)
3.
wait for the operator to copy-paste it to the site
4.
generate and save a new password, and copy it to the clipboard
So a bulk update procedure looks like this:
pass update -c
That will take a long time to proceed those, so it's probably better
to do it one service at a time. Here's documentation specific to each
section of the password manager. You should prioritize the
`dns`
and
`hosting`
sections.
See
[
issue 41530
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/41530
)
for a mass-password rotation run.
### DNS and hosting
Those two are similar and give access to critical parts of the
infrastructure, so they are worth processing first. Start with current
hosting and DNS providers:
pass update -c dns/joker dns/portal.netnod.se hosting/accounts.hetzner.com hosting/app.fastly.com
Then the rest of them:
pass update -c hosting
### Services
Those are generally websites with special accesses. They are of a
lesser priority, but should nevertheless be processed:
pass update -c services
It might be worth examining the service list to prioritize some of
them.
### root
Next, the root passwords need to be rotated.
TODO: fabric task?
### OOB
Similarly, out-of band access need to be reset. This involves logging
in to each server's BIOS and changing the password.
`pass update`
,
again, should help, but instead of going through a web browser, it's
likely more efficient to do this over SSH:
pass update -c oob
### LUKS
Next, full disk encryption keys.
TODO: fabric task?
### lists
Individual list passwords may be rotated, but that's a lot of trouble
and coordination. The site password should be changed, at least. When
Mailman 3 is deployed, all those will go away anyway.
### misc
Those can probably be left alone; it's unclear if they have any
relevance left and should probably be removed.
## Pager playbook
...
...
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