mirror of
https://github.com/autistic-symposium/shell-whiz-toolkit.git
synced 2025-08-11 07:40:22 -04:00
add things resources from the last 5 years over machines
This commit is contained in:
parent
ac9c955e0b
commit
3efc19e1f2
77 changed files with 2327 additions and 84 deletions
58
gpg/README.md
Normal file
58
gpg/README.md
Normal file
|
@ -0,0 +1,58 @@
|
|||
## gpg shortcuts
|
||||
|
||||
<br>
|
||||
|
||||
(adapted from [bt3gl's 20216 guide](https://coderwall.com/p/ajtlqa/getting-started-with-pgp-gpg))
|
||||
|
||||
|
||||
1. create a key (choose RSA with 4096):
|
||||
|
||||
```
|
||||
gpg --full-generate-key
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
2. share the public key with:
|
||||
```
|
||||
gpg --armor --export > public-key.asc
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
3. upload to some keyservers, such as ubuntu or MIT:
|
||||
```
|
||||
gpg --send-keys --keyserver keyserver.ubuntu.com KEYID
|
||||
gpg --keyserver hkp://pgp.mit.edu --send-key KEYID
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
4. backup the private key:
|
||||
```
|
||||
gpg --export-secret-keys --armor KEYID > priv.asc
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
5. list your keys:
|
||||
```
|
||||
gpg --list-keys
|
||||
gpg --list-secret-keys
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
6. clean up if needed:
|
||||
```
|
||||
gpg --delete-secret-key KEYID
|
||||
gpg --delete-key KEYID
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
7. finally, you should upload your key into official servers such as **[ubuntu](https://keyserver.ubuntu.com/)** or **[mit](https://pgp.mit.edu/)**.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue