Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PGP Encryption Module: Could not extract private key


Hello,

The following error happens when we are using PGP module to encrypt the file in file sender communication channel.

The scenario is we got file from a SAP folder first, then encrypt it in the sender communication channel and finally SFTP it to another system.

12.01.2015 08:44:02.921InformationMP: processing local module localejbs/PGPEncryption
12.01.2015 08:44:02.921InformationPGP Encryption Module: Message 5316be93-82b2-11e4-a9c5-000026e0243e arrived in PGP Module.
12.01.2015 08:44:02.921InformationPGP Encryption Module: Reading public key at /usr/sap/.../sec/ABC.asc
12.01.2015 08:44:02.921InformationPGP Encryption Module: The module-paramteter "asciiArmored" is not set. Using default value "true"
12.01.2015 08:44:02.921InformationPGP Encryption Module: The module-paramteter "format" is not set. Using default value "binary"
12.01.2015 08:44:02.921InformationPGP Encryption Module: The module-paramteter "keyRootPath" is not set. Using default value "/usr/sap/.../sec"
12.01.2015 08:44:02.921WarningPGP Encryption Module: The module-paramteter "dynamicFileName" is not set. Will be using Message ID as the file name while encrypting.
12.01.2015 08:44:02.921WarningPGP Encryption Module: The module-paramteter "dynamicNamespace" is not set. Will be using Message ID as the file name while encrypting.
12.01.2015 08:44:02.934InformationPGP Encryption Module: Reading private key at /usr/sap/.../sec/DEF.skr
12.01.2015 08:44:03.009ErrorPGP Encryption Module: Could not extract private key (org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20)
12.01.2015 08:44:03.010ErrorMP: exception caught with cause org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20
12.01.2015 08:44:03.016ErrorAttempt to process file failed with org.bouncycastle.openpgp.PGPException: checksum mismatch at 0 of 20

the message seems weired, does anybody know  what the error message mean and how to fix it? thanks in advance

( we test the PGP encryption(key size 2048) in our acceptance system and it is working, while in production system we increase the key size to 4096 then the error message is issued, does the key size matter? we are using PI 730... )

Dario

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question