ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to decrypt ASCII files with PGP Command Line 10.5

book

Article ID: 228185

calendar_today

Updated On:

Products

Desktop Email Encryption Drive Encryption Encryption Management Server Endpoint Encryption File Share Encryption Gateway Email Encryption PGP Command Line PGP Key Management Server PGP Key Mgmt Client Access and CLI API PGP SDK

Issue/Introduction

In some cases, files encrypted with ASCII are decrypted with error "operation failed, bad signature":

pgp --decrypt test1.txt.pgp --passphrase "xxxxx" --verbose
pgp:decrypt (3157:current local time 2021-05-12T12:39:31-04:00)
/directory/test/pgp/pubring.pkr:open keyrings (1006:public keyring)
/directory/test/pgp/secring.skr:open keyrings (1007:private keyring)
pgptest1.txt.pgp:decrypt (3177:message signed by key ID 0x1234ABCD)
pgptest1.txt.pgp:decrypt (3038:signing key 0x1234ABCD User1 <[email protected]>)
pgptest1.txt.pgp:decrypt (3079:signing key invalid)
pgptest1.txt.pgp:decrypt (3040:signature created 2021-05-07T05:01:02-04:00)
pgptest1.txt.pgp:decrypt (3170:signature hash SHA-1)
pgptest1.txt.pgp:decrypt (3035:good signature)
pgptest1.txt.pgp:decrypt (3178:message signed by subkey ID 0x2345BCDE)
pgptest1.txt.pgp:decrypt (3038:signing key 0x1234ABCD User1 <[email protected]>)
pgptest1.txt.pgp:decrypt (3079:signing key invalid)
pgptest1.txt.pgp:decrypt (3040:signature created 2021-05-07T05:01:02-04:00)
pgptest1.txt.pgp:decrypt (3170:signature hash SHA-1)
pgptest1.txt.pgp:decrypt (3036:bad signature)
Decoding file test1.txt.pgp... 100% (1.6KB)
pgptest1.txt.pgp:decrypt (0:output file TEST1234)
pgp:decrypt (3090:operation failed, bad signature)

Resolution

This issue was observed only with PGP Command Line 10.5, and did not happen with version 10.4.2.

For further troubleshooting on this issue, please contact Symantec Encryption Support.