This one time, at band camp, Jamie Wilkinson wrote: >So I'm now led to believe that any cipher that uses a CBC style >algorithm can cope with errors, but gpg specifically aborts when an >error is encountered. It looks like that behaviour can be disabled with >the --ignore-mdc-error option though.
Nup. tar xf - dir | gpg -se > foo.tar.gpg dd if=foo.tar.gpg count=32000 bs=1 > bar.tar.gpg dd if=/dev/urandom count=1 bs=1 >> bar.tar.gpg dd if=foo.tar.gpg skip=32001 bs=1 >> bar.tar.gpg gpg --decrypt --ignore-mdc-error bar.tar.gpg | tar tf - not happy at all :-) The cause seems to be that gpg doesn't let you choose a streaming mode, though the algorithms themselves can work with either. James has informed me that openssl can do it, so my next question is how does one encrypt and decrypt with openssl? :-) The manpage lacks useful examples... -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
