Hi,
I figured out the problem, a very silly mistake, I forgot to close the file
that I was using to write the public key to. On properly closing the file, I
am successfuly able to read the private and public keys and use them for
signing and verification. Thanks everyone
On Sat, Jun 21, 2008 at
If I understand your question correctly, you are asking how to calculate the
MIC (SHA1 checksum) to put in an AS2 MDN.
The MIC should be calculated over exactly that data that was signed in the
original AS2 message. The data used to calculate the MIC should not include
the actual signature. Thus,
delcour.pierre wrote:
Hello,
Ariel Salomon wrote:
Hi Pierre,
If you are using this certificate chain for an SSL connection, use
SSL_CTX_use_certificate_chain_file which does precisely what you are
asking. If you are just looking for a way to load this chain for
other uses, the source cod
hi,
I have created sample client server application. The server application is
running in windows and waiting for a client to connect. For client
application i have written a "C" dll and accesed a function in "C" dll from
C# application to connect to the server. The "C" dll i have created is
havi
I just tried redirecting the output of the write functions to stdout, it
dumped the private and public keys, atleast I hope it did, I have nt had any
luck with these functions so I am not sure if this is the correct keys that
it dumped but atleast it gave some output, the only way I can test this k
Hey anybody out there
I have to set up a client/server application with a mySQL Server. Therefore
I want to use OpenSSL.
So, how can I create a Certificate on a Windows 2008 x64 server? - Can
someone please give me a step by step introduction for this.
THX!
E-Mail-Nachricht w
I have a possible similar problem with checksums in MIC inside AS2. I did
Marek's test just inside Kate editor saving in utf8, with and without the
last newline. The one without gives the right code beginning with 8aa...
AND yes with openssl, so there is no bug in it.
My problem is with this f
I tried to get non-blocking DTLS working a while ago, but in order to
get a connection to work, I had to comment out the retransmission of
commands as described in the patch below.
Unfortunately, this breaks retransmission, so it's not really suitable
for distribution. But it at least give
Hi Siddhartha,
I had troubles too, with DSA, but not wrtiting the keys but on
verifying. I switched on RSA. It is nearly the same.
But be careful with this ssl stuff and check every possible return value.
Btw have you initialised the library with
/* begin initiualisation ---*/
SSL_library_init
Hi Thomas,
Thanks for your email, I tried using EVP_PKEY_set1_DSA(), that doesnt work
either. I also tried using thePEM_write_DSAPrivateKey() and
PEM_write_DSA_PUBKEY() functions, however the files still stay empty. I dont
know, its seemingly a straightforward thing but it just isnt working,
betwe
Hi Siddhartha,
the problem is the line
EVP_PKEY_assign_DSA(pkey, dsa);
you should use
EVP_PKEY_set1_DSA()
if you want to use the DSA structure later on.
Why don't you write out the keys directly with
PEM_write_DSAPrivateKey() and PEM_write_DSA_PUBKEY() ?
Thomas
Siddhartha Chhabra wrote:
Hi,
Hi,
After trying to figure out the problem with the macros, I found the
following two macros already in the OpenSSL set
PEM_write_PrivateKey and PEM_write_DSA_PUBKEY and their corresponding read
functions
Now I do the following in my code
fptr = fopen("Pub","w");
fpriv = fopen("Priv","w
I'm curious as to why the last argument of SSL_read() and SSL_write() are
typed as in" and not size_t, when surely int is "wrong". I realize that it
would be a huge effort to change now, but I wonder why it was done like
this in the first place.
Steve
--
0.9.8 have used it with f, g and h
Bill
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Siddhartha Chhabra
Sent: June 20, 2008 10:07 PM
To: openssl-users@openssl.org
Subject: Re: DSA signing and verification
What version of the library ar
14 matches
Mail list logo