This forum is in archive mode. You will not be able to post new content.

Author Topic: Piping data using gpg..  (Read 1146 times)

0 Members and 1 Guest are viewing this topic.

Offline frog

  • Knight
  • **
  • Posts: 232
  • Cookies: 16
    • View Profile
Piping data using gpg..
« on: August 24, 2012, 10:32:13 PM »
I have an idea for a program and I was considering using gpg and keys/rings when I came across some useful information about how to pipe data in and out using gpg. I ended up deciding not to use gpg b/c keeping sets of keys/rings is a pain in the ass. Anyways, here's the fruit.

echo "Data to be encrypted" | gpg --encrypt -r <yourid> | gpg --decrypt -r <yourid>


 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.