EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error decrypting file using PGP Adapter

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#25859
Posted: 07/28/2013 23:27:29
by Robert Luo (Standard support level)
Joined: 07/18/2013
Posts: 12

I keep getting this error "No appropriate OpenPGP secret key for decryption found", when trying to decrypt a file. The file was encrypted with our public key and signed with the sender's private key.

I have set the public keyring file to the sender's public key and the secret keyring file to our secret key. Here is the log:

[7/29/2013 11:33:25.451] EldoS OpenPGP Adapter (receive): Start()
[7/29/2013 11:33:25.467] Searching for installed BizCrypto addons.
[7/29/2013 11:33:25.467] No addons found (the exact message: BizCrypto.BizTalk.Addons. Could not load file or assembly 'BizCrypto.BizTalk.Addons, Version=9.1.216.0, Culture=neutral, PublicKeyToken=5a62fa96d0ac431a' or one of its dependencies. The system cannot find the file specified.)
[7/29/2013 11:33:25.467] EldoS OpenPGP Adapter (receive): Loading secret keys...
[7/29/2013 11:33:25.482] EldoS OpenPGP Adapter (receive): 1 secret keys have been successfully loaded
[7/29/2013 11:33:25.482] Secret key filter that will be applied:
[7/29/2013 11:33:25.482] EldoS OpenPGP Adapter (receive): Loading public keys...
[7/29/2013 11:33:25.482] EldoS OpenPGP Adapter (receive): 1 public keys have been successfully loaded
[7/29/2013 11:33:25.482] Public key filter that will be applied:
[7/29/2013 11:33:25.482] EldoS OpenPGP Adapter (receive): Verifying keys loaded successfully
[7/29/2013 11:33:25.498] EldoS OpenPGP Adapter (receive): PickupFilesAndSubmit() FilePath: C:\FileDrop\Encrypted/ FileMask: *.pgp
[7/29/2013 11:33:27.747] EldoS OpenPGP Adapter (receive): Failed to unprotect the file: 'C:\FileDrop\Encrypted/NOBLEGRP.TEST.OUT.2826817.20130716233843149.pgp', error: No appropriate OpenPGP secret key for decryption found
#25860
Posted: 07/28/2013 23:55:18
by Ken Ivanov (EldoS Corp.)

Hello Robert,

Have you specified a correct password for the secret key via the Key Passphrase property?
#25862
Posted: 07/29/2013 02:27:54
by Robert Luo (Standard support level)
Joined: 07/18/2013
Posts: 12

Hi Ken,

We don't use passphrase so I set it to null.
#25863
Posted: 07/29/2013 02:36:26
by Robert Luo (Standard support level)
Joined: 07/18/2013
Posts: 12

Hi Ken,

You are right. I need to provide the password for the key file. Case closed.

Reply

Statistics

Topic viewed 3299 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!