EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PGP Equivalent to CommandLine

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#1393
Posted: 10/10/2006 08:05:17
by Judah Reeves (Standard support level)
Joined: 09/28/2006
Posts: 17

This one uses same code except:

pgpWriter.EncryptionType = TSBPGPEncryptionType.etPublicKey;


[ Download ]
#1394
Posted: 10/10/2006 08:14:24
by Eugene Mayevski (EldoS Corp.)

Please try to specify the encryption algorithm, i.e.
pgpWriter.SymmetricKeyAlgorithm = SB_PGP_ALGORITHM_SK_3DES;

or

pgpWriter.SymmetricKeyAlgorithm = SB_PGP_ALGORITHM_SK_IDEA;

IDEA is patented, but this is the only algorithm used by PGP 2.6.x. 3DES is more widespread.


Sincerely yours
Eugene Mayevski
#1395
Posted: 10/10/2006 09:06:48
by Judah Reeves (Standard support level)
Joined: 09/28/2006
Posts: 17

I went with 3DES since I know they use a later version (9?). Again, I can decrypt ok, but when I use the
--verify command I get "gpg: verify signatures failed: unexpected data"


[ Download ]
#1417
Posted: 10/11/2006 03:24:16
by Eugene Mayevski (EldoS Corp.)

Current code that we have indeed produces some strange results. We are investigating the problem.


Sincerely yours
Eugene Mayevski
#1427
Posted: 10/11/2006 13:36:44
by Eugene Mayevski (EldoS Corp.)

WE have investigated the issues I mentioned above and fixed them. However they are not related to your problem. In order to solve it, we need you to encrypt and sign some data and give us (a) the original data, (b) the encrypted data, © the public keys used for signing, (d) the secret keys, for which the data was encrypted. The last one is needed so that we could decrypt the data and check the signature.

You can send everything via HelpDesk ( http://www.eldos.com/support/ticket_list.php ). Remember to put everything to zip arhive.


Sincerely yours
Eugene Mayevski
#1428
Posted: 10/11/2006 13:48:35
by Judah Reeves (Standard support level)
Joined: 09/28/2006
Posts: 17

File submitted via HelpDesk
#1752
Posted: 11/29/2006 14:19:22
by Justin Chuska (Basic support level)
Joined: 11/29/2006
Posts: 2

I am also having this same exact issue. I can encrypt fine but I can not encrypt & sign. The process doesn't error out but the client can not verify the signature - it states bad signature when they attempt to open it using PGP desktop tools.

I have tried almost everything I can think of and have got no where to go.

Funny thing is that the pgp command line works fine.... clients can open the file AND the signature verifies.

Have you guys made any progress with the above thread?

#1754
Posted: 11/29/2006 14:42:23
by Judah Reeves (Standard support level)
Joined: 09/28/2006
Posts: 17

Yes, found a component on the internet that builds gpg command lines. Ugly, but at least it works. Still using Blackbox for decrypting since it is heavier volume. We only send a few files a day.
#1755
Posted: 11/29/2006 14:47:41
by Judah Reeves (Standard support level)
Joined: 09/28/2006
Posts: 17

Support worked on it for a while, then finally said that it works for everyone else. I would recommend opening a case with them as they may be able to find a way. I used their sample app to generate the files with the signature, just to make sure they couldn't blame my code.

This is what I used to encrypt/sign:
[URL=http://www.codeproject.com/csharp/gnupgdotnet.asp]C# Source for command line generator[/URL]

#1758
Posted: 11/29/2006 15:27:55
by Justin Chuska (Basic support level)
Joined: 11/29/2006
Posts: 2

Hey thanks for the info Judah.

Judah - the files you created with their app - they didn't verify did they? So it isn't our code if this is the case.

Eldos: do we have a resolution for this? Something, anything? A work around?

-Justin
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 25439 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!