Apologies if this has already been fixed; only reference I could find
to this error was from several years ago.

Running s3cmd 0.9.8.3-1 (default package for debian lenny), received
the above error when trying to 'get' an encrypted file which was
encrypted and stored with s3cmd from s3.

The problem appears to be that the destination stream isn't closed
or flushed before the decrypt routine is called, so pgp isn't seeing
the entire encrypted stream.  The following seemed to fix it.

252a253,255
> # JD close the destination in case we need to decrypt it
>               if destination != "-":
>                   dst_stream.close()

Thanks for making this available.

Regards,

Jeff

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to