0.0
No commit activity in last 3 years
No release in over 3 years
Create encrypted directory tree archive for backing-up sensitive data.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
>= 0

Runtime

~> 2.0.8
 Project Readme

SecureArchive Build Status

Need to backup a tree of files but can't trust the storage?

This gem provides a gpg-archiver command that can be used to build and maintain an encrypted copy of a directory tree using GnuPG. The encrypted directory can be backed-up to untrusted storage using your regular backup solution.

Installation

If you plan to build an application embedding SecureArchive, add this line to your application's Gemfile:

gem 'secure_archive'

And then execute:

$ bundle

If you plan to use the gpg-archiver utility, simply run:

$ gem install secure_archive

Usage

The gpg-archiver utility requires at least a GnuPG recipient (provided using the -r argument), followed by the source and target directories. If the source directory has a trailing /, the directory content (and not the directory itself) will be archived, so the following commands are equivalent:

gpg-archiver -r user@example.com /var/www/example.com/uploads  /var/backup/example.com
gpg-archiver -r user@example.com /var/www/example.com/uploads/ /var/backup/example.com/uploads

Contributing

  1. Fork it ( https://github.com/sante-link/secure_archive/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request