Troubleshooting - OpenPGP Task: Invalid public key ring.
242 views
Skip to first unread message
Jeremy
unread,
Nov 5, 2009, 6:29:11 PM11/5/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CozyRoc
I am evaluating CozyRoc's SSIS v1.3 components for SQL 2005 in Visual
Studio 2005. When using the OpenPGP task to decrypt a file I see the
lines below in my debug output:
Error: 0x0 at OpenPGP Task-Decrypt, OpenPGP Task: Invalid public key
ring.
Error: 0xC0024107 at OpenPGP Task-Decrypt: There were errors during
task validation.
Warning: 0x80019002 at MyPackageName: SSIS Warning Code
DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but
the number of errors raised (3) reached the maximum allowed (1);
resulting in failure. This occurs when the number of errors reaches
the number specified in MaximumErrorCount. Change the
MaximumErrorCount or fix the errors.
Note that:
* My encrypted file is successfully decrypted any all components in my
package are green when execution finishes.
* The application log for my test machine reports that the package
execution failed.
* My file connection for the SecretKeyRing in the OpenPGP tasks points
to a *.key file created with GNU privacy guard.
* I am new to SSIS and PGP.
What can I do to avoid receiving this error? Please let me know if
any addition information is needed. Thanks in advance for your
assistance.
Ivan Peev
unread,
Nov 6, 2009, 2:45:47 PM11/6/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CozyRoc, Jeremy
Jeremy,
The only reason why you will get this error when trying to decrypt a
file is if you have set VerifySignature=TRUE and the public key ring
file is not provided. Set VerifySignature=FALSE and try again to
decrypt.
Jeremy
unread,
Nov 9, 2009, 5:33:35 PM11/9/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CozyRoc
Thanks for the reply. I figured out that I had two copies of the
OpenPGP task in my package. One was on top of the other in the
designer so I did not see the duplicate. Once I deleted the duplicate
things ran smoothly.