Skip to content

Instantly share code, notes, and snippets.

View puiterwijk's full-sized avatar

Patrick Uiterwijk puiterwijk

View GitHub Profile
package main
import (
"os"
"fmt"
"crypto/ecdsa"
"crypto/rand"
"crypto/elliptic"
"crypto/x509"
@puiterwijk
puiterwijk / BusKill logind
Created January 17, 2020 22:47
System security notes
# https://tech.michaelaltfield.net/2020/01/02/buskill-laptop-kill-cord-dead-man-switch/
ACTION=="remove", SUBSYSTEM=="usb", RUN+="/usr/bin/loginctl lock-sessions"
@puiterwijk
puiterwijk / sshclient.service
Created January 14, 2020 11:45
Notes for Qubes
[Unit]
Description=SSH Vault connection
[Service]
User=user
Group=user
Type=exec
WorkingDirectory=/home/user
ExecStart=ncat -k -l -U .SSH_AGENT_vault -c 'qrexec-client-vm vault qubes.SshAgent'
@puiterwijk
puiterwijk / cloudSettings
Last active August 26, 2020 09:15
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-26T09:15:04.092Z","extensionVersion":"v3.4.3"}

Keybase proof

I hereby claim:

  • I am puiterwijk on github.
  • I am puiterwijk (https://keybase.io/puiterwijk) on keybase.
  • I have a public key whose fingerprint is 178D CFB4 151B D949 D2EB 087E 8657 980D 9AB5 1E50

To claim this, I am signing this object: