change formatting

input examples are now given as

```bash
input $ARG1
```

While outputs use md's '> ' sign as a quote.
This commit is contained in:
2023-06-17 21:28:20 +02:00
parent 1ba3010b81
commit ba8026e0c3
102 changed files with 2388 additions and 3211 deletions

View File

@@ -8,21 +8,35 @@ Setup [gpg](./gpg.md) keys.
Show your gpg secret it:
> gpg --list-secret-keys
```bash
gpg --list-secret-keys
```
Then use the id number under `sec` to make a pass repo:
> pass init 187233O300300814PQ793NSSS539SQ1O6O184532
```bash
KEY="$(gpg --list-secret-keys | grep -m 1 -A1 '^sec' | tail -n 1)"
```
To add a basic password, e.g. for an encrypted tarball, use:
```bash
pass init $KEY
```
> pass add my-tar-gar.gz
To add a basic password, e.g. for `$WEBSITE`:
```bash
pass $WEBSITE
```
To insert a multiline password, e.g. with a login name:
> pass add -m linuxrocks.online
```bash
pass add -m $WEBSITE
```
Remove a password:
> pass rm linuxrocks.online
```bash
pass rm $WEBSITE
```