Skip to content

Instantly share code, notes, and snippets.

View ctrlok's full-sized avatar
🐒

Seva Poliakov ctrlok

🐒
View GitHub Profile
@ctrlok
ctrlok / ghcrypt.sh
Last active November 2, 2016 19:54
# Simple script which decode and encode messages based on user github key
#!/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

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: