Skip to content

Commit

Permalink
[cli] Update Ente CLI ENTE_CLI_SECRETS_PATH docs (#4047)
Browse files Browse the repository at this point in the history
Co-authored-by: seeg <[email protected]>
  • Loading branch information
rippleFCL and S33G authored Nov 18, 2024
1 parent cdb00ed commit 9401c9f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/docs/self-hosting/troubleshooting/keyring.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ box might give you some errors related to keyrings in some case.

Follow the below steps to run Ente CLI and also avoid keyrings errors.

- Create a secrets.txt file and save your user password inside it.
Run:

```sh
# export the secrets path
Expand All @@ -20,11 +20,14 @@ export ENTE_CLI_SECRETS_PATH=./<path-to-secrets.txt>

./ente-cli
```
You can also add the above line to your shell's rc file, to prevent the need to export manually every time.

And you are good to go.
Then one of the following:

1. If the file doesn't exist, Ente CLI will create it and fill it with a random 32 character encryption key.
2. If you do create the file, please fill it with a cryptographically generated 32 byte string.

- You can also add the above line to your shell's rc file, to not
having to export it manually every time.
And you are good to go.

## Ref

Expand Down

0 comments on commit 9401c9f

Please sign in to comment.