VaultTub: Difference between revisions
Translate from boss.bathcs.com |
Update to be more accurate to the current system |
||
| Line 1: | Line 1: | ||
VaultTub is our self-hosted vaultwarden/bitwarden instance which can be accessed via [https://vault.bathcs.com vault.bathcs.com]. | VaultTub is our self-hosted vaultwarden/bitwarden instance managed by [[Bath Open Source Society|BOSS]] which can be accessed via [https://vault.bathcs.com vault.bathcs.com]. This allows societies to store and share passwords freely amongst themselves. | ||
During handover, you | During handover, you may be messaged to create an account and join the societies organisation on thep platform. | ||
For docs of how to use this, see [https://bitwarden.com/help/ bitwarden’s documentation]. | For docs of how to use this, see [https://bitwarden.com/help/ bitwarden’s documentation]. | ||
| Line 11: | Line 11: | ||
}} | }} | ||
You should be message or told by the previous committee that you need to signup so they can invite you. All bath students can freely make an account (though we ask you not to store your personal passwords on there). | |||
<ol style="list-style-type: decimal;"> | <ol style="list-style-type: decimal;"> | ||
<li><p> | <li><p>Go to [https://vault.bathcs.com vault.bathcs.com]</p></li> | ||
<li><p> | <li><p>Enter your uni email and click "Use single sign-on"</p></li> | ||
<li><p> | <li><p>Once redirected to our authentication site, enter your university username and password.</p></li> | ||
<li><p> | <li><p>You will be redirected back and asked to create a master password</p>{{Note|text=If you lose the password you will not be able to recover it|type=warn}}</li> | ||
< | <li><p>You may also receive emails during this process, if the email is in '''junk''', there should be a dropdown at the top of the email with the option to make “vault@bathcs.com” never go to your junk folder. Please select this as you will get a lot more emails after this point.</p></li> | ||
<li> | |||
< | |||
<li><p>'''REQUIRED''': [[#Two-step login|Set up 2FA]]</p></li> | <li><p>'''REQUIRED''': [[#Two-step login|Set up 2FA]]</p></li> | ||
<li><p>'''OPTIONAL''': [[#Keys|Follow security recommendations]]</p></li> | <li><p>'''OPTIONAL''': [[#Keys|Follow security recommendations]]</p></li> | ||
| Line 61: | Line 55: | ||
=== Emergency Access === | === Emergency Access === | ||
{{Note | {{Note|text= | ||
This is a '''requirement''' for all the [[#Quick note on owners|Owners of organisations]] | This is a '''requirement''' for all the [[#Quick note on owners|Owners of organisations]] | ||
}} | |type=warn}} | ||
We recommend setting up emergency access with at least 1 other person, this is for safety if you lose access to your account. | We recommend setting up emergency access with at least 1 other person, this is for safety if you lose access to your account. | ||
| Line 97: | Line 91: | ||
You can also change the “Vault timeout”, however this is '''not''' recommended. | You can also change the “Vault timeout”, however this is '''not''' recommended. | ||
==== Adding a Login ==== | |||
You can easily add a login by clicking the "New" button within the app, and filling out the details, along with the "website". Please make sure the owner is set to the '''society this login should live under''', as well as a collection set. | |||
From this interface you can also generate a password to fill in. The recommneded settings are: | |||
* >= 25 characters | |||
<li>include special characters</li> | |||
<li>min numbers: 2</li> | |||
<li>min special characters: 2</li> | |||
<li>uncheck “avoid ambiguous characters”</li> | |||
== Quick note on owners == | == Quick note on owners == | ||
| Line 134: | Line 140: | ||
== Handover procedures == | == Handover procedures == | ||
Please see [../handover/permissions. | Please see [https://boss.bathcs.com/handover/permissions/ our handover instructions]. | ||
=== Rotating passwords === | === Rotating passwords === | ||
| Line 179: | Line 185: | ||
You want to then either export the vault data or copy every single password into a new organisation. | You want to then either export the vault data or copy every single password into a new organisation. | ||
== | == Create an organisation for your society == | ||
All societies are welcome to have organisations to share passwords as we believe in good password policies. However, only BOSS committee can create a new organisation for you, and so please submit a request by emailing [mailto:su-boss@bath.ac.uk su-boss@bath.ac.uk]. | |||
They can do this through the [https://vault.bathcs.com/admin/users/overview admin interface] in the "Organisation" tab (however this interface is normally turned off and so has to be activated through a redeployment). | |||
== Instance Management stuff == | |||
=== Backups === | === Backups === | ||
Backups are handled by [[Bath Open Source Society|BOSS]] and is one of the few systems that get completely offsite backup on a third-party service along with the typical whole cluster backups. | |||
But the basic idea: | But the basic idea: | ||
* | * VaultTub get's backed up every 4 hours to our backup server. | ||
* | * The whole cluster get's backed up every day to our backup server | ||
* The specific VaultTub data (including passwords), get's backed up to [https://www.scaleway.com/en/ Scaleway] every day | |||
Contact [mailto:su-boss@bath.ac.uk su-boss@bath.ac.uk] if you have any questions. | Contact [mailto:su-boss@bath.ac.uk su-boss@bath.ac.uk] if you have any questions. You can also see [https://gitlab.bath.ac.uk/cs/int/terraform/ our configuration within terraform]. | ||
=== Emails === | === Emails === | ||
| Line 202: | Line 208: | ||
Emails are sent through my SMTP server on the same network, which cannot receive emails (because of the firewall) but can send them. | Emails are sent through my SMTP server on the same network, which cannot receive emails (because of the firewall) but can send them. | ||
I should mention this has dkim, dmarc and spf setup to help with bypassing spam filters. From testing this works fine however may end up in junk folders from now and again. | I should mention this has dkim, dmarc and spf setup to help with bypassing spam filters as well as being sent from a university IP (improving deliverability). From testing this works fine however may end up in junk folders from now and again. | ||
Revision as of 07:30, 4 June 2026
VaultTub is our self-hosted vaultwarden/bitwarden instance managed by BOSS which can be accessed via vault.bathcs.com. This allows societies to store and share passwords freely amongst themselves.
During handover, you may be messaged to create an account and join the societies organisation on thep platform.
For docs of how to use this, see bitwarden’s documentation.
Quick setup
You should be message or told by the previous committee that you need to signup so they can invite you. All bath students can freely make an account (though we ask you not to store your personal passwords on there).
Go to vault.bathcs.com
Enter your uni email and click "Use single sign-on"
Once redirected to our authentication site, enter your university username and password.
You will be redirected back and asked to create a master password
If you lose the password you will not be able to recover itYou may also receive emails during this process, if the email is in junk, there should be a dropdown at the top of the email with the option to make “vault@bathcs.com” never go to your junk folder. Please select this as you will get a lot more emails after this point.
REQUIRED: Set up 2FA
OPTIONAL: Follow security recommendations
REQUIRED: for Owners of organisations: set up emergency access
Previous committees/initiatives will add you to the relevant organisation as described in the handover procedure.
Recommended Settings
Once you have signed up with a password you can remember (but don’t use anywhere else), we recommend updating the following settings:
Settings can be found: “Profile Icon in top right > account settings”.
Two-step login
Assuming you don’t have a security key, we recommend using the “Authenticator App” option (see the instructions in 2fa section here for a more in-depth explanation of how to setup this).
If you have a security key (e.g. Yubikey), use the FIDO2 WebAuthn option. All other options have not been enabled as that takes time and is not worth it.
Keys
I recommend upgrading to use Argon2id with settings:
- KDF Iterations: 10
- KDF Memory: 64 (maximum that works with iOS)
- KDF Parrallelism 8
Emergency Access
We recommend setting up emergency access with at least 1 other person, this is for safety if you lose access to your account.
Head to the emergency access tab in the settings page and click “Add emergency contact”, entering the users email (Note they need to have a VaultTub account).
This should be required for users with a significant amount of power due to the risk of losing everything (we cannot recover your passwords).
Note this does require about 3 emails of back and forth accepting with the person (I have been fooled into thinking it was over before when it was not).
Using the extension/app
Bitwarden has a browser extension and an app which supports self-hosted instances (and multiple accounts).
To install the app or the extension:
- Download the extension, from Bitwarden’s download page
- Open it up
- if you already have an account you can click the profile icon and then click “Add account”.
- Under the input for the email address (set to “bitwarden” by default), you can select “self-hosted”.
- Input “https://vault.bathcs.com” for the server field and hit “Save” in the top right.
- Enter your login details for VaultTub.
Recommended settings
You may wish to change the default lockout period or add a pin, which can be done in the “Settings tab”. These are handled on a per account basis.
You can click “unlock with pin” and enter a pin (unchecking “unlock with master on browser restart” if you don’t want that).
You can also change the “Vault timeout”, however this is not recommended.
Adding a Login
You can easily add a login by clicking the "New" button within the app, and filling out the details, along with the "website". Please make sure the owner is set to the society this login should live under, as well as a collection set.
From this interface you can also generate a password to fill in. The recommneded settings are:
- >= 25 characters
Quick note on owners
Make sure you have at least two owners to an organisation. This is so we have backups to make sure we don’t lose access to the data.
For societies we recommend roles equivalent to chair and secretary. For other initiatives, we recommend you choose someone to act as the Owner.
Owners also require emergency access to be set up with someone who is not another owner of their organisation.
Recommended Use
This should be used for society passwords.
These society passwords should be stored in relevant organisations. You have the power to create as many organisations you like and share them with other people.
Organisations
To create an organisation, you can go to your “vaults” and click the “New organization” button on the side panel.
Once created you can go to the “Organizations” tab in the top right and choose the organisation to manage, where you can invite new members (via “Members > Invite Member”) or create a new collection (basically a folder which you can choose who has access to it).
For each member you can choose the role and what collections they have permission to access, the rest is up to you on how you organise everything.
Handover procedures
Please see our handover instructions.
Rotating passwords
As part of the handover procedures, it is recommended that each initiative rotates all the passwords stored in the organisation.
To do this, please follow this rough instruction list:
Open the item on VaultTub (either by the extension or website)
Copy the password and temporarily store it somewhere (e.g. in the notes section)
Visit the website
Navigate to the change password section (it’s different for every website)
On the extension, click “edit” on the item and click the “Generate Password” button and confirm that it will override the current password stored then
Password recommendations:
- >= 25 characters
- include special characters
- min numbers: 2
- min special characters: 2
- uncheck “avoid ambiguous characters”
Click “Save” on the item to save the new password
Paste the new password in the change password fields + change the password
Log out and log in again to make sure the new password has saved correctly
Delete the temporary storage of the old password
Add a line to the notes saying it was updated on the current date and include your name
How to deal with the worst case scenarios
If it is relating to the website being down, please contact su-boss@bath.ac.uk. Note that I do not have any access to any of the data stored as it is all encrypted.
I lost my password and don’t have Emergency Access
In that case, there is nothing we can do. Your account must be deleted and you will need to be re-invited (this means you WILL lose access to any password you have on the account). Organisations passwords can be recovered by other members of the organisation.
This is why you MUST either know your password by hand or store your password in your own password manager which also has a proper recovery procedure (which normally have to be emergency access contacts).
The owner of the organisation is not responding
If all owners of the organisation are not responding or have lost access to their account, this is slightly more of an issue so make sure to have multiple owners.
The organisation will have to be deleted and recreated. To save as many passwords as possible, get all other members to see what Collections they have access to and if they have permission to export the vault (found in the settings for the organisation).
You want to then either export the vault data or copy every single password into a new organisation.
Create an organisation for your society
All societies are welcome to have organisations to share passwords as we believe in good password policies. However, only BOSS committee can create a new organisation for you, and so please submit a request by emailing su-boss@bath.ac.uk.
They can do this through the admin interface in the "Organisation" tab (however this interface is normally turned off and so has to be activated through a redeployment).
Instance Management stuff
Backups
Backups are handled by BOSS and is one of the few systems that get completely offsite backup on a third-party service along with the typical whole cluster backups.
But the basic idea:
- VaultTub get's backed up every 4 hours to our backup server.
- The whole cluster get's backed up every day to our backup server
- The specific VaultTub data (including passwords), get's backed up to Scaleway every day
Contact su-boss@bath.ac.uk if you have any questions. You can also see our configuration within terraform.
Emails
Emails are sent through my SMTP server on the same network, which cannot receive emails (because of the firewall) but can send them.
I should mention this has dkim, dmarc and spf setup to help with bypassing spam filters as well as being sent from a university IP (improving deliverability). From testing this works fine however may end up in junk folders from now and again.