Skip to content

Instantly share code, notes, and snippets.

View gtmadureira's full-sized avatar
🤠
Working from home.

Gustavo Madureira gtmadureira

🤠
Working from home.
View GitHub Profile
@gtmadureira
gtmadureira / gpg-ssh-setup.md
Created February 5, 2023 17:08 — forked from mcattarinussi/gpg-ssh-setup.md
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.

@gtmadureira
gtmadureira / gpg_with_ecc.md
Last active November 27, 2022 21:10
Build a secure GPG Key

Build a secure GPG Key

web page mode

Start build new keypair...

For this purpose, I recommend you to boot on Tails and stay offline, Tails Linux contain many good things like OnionShare, a persistant encrypted volume, and many others.

Generate new Key (with only C|capability flag)

gpg --expert --full-generate-key

Keybase proof

I hereby claim:

  • I am gtmadureira on github.
  • I am gtmadureira (https://keybase.io/gtmadureira) on keybase.
  • I have a public key ASACXyV_mWYlfVEuhssQmsa0u2pVyUBujqrX5KSozJ-gewo

To claim this, I am signing this object: