You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,7 +219,7 @@ Here are a few examples how to keep a passphrase strong but easy to remember:
164
219
### 1.2 Key generation
165
220
If you don't have a GPG key yet, create a new one first. You can use RSA (4096 bits) or ECC (Curve 25519) for a strong key. GPG offers you the option to use the most future-proof key algorithm available. Use the most recent version gnupg2, not gnupg1!
166
221
167
-
Ed25519 ECC GPG keys are currently [not supported by Github](https://help.github.com/articles/generating-a-new-gpg-key/#supported-gpg-key-algorithms). To generate an ECC key use `future-default`instead of `rsa4096` as parameter.
222
+
Ed25519 ECC GPG keys are still not supported by every software/platform. To generate an RSA key use `rsa4096`instead of `future-default` as parameter.
168
223
169
224
**Make sure that your secret key is stored somewhere safe and use a unique strong password.**
The generated key has the fingerprint `6718A9A63030E182A86FEE152F8E73B1D445CCD3` in this example. Share it with others so they can verify your source. [[Read more]](https://wiki.archlinux.org/index.php/GnuPG#Create_key_pair)
243
+
The generated key has the fingerprint `6718A9A63030E182A86FEE152F8E73B1D445CCD3` in this example. Share it with others so they can verify your source. [[Read more]](https://wiki.archlinux.org/index.php/GnuPG#Create_a_key_pair)
189
244
190
245
If you ever move your installation make sure to backup `~/.gnupg/` as it contains the **private key** and the **revocation certificate**. Handle it with care. [[Read more]](https://wiki.archlinux.org/index.php/GnuPG#Revoke_a_key)
To make it easy for everyone else to find your key it is crucial that you publish the [**full fingerprint**](https://lkml.org/lkml/2016/8/15/445) on a trusted platform, such as your website or Github. To give the key more trust other users can sign your key too. [[Read more]](https://wiki.debian.org/Keysigning)
208
263
209
264
### 2.3 Associate GPG key with Github
210
-
To make Github display your commits as "verified" you also need to add your public [GPG key to your Github profile](https://github.com/settings/keys). [[Read more]](https://help.github.com/articles/generating-a-gpg-key/)
265
+
To make Github display your commits as "verified" you also need to add your public [GPG key to your Github profile](https://github.com/settings/keys). [[Read more]](https://docs.github.com/github/authenticating-to-github/adding-a-new-gpg-key-to-your-github-account)
**Do not blindly sign the Github source downloads** unless you have compared its content with the local files via `diff.`[[Read more]](https://wiki.archlinux.org/index.php/GnuPG#Make_a_detached_signature)
*[SSL Server Test](https://www.ssllabs.com/ssltest/)
294
349
@@ -306,5 +361,19 @@ The script also supports [uploading to Github](https://developer.github.com/v3/r
306
361
## Email Encryption
307
362
You can also use your GPG key for email encryption with [thunderbird](https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq).
308
363
364
+
## Update key expire date
365
+
366
+
After renewing the GPG key expire date make sure to [publish your GPG key](https://github.com/NicoHood/gpgit#2-publish-your-key) again to the keyserver and update your website accordingly. A more detailed instruction can be found at [G-Loaded Journal](https://www.g-loaded.eu/2010/11/01/change-expiration-date-gpg-key/).
367
+
368
+
```
369
+
gpg2 --edit-key <fingerprint>
370
+
gpg> expire
371
+
gpg> 1y
372
+
gpg> key 1
373
+
gpg> expire
374
+
gpg> 1y
375
+
gpg> save
376
+
```
377
+
309
378
## Contact
310
379
You can get securely in touch with me [here](https://contact.nicohood.de). My GPG key ID is `9731 2D5E B9D7 AE7D 0BD4 3073 51DA E9B7 C1AE 9161`. Don't hesitate to [file a bug at Github](https://github.com/NicoHood/gpgit/issues). More cool projects from me can be found [on my Website](https://www.nicohood.de).
0 commit comments