Skip to content

Commit 59d9d29

Browse files
authored
Merge pull request #3896 from luixxiul/fix
Edit docs: consistent instructions to generate passphrases or secrets with pwgen
2 parents f204a3a + f044bdd commit 59d9d29

24 files changed

+32
-32
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ To migrate to the new setup, expect a few minutes of downtime, while you follow
21922192

21932193
1. We believe the steps below are safe and you won't encounter any data loss, but consider [making a Postgres backup](docs/maintenance-postgres.md#backing-up-postgresql) anyway. If you've never backed up Postgres, now would be a good time to try it.
21942194

2195-
2. Generate a strong password to be used for your superuser Postgres user (called `matrix`). You can use `pwgen -s 64 1` to generate it, or some other tool. The **maximum length** for a Postgres password is 100 bytes (characters). Don't go crazy!
2195+
2. Generate a strong password to be used for your superuser Postgres user (called `matrix`). You can create one with a command like `pwgen -s 64 1`. The **maximum length** for a Postgres password is 100 bytes (characters). Don't go crazy!
21962196

21972197
3. Update your playbook's `inventory/host_vars/matrix.example.com/vars.yml` file, adding a line like this:
21982198
```yaml

docs/configuring-playbook-alertmanager-receiver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This service uses a bot (with a username specified in `matrix_alertmanager_recei
1414

1515
The playbook does not automatically create users for you. You **need to register the bot user manually** before setting up the bot.
1616

17-
Choose a strong password for the bot. You can generate a good password with a command like this: `pwgen -s 64 1`.
17+
Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
1818

1919
You can use the playbook to [register a new user](registering-users.md):
2020

docs/configuring-playbook-backup-borg.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ where:
6060
* USER - SSH user of a provider/server
6161
* HOST - SSH host of a provider/server
6262
* REPO - BorgBackup repository name, it will be initialized on backup start, eg: `matrix`, regarding Syntax see [Remote repositories](https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls)
63-
* PASSPHRASE - passphrase used for encrypting backups, you may generate it with `pwgen -s 64 1` or use any password manager
63+
* PASSPHRASE - passphrase used for encrypting backups. You can create one with a command like `pwgen -s 64 1`.
6464
* PRIVATE KEY - the content of the **private** part of the SSH key you created before. The whole key (all of its belonging lines) under `backup_borg_ssh_key_private` needs to be indented with 2 spaces
6565
6666
To backup without encryption, add `backup_borg_encryption: 'none'` to your vars. This will also enable the `backup_borg_unknown_unencrypted_repo_access_is_ok` variable.

docs/configuring-playbook-bot-baibot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ matrix_bot_baibot_enabled: true
3838
# Uncomment and adjust this part if you'd like to use a username different than the default
3939
# matrix_bot_baibot_config_user_mxid_localpart: baibot
4040

41-
# Generate a strong password here. Consider generating it with `pwgen -s 64 1`.
41+
# Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
4242
# If you'd like to change this password subsequently, see the details below.
4343
matrix_bot_baibot_config_user_password: 'PASSWORD_FOR_THE_BOT'
4444

4545
# An optional passphrase to use for backing up and recovering the bot's encryption keys.
46-
# You can put any string here, but generating a strong one is preferred (e.g. `pwgen -s 64 1`).
46+
# You can create one with a command like `pwgen -s 64 1`.
4747
#
4848
# If set to null, the recovery module will not be used and losing your session/database
4949
# will mean you lose access to old messages in encrypted room.

docs/configuring-playbook-bot-buscarron.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ matrix_bot_buscarron_enabled: true
1414
# Uncomment and adjust this part if you'd like to use a username different than the default
1515
# matrix_bot_buscarron_login: bot.buscarron
1616

17-
# Generate a strong password here. Consider generating it with `pwgen -s 64 1`
17+
# Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
1818
matrix_bot_buscarron_password: PASSWORD_FOR_THE_BOT
1919

2020
# Adjust accepted forms

docs/configuring-playbook-bot-chatgpt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The playbook does not automatically create users for you. The bot requires an ac
1212

1313
You **need to register the bot user manually** before setting up the bot.
1414

15-
Choose a strong password for the bot. You can generate a good password with a command like this: `pwgen -s 64 1`.
15+
Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
1616

1717
You can use the playbook to [register a new user](registering-users.md):
1818

docs/configuring-playbook-bot-draupnir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If your migrating from Mjolnir skip to [this section](#migrating-from-mjolnir-on
1414

1515
The playbook does not automatically create users for you. You **need to register the bot user manually** before setting up the bot.
1616

17-
Choose a strong password for the bot. You can generate a good password with a command like this: `pwgen -s 64 1`.
17+
Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
1818

1919
You can use the playbook to [register a new user](registering-users.md):
2020

docs/configuring-playbook-bot-go-neb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The playbook does not automatically create users for you. The bot requires at le
1414

1515
You **need to register the bot user manually** before setting up the bot.
1616

17-
Choose a strong password for the bot. You can generate a good password with a command like this: `pwgen -s 64 1`.
17+
Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
1818

1919
You can use the playbook to [register a new user](registering-users.md):
2020

docs/configuring-playbook-bot-honoroit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix_bot_honoroit_enabled: true
1616
# Uncomment and adjust this part if you'd like to use a username different than the default
1717
# matrix_bot_honoroit_login: honoroit
1818

19-
# Generate a strong password here. Consider generating it with `pwgen -s 64 1`
19+
# Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
2020
matrix_bot_honoroit_password: PASSWORD_FOR_THE_BOT
2121

2222
# Adjust this to your room ID

docs/configuring-playbook-bot-matrix-registration-bot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix_bot_matrix_registration_bot_enabled: true
1717
# Uncomment and adjust this part if you'd like to use a username different than the default
1818
# matrix_bot_matrix_registration_bot_matrix_user_id_localpart: bot.matrix-registration-bot
1919

20-
# Generate a strong password here. Consider generating it with `pwgen -s 64 1`
20+
# Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`.
2121
matrix_bot_matrix_registration_bot_bot_password: PASSWORD_FOR_THE_BOT
2222

2323
# Enables registration

0 commit comments

Comments
 (0)