Re: streaming over ssh and decrypting a file
On Fri, 19 Sep 2014 12:07:22 -0700
Ross Boylan <rossboylan@stanfordalumni.org> wrote:
> Did you mean to go offlist?
No, my mistake, sorry. I didn't check 'To:' field.
> > Ok, try from the other end - transfer an encrypted file, encrypt your
> > backup and compare those. It's a kludge, of course, but worth the
> > effort.
> If I understand the proposal, it doesn't fully validate the backup
> I've made, since I want to verify that the decrypted version of the
> backup matches the original. The original is often a block device.
Still, easiest thing to do IMO.
> > If it doesn't help - try using sponge (from 'moreutils' package) like
> > this:
> Hmm, looks as if that isn't installed.
> >
> > ssh kornak "cat markov/turtle.Lenny00.gpg" | gpg -d - | sponge | \
> > sudo cmp - /dev/turtle/Lenny00
> >
> Wouldn't this mean I'd need enough disk space to hold the decrypted file?
No, but it means you'll need enough memory to hold it. An idea was - if
stream compression is giving trouble - get rid of streaming.
Reco
Reply to: