encryptify encrypts files
C Other Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.tarballignore
LICENSE
Makefile.am
README
base64.c
bcrypt_pbkdf.c
blf.h
blowfish.c
configure.ac
encryptify.1
encryptify.c
explicit_bzero.c
portability.patch
sha2.c
sha2.h
timingsafe_bcmp.c
tweetnacl.c
tweetnacl.h
update.sh

README

Encryptify
==========

Encryptify encrypts and decrypts using symmetric key cryptography.  It is
inspired by the signify[1] tool in OpenBSD, to the extent that it even borrows
some of signify's source.

[1] http://www.tedunangst.com/flak/post/signify

Examples
--------

Create a new key pair:
      $ encryptify -G -p newkey.pub -s newkey.sec

Encrypt stdin and write it to stdout:
      $ encryptify -E -p key.pub

Encrypt a named file:
      $ encryptify -E -p key.pub file

Decrypt stdin and write it to stdout:
      $ encryptify -D -s key.sec

Decrypt a named file:
      $ encryptify -D -s key.sec file


To Install
----------

    apt-get install libbsd-dev
    autoreconf -ivf # (only needed if compiling from git, not tarball)
    ./configure
    make
    sudo make install

To Update
---------

    mkdir openbsd
    tar xzf /path/to/OpenBSD/src.tar.gz -C openbsd
    OPENBSD_SOURCE=openbsd ./update.sh

This will automatically pull in sources that were copied from the OpenBSD
source tree and patch them as necessary.  The update script was built for 5.8
and may need changes in the future.