Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[cli] Update Ente CLI ENTE_CLI_SECRETS_PATH docs (#4047)

rippleFCL9401c9f0e13c
diff --git a/docs/docs/self-hosting/troubleshooting/keyring.md b/docs/docs/self-hosting/troubleshooting/keyring.md
index 066c2574d1..6aa1fefc89 100644
--- a/docs/docs/self-hosting/troubleshooting/keyring.md
+++ b/docs/docs/self-hosting/troubleshooting/keyring.md
@@ -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
@@ -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