Skip to content

Instantly share code, notes, and snippets.

View zozs's full-sized avatar

Linus Karlsson zozs

View GitHub Profile
@zozs
zozs / keybase.md
Created April 17, 2015 16:37
keybase.md

Keybase proof

I hereby claim:

  • I am zozs on github.
  • I am zozs (https://keybase.io/zozs) on keybase.
  • I have a public key whose fingerprint is 2D2D DA45 0011 6152 722E 9BA8 B8F4 80E7 0A3F 70A3

To claim this, I am signing this object:

@zozs
zozs / daemon.sh
Created March 7, 2020 12:47
Simplest credential manager you can think of :)
#!/bin/sh
set -e
# path of fifo, must be unique for this instance.
# so if you want several daemons running you need to fix this.
FIFO_PATH=/tmp/credmanager.sock
# read passphrase from user and store in var
echo -n "Enter passphrase: "