Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 1998 17:49:03 -0400 (EDT)
From:      "Woodchuck"  <djv@bedford.net>
To:        francisco@natserv.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: How to have a secure/encrypted backup?
Message-ID:  <199810092149.RAA26274@castor.chuck>
In-Reply-To: <199810070523.BAA28582@federation.addy.com> from Francisco Reyes at "Oct 7, 98 01:23:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Francisco Reyes wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Is there a way to encrypt a backup going to tape?
> 
> Prefer something that would work with dump, but any method would be
> good.

You ought to be able to put bdes(1) in the pipeline, like:

	tar czplf - / | bdes -k BigSeCreT >/dev/???

See the man page for bdes.  I would imagine that any cipher that
reads from stdin and writes on stdout will fill the bill.

I'm guessing here, and the pipe is just a suggestion for a starting
point for experimentation. There may be issues with streaming speed
and/or blocking.  Maybe adding a dd after the bdes could help that?
Just guessing...

It might be a useful and clever hack to add a switch to dump/restore 
to incorporate encryption.

Note, in the example, BigSeCreT may appear in ps listings, etc. There
are ways around that.

Dave
-- 
       Will hack for cabbages!  Every day is Groundhog Day!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810092149.RAA26274>