Skip to content

Instantly share code, notes, and snippets.

View klaushardt's full-sized avatar

Philipp Klaushardt klaushardt

View GitHub Profile
@klaushardt
klaushardt / gpg2-with-master-keypair.sh
Created January 7, 2019 11:32 — forked from steeb/gpg2-with-master-keypair.sh
GPG2 with master keypair
#debian install gpg2
sudo apt-get install -t experimental gnupg2 dirmngr
#verify versions
gpg2 --version
#gpg (GnuPG) 2.1.1
#libgcrypt 1.6.2
dirmngr --version
#dirmngr (GnuPG) 2.1.1
@klaushardt
klaushardt / GPG Security Best Practice.md
Created August 5, 2018 10:31 — forked from Integralist/GPG Security Best Practice.md
[GPG Security Best Practice] #gpg #security #encryption

Concept

https://alexcabal.com/creating-the-perfect-gpg-keypair/

  1. Create a regular GPG keypair. By default GPG creates one signing subkey (your identity) and one encryption subkey (how you receive messages intended for you).

  2. Use GPG to add an additional signing subkey to your keypair. This new subkey is linked to the first signing key. Now we have three subkeys.

  3. This keypair is your master keypair. Store it in a protected place like your house or a safe-deposit box. Your master keypair is the one whose loss would be truly catastrophic.

@klaushardt
klaushardt / .vimrc
Created July 6, 2018 18:46 — forked from simonista/.vimrc
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on