Snow Signatures
Peter Gerwinski introduced a quite reasonable idea in de.org.ccc. For details, you should best refer to his page at snsg.org. My code is just another incarnation of his proposal.
You can get the script or the module. Both are cryptographically signed. The license for both script and module is the GPL.
Installation
You probably want the script. Download it, verify its signature, put it somewhere you like, e.g. /usr/local/bin, or ~/bin, and make it executable. If you don't have it already, install the GnuPG::Interface Module from CPAN.
That's all. You can now use snsg.pl.
Usage
Calling it with snsg.pl --help will give some usage information.
When being called without --pass <password> specified, a random passphrase will be used.
So, if you simply want to encrypt random data with a random passphrase, use it with
echo | snsg.pl
If you want some plaintext encrypted, but still a random passphrase, use
echo "What you want 2b encrypted" | snsg.pl
If you want plaintext encrypted with a specified passphrase, usage is like this:
echo "What you want 2b encrypted" | snsg.pl --pass some_passphrase
Decryption can be done via:
echo "the_ciphertext" | snsg.pl --decode --pass the_passphrase
Download
|
script |
8.5 K |
|
signature |
234 |
|
module |
7.9 K |
|
signature |
234 |