-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: notes on reverse proxy setup * fix(docs): multiline code block back on multiple lines
- Loading branch information
Showing
3 changed files
with
63 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
# Backing up your account | ||
|
||
When you first run `charm`, it creates a new ED25519 key pair for you. | ||
That private key is the __key__ to your data. | ||
When you first run `charm`, it creates a new ED25519 key pair for you. That | ||
private key is the __key__ to your data. | ||
|
||
To back it up, you can use the `backup-keys` command, as such: | ||
|
||
```shell | ||
charm backup-keys | ||
```shell | ||
charm backup-keys | ||
``` | ||
|
||
It'll create a `charm-keys-backup.tar` file in the current folder. | ||
You can override the path by passing a `-o` flag, as such: | ||
It'll create a `charm-keys-backup.tar` file in the current folder. You can | ||
override the path by passing a `-o` flag, as such: | ||
|
||
```shell | ||
charm backup-keys -o ~/charm.tar | ||
```shell | ||
charm backup-keys -o ~/charm.tar | ||
``` | ||
|
||
You may also print the private key to STDOUT in order to pipe it into other command, such as [`melt`](https://github.com/charmbracelet/melt). | ||
Example usage: | ||
You may also print the private key to STDOUT in order to pipe it into other | ||
command, such as [`melt`](https://github.com/charmbracelet/melt). Example | ||
usage: | ||
|
||
```shell | ||
charm backup-keys -o - | melt | ||
```shell | ||
charm backup-keys -o - | melt | ||
``` | ||
|
||
Also worth reading [./docs/restore-account.md](./restore-account.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters