Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

On decryp option, are you able to create an output file even with no data to decrypt

Created: 14 Dec 2011 | 3 comments

Sometimes I get a file with no data to decrypt. I get the message as follows: 3031: input does not contain pgp data. It doesn't create the output file that I need (which is a different name that input name). Is there an option to force the creation of the output file regardless if there is data or not? An empty output file would be valid for my purposes. Thanks... b

Comments 3 CommentsJump to latest comment

Tom Mc's picture

Has the file been downloaded via FTP?  If so, try binary mode for the transfer if ASCII mode had been used, or vice versa.

When you consider your issue resolved, please click Mark As Solution on the most helpful response.

Search the Knowledge Base &

Julian_M's picture

PGP File as input is required for output, thats what you want to decrypt...its the purpose of the command

Taken from the guide:

The usage format is:
pgp --decrypt <input> [<input2> ...] [<inputd>...] [options]
Where:
<input> (required). Space-separated names of the files to decrypt.
<inputd>. Additional detached signature target files. Note that PGP Command
does not write output when decrypting detached signature files.
[options] modify the command.

 

If the the file is empty, encryption will be done and when decrypting, it will still be empty.

Please mark post as solution if questions addressed.

When you consider the issue resolved, please click Mark As Solution on the post that best provided the solution.
 

Tom Mc's picture

Were you able to resolve this?

When you consider your issue resolved, please click Mark As Solution on the most helpful response.

Search the Knowledge Base &