Merge branch 'dev' into vhs
This commit is contained in:
commit
7eea76f2be
@ -7,7 +7,7 @@ tags: [ "Documentation", "data", "GPG" ]
|
|||||||
Generate keys:
|
Generate keys:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gpg --gen-key
|
gpg --full-generate-key
|
||||||
```
|
```
|
||||||
|
|
||||||
Follow the guide.
|
Follow the guide.
|
||||||
@ -24,7 +24,12 @@ Check you have an encrypted version of your file.
|
|||||||
|
|
||||||
# Changing Expiration Dates
|
# Changing Expiration Dates
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
gpg --list-keys
|
gpg --list-keys
|
||||||
|
# or...
|
||||||
|
gpg -k
|
||||||
|
```
|
||||||
|
|
||||||
... and then use the second part of 'pub', which is the ID. But that's not appearing here so... on with gpg2?
|
... and then use the second part of 'pub', which is the ID. But that's not appearing here so... on with gpg2?
|
||||||
|
|
||||||
@ -72,11 +77,11 @@ You get something like this:
|
|||||||
pub rsa3072 2021-08-15 [SC] [expires: 2023-08-15]
|
pub rsa3072 2021-08-15 [SC] [expires: 2023-08-15]
|
||||||
CD30421FD825696BD95F1FF644C62C57B790D3CF
|
CD30421FD825696BD95F1FF644C62C57B790D3CF
|
||||||
uid [ultimate] Malin Freeborn <malinfreeborn@posteo.net>
|
uid [ultimate] Malin Freeborn <malinfreeborn@posteo.net>
|
||||||
sub rsa3072 2021-08-15 [E] [expires: 2023-08-15]
|
sub rsa3072 2021-08-15 [E] [expires: after-forever]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Notice the long, ugly, string - CD30421FD825696BD95F1FF644C62C57B790D3CF - and how horribly ugly it is.
|
Notice the long, ugly, string - `CD30421FD825696BD95F1FF644C62C57B790D3CF` - and how horribly ugly it is.
|
||||||
This is a fingerprint.
|
This is a fingerprint.
|
||||||
|
|
||||||
You can now decide the trust level (this stays on your computer).
|
You can now decide the trust level (this stays on your computer).
|
||||||
@ -124,7 +129,7 @@ Refreshing keys will tell you if some key you have contains a signature from som
|
|||||||
gpg --refresh-keys
|
gpg --refresh-keys
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use the [crontab](../../basics/cron.md) to refresh keys.
|
You can use the [crontab](../../basics/cron.md) to refresh keys, but this will mostly fail, since keyservers often don't hold the right data.
|
||||||
|
|
||||||
# Export
|
# Export
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ If the file is in your home - `~` - but `transmission` is not allowed in your ho
|
|||||||
Next, find the torrent's number. You can use multiple numbers, separated with a comma:
|
Next, find the torrent's number. You can use multiple numbers, separated with a comma:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
transmission-remote -t 3,5,8 --move /home/alice/music
|
transmission-remote -t 3,5,8 --move $HOME/music
|
||||||
```
|
```
|
||||||
|
|
||||||
## Change Default Location
|
## Change Default Location
|
||||||
|
@ -93,7 +93,9 @@ apt install python3-certbot-nginx
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
certbot --nginx -d *mysite.tk* --non-interactive --agree-tos -m *webmaster@email.tld*
|
domain=example.com
|
||||||
|
my_email=me@posteo.uk
|
||||||
|
certbot --nginx -d "$domain" --non-interactive --agree-tos -m "$my_email"
|
||||||
```
|
```
|
||||||
|
|
||||||
When you are asked about redirecting from HTTP to HTTPS, say yes (option "2").
|
When you are asked about redirecting from HTTP to HTTPS, say yes (option "2").
|
||||||
|
Loading…
Reference in New Issue
Block a user