On Tue, 2010-03-16 at 14:22 -0500, Dustin J. Mitchell wrote: > On Tue, Mar 16, 2010 at 1:55 PM, Dustin J. Mitchell <[email protected]> wrote: > > I'm sorry we don't have any good solid answers for you.. > > Well, I can give a little more detail. I encrypted a backup with > amcryptsimple, then changed the passphrase and tried to decrypt it. I > got: > > gpg: decryption failed: Bad session key > > Incidentally: > Tue Mar 16 14:12:47 2010: amfetchdump: <xferfilterproc...@0x13a7030>: > process exited with status 0 > which makes it hard for amfetchdump (or amidxtaped, behind the scenes > for amrecover) to know anything has gone wrong. I suppose we should > special-case a zero-length output as "failed".. > > Some scribbling on the dumpfile on my vtape got gpg to say: > > gpg: [don't know]: invalid packet (ctb=39) > gpg: [don't know]: invalid packet (ctb=5d) > gpg: [don't know]: invalid packet (ctb=2a) > > which also doesn't match the error you saw. > > dus...@euclid ~/code/amanda/t/amanda [master] $ gpg --version > gpg (GnuPG) 2.0.11 > libgcrypt 1.4.4 > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Dustin >
I tried using the -l option on amfetchdump, but it still wants to be able to decrypt the file before it dumps it amfetchdump: slot 16: time 20100302090001 label laptops-0016 (exact label match) Scanning volume laptops-0016 (slot 16) amfetchdump: 1: restoring FILE: date 20100302090001 host mlb-laptop.imparisystems.local disk /home/mlb/ImpariSystems lev 1 comp .gz program /bin/tar crypt enc client_encrypt /usr/sbin/amcryptsimple client_decrypt_option -d gpg: decryption failed: bad key I'm working back through the files just to see if one of these hits - I can't imagine using a separate passphrase on this set than on any other groups. Thanks for all the help Matt Burkhardt Impari Systems, Inc. [email protected] http://www.imparisystems.com http://www.linkedin.com/in/mlburkhardt 502 Fairview Avenue Frederick, MD 21701 work (301) 682-7901 cell (301) 802-3235
