The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

sstool - Secret::Simple sstool command line tool

VERSION

This document describes Secret::Simple sstool version 0.11

SYNOPSIS

  Usage: sstool [options] [decrypt|encrypt] [ciphertext]

  Options:

    -f keyfile         use specified file as key
    -F keyfile_b64     use specified file as (base 64 enc) key
    -h                 help (this display)
    -i infile          specify input file
    -I infile_b64      specify input file (base 64 enc contents)
    -k                 use multi-line STDIN for key
    -K                 use multi-line STDIN for (base 64 enc) key
    -o outfile         specify output file
    -0 outfile_b64     specify output file (base 64 enc contents)
    -p                 use one-line STDIN as key
    -P                 use one-line STDIN as (base 64 enc) key

  * Key values and plaintext must be input from a file or STDIN. Any
    STDIN key value will be expected before STDIN plain or ciphertext.
    A STDIN key option (-k or -p) and the -f file key option may be
    used together to specify a combined key, STDIN key first.

  * A dash (-) can be substituted for any filename to have the input
    or output be from STDIN or STDOUT respectively. By default encrypt
    will expect one line of raw STDIN text, and decrypt will expect
    either a Base 64 encoded command-line argument or one line of
    encoded STDIN.

DESCRIPTION

The sstool command line utility complements the Secret::Simple module by simplifying creation and manipulation of encrypted data.

EXAMPLES

Decrypt encoded ciphertext using default key:

    % sstool decrypt 'zzpjnDlUqz3+KCke5Rr4dA=='

Encrypt plaintext using specified file as key:

    % sstool -f ~/secret.key encrypt
    jblow^password

AUTHOR

Adam G. Foust, <nospam-agf@cpan.org>

COPYRIGHT AND LICENSE

Copyright (c) 2006, Adam G. Foust. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.