Skip to content

Instantly share code, notes, and snippets.

########### Configuration Parameters
$vpn_interface_desc = "PANGP Virtual Ethernet Adapter"
$wsl_interface_name = "vEthernet (WSL)"
$wsl_interface_id = "eth0"
$config_default_wsl_guest = 1 # 0: False, 1: True
$wsl_guest_list = @()
########### End Configuration Parameters
@l3rady
l3rady / OpenPGP-Yubikey-With-Backup.md
Last active July 4, 2023 14:51
OpenPGP Yubikey Setup with Backup Key

This guide will allow you to use your OpenPGP enabled Yubikey to securely send and recieve PGP encrypted files, sign code and messages and authenticate yourself E.G. When logging in over SSH. In this guide we are going to generate our PGP keys off our Yubikeys and transfer them on, this is so we can have identical coppies of PGP keys on multiple Yubikeys so that if we lose or damage one of them we can use our backup. For the most security concious people you would generate the PGP keys directly on the Yubikeys so that the private PGP keys are never out in the open but this bring complexities of managing different auth, encryption and signing keys. You can mitigate the problem of generating the PGP keys off of the Yubikeys by generating them on an air-gapped system. In this guide we are only going to have 1 backup but you can repeat the backup steps to create as many backup as you like. You can also use the backup steps to restore your PGP keys to a new Yubikey should you damage or lose your main one.

It is w

@l3rady
l3rady / keybase.md
Last active September 12, 2016 10:53

Keybase proof

I hereby claim:

  • I am l3rady on github.
  • I am l3rady (https://keybase.io/l3rady) on keybase.
  • I have a public key ASD9Gvsc_Z163Q1ZWV5mNNNuhxs27jPEWJ6Y8wojIlky7Qo

To claim this, I am signing this object:

@l3rady
l3rady / gist:7641166
Created November 25, 2013 13:28
One line install OS X Mavericks to USB Stick
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction