Multiple Encrypted Files in one file.

David Shaw dshaw at jabberwocky.com
Fri Apr 25 01:22:53 CEST 2008


On Apr 24, 2008, at 5:52 PM, Abhishek Gupta wrote:

> Hi All,
>
> I have the following issue: I get pgp encrypted files from my  
> service provider in the following format:
>
> -----BEGIN PGP MESSAGE-----
> Version: PGP 7.1
> qANQR1DBwEwDYWHBfd1Jrp0BCADsfc9DsOFrdIUI1nb3pRndB2gPTWFskScUQsek
> JbpliLPK/QhbBHnxYcrS3kFc/HvWGudPUGaitePxe8rpuZLUPpVV5FJGQN7Wln8k
> e49rVqRa9HC7BcRc2iAB/IJO8cjTtoakuf7PZyvP1njNWxoCycGEpTshTWiwMsmT
> r9+/ABH40jJyYLDZowrfUMhROH1Xe34Zv8DjO6A+URxulK+WFeQ3oVctmpPsY+Kc
> M9Vnl/vM6Gbk6g6I1CfZXhKlXrJ/iH8I1SvX6+jnJyTl1rb8nU2iwiEhaA==
> =OUtn
> -----END PGP MESSAGE-----
> -----BEGIN PGP MESSAGE-----
> Version: PGP 7.1
> qANQR1DBwEwDYWHBfd1Jrp0BB/9YjX5hZWvyUBosQT7cJkTZ75gq+HPxXj74RIWN
> JbpliLPK/QhbBHnxYcrS3kFc/HvWGudPUGaitePxe8rpuZLUPpVV5FJGQN7Wln8k
> e49rVqRa9HC7BcRc2iAB/IJO8cjTtoakuf7PZyvP1njNWxoCycGEpTshTWiwMsmT
> r9+/ABH40jJyYLDZowrfUMhROH1Xe34Zv8DjO6A+URxulK+WFeQ3oVctmpPsY+Kc
> M9Vnl/vM6Gbk6g6I1CfZXhKlXrJ/iH8I1SvX6+jnJyTl1rb8nU2iwiEhaA==
> =eZ9h
> -----END PGP MESSAGE-----
>
> I am getting this data in 1 file named ABC_12345.dat.asc. I need to  
> decrypt this file without splitting the file but when it try this i  
> am getting the following message: gpg: [don't know]: invalid packet  
> (ctb=1e).
>
> I wanted to know if it is possible to decrypt the file without  
> splitting it? If yes, how?

Sorry, no.  You must split the file before passing it to GPG.

David



More information about the Gnupg-users mailing list