Skip to content

Instantly share code, notes, and snippets.

@ctrlok
ctrlok / ghcrypt.sh
Last active Nov 2, 2016
# Simple script which decode and encode messages based on user github key
View ghcrypt.sh
#!/bin/bash
# Simple script which decode and encode messages based on user github key.
# Usage:
# Encrypt:
# echo "My secret is" | ./ghcrypt.sh -u ctrlok
# Decrypt:
# echo "BASE64SCRET" | ./ghcrypt.sh -k ~/.ssh/id_rsa
while getopts "u:k:" opt
View keybase.md

Keybase proof

I hereby claim:

  • I am ctrlok on github.
  • I am ctrlok (https://keybase.io/ctrlok) on keybase.
  • I have a public key whose fingerprint is 3141 EC67 27FE 2A0C 8FDF D9CE 33C2 CFDD 1D7B 7A86

To claim this, I am signing this object: