Skip to content

Commit

Permalink
doc: replace storage-encryption-key flag with $CALENDARSYNC_ENCRYPTIO…
Browse files Browse the repository at this point in the history
…N_KEY
  • Loading branch information
MichaelEischer committed Sep 26, 2023
1 parent a5986e0 commit 17330a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ make build
## To run without a build

```bash
go run cmd/calendarsync/main.go --config <yourConfigFile> --storage-encryption-key <yourPasswordForTheLocalAuthFile>
CALENDARSYNC_ENCRYPTION_KEY=<yourPasswordForTheLocalAuthFile> go run cmd/calendarsync/main.go --config <yourConfigFile>
```

## Git commit messages
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ data to a third party.
# How to use

Download the newest [release](https://github.com/inovex/CalendarSync/releases)
for your platform or install from [the AUR](https://aur.archlinux.org/packages/calendarsync-bin), create a modified `sync.yaml` file based on the content of the `./example.sync.yaml` file. Finally, start the app using `./calendarsync --config sync.yaml --storage-encryption-key <YourSecretPassword>` and follow the instructions in the output.
for your platform or install from [the AUR](https://aur.archlinux.org/packages/calendarsync-bin), create a modified `sync.yaml` file based on the content of the `./example.sync.yaml` file. Finally, start the app using `CALENDARSYNC_ENCRYPTION_KEY=<YourSecretPassword> ./calendarsync --config sync.yaml` and follow the instructions in the output.

The app will create a file in the execution folder called `auth-storage.yaml`. In
this file the OAuth2 Credentials will be saved encrypted by your
`storage-encryption-key`.
`$CALENDARSYNC_ENCRYPTION_KEY`.

# Configuration

Expand Down

0 comments on commit 17330a6

Please sign in to comment.