Re: problems with dynamic engine on windows

2005-11-01 Thread Dr. Stephen Henson
On Mon, Oct 31, 2005, Steffen Pankratz wrote: > On Wed, 26 Oct 2005 21:07:46 +0200 > "Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote: > > > On Wed, Oct 26, 2005, Dr. Stephen Henson wrote: > > > > > > > > I'll check to see if anything has changed/broken. > > > > > > > Urgle, the DSO code under

Re: EC Digest error

2005-11-01 Thread Nils Larsch
Lloyd Brown wrote: ... [EMAIL PROTECTED]:~$ openssl dgst -ecdsa-with-SHA1 -hex -sign ec.key.prime192v2.pem -out ec.test.sig.hex.sha512 .viminfo [EMAIL PROTECTED]:~$ openssl dgst -ecdsa-with-SHA1 -hex -verify ec.key.prime192v2.pem.pub -signature ec.test.sig.hex.sha512 .viminfo Error Verifying Da

Re: client side certificates

2005-11-01 Thread Jason Haar
Raymond Popowich wrote: > > > I tried using both the CA cert and a cert that came with the signed > client side certificate from Geotrust. I also have a client side > certificate from Verisign on another computer. Both computers get a > pop-up to pick a cert to use to connect from within IE, but

RE: base64 encode/decode

2005-11-01 Thread Adam Jones
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Guio Sent: Tuesday, November 01, 2005 9:51 AM To: Adam Jones Cc: openssl-users@openssl.org Subject: RE: base64 encode/decode On Tue, 1 Nov 2005, Adam Jones wrote: > I had the same problem.

Re: client side certificates

2005-11-01 Thread Michael Sierchio
Raymond Popowich wrote: One thing that I'd like some clarification on. Once I get this working, shouldn't there be a way for me to say I only want certain client side certificates to be able to connect to this web site? Otherwise anyone with a client side cert can connect. I'm sure I'm miss

RE: base64 encode/decode

2005-11-01 Thread Patrick Guio
On Tue, 1 Nov 2005, Adam Jones wrote: I had the same problem. It took me a few days to figure it all out. Here is my sample code that works. Let me know if you have any questions. Hope this helps. Hi Adams, Thank you very much indeed! I have changed the message and encoded/decoded messages t

client side certificates

2005-11-01 Thread Raymond Popowich
Hello, I have a project that requires I enable client side certificates. I have been through a couple guides but can not seem to get them working. I have an apache+modssl (solaris) web server and a CA created on that web server. I tried using both the CA cert and a cert that came with the

Re: EC Digest error

2005-11-01 Thread Lloyd Brown
Nils Larsch wrote: due to the somewhat unfortunate binding between the digest type and signature algorithms "-sha512" could only be used in combination with the RSA algorithm (this will hopefully change in a future version). Furthermore the X9.62 (the ecdsa standard) version on which this imple

RE: base64 encode/decode

2005-11-01 Thread Adam Jones
I had the same problem. It took me a few days to figure it all out. Here is my sample code that works. Let me know if you have any questions. Hope this helps. void main() { BIO *bmem, *b64, *bmem2, *b642; BUF_MEM *bptr; char inbuff[21]; char outbuff[12]; cha

The latest block is not decrypted when using BIO_s_mem()

2005-11-01 Thread Scratch
Hi there... I've decided to encrypt/decrypt some text grabbed from an edit input (win32) and was surprised when the latest block was not decrypted at all... I use the same BIO encrypt/decrypt proc for both file BIOs and mem ones.. Everything is ok with file BIOs and mem encryption but right now i

Re: EC Digest error

2005-11-01 Thread Nils Larsch
Lloyd Brown wrote: Hello all, I'm struggling to get some openssl elliptic curve based file digest/digital sig work done. I'm able to generate both ec and rsa keys without a problem, and am trying to digest a file using the "openssl dgst" command. However, I get something like this: [EMAIL

Re: EC Digest error

2005-11-01 Thread Dmitry Belyavsky
Greetings! On Mon, 31 Oct 2005, Lloyd Brown wrote: > Hello all, > > I'm struggling to get some openssl elliptic curve based file digest/digital > sig work done. I'm able to generate both ec and rsa keys without a problem, > and am trying to digest a file using the "openssl dgst" command. Howeve

base64 encode/decode

2005-11-01 Thread Patrick Guio
Dear all, I am trying to base64-encode/decode a string using the BIO API. The man page for BIO_f_base64 provides examples to "base64 encode a string and write the result to standard output" and "read base64 encoded data from standard input and write the decoded data to standard output" (http://

RAND_pseudo_bytes() implementation

2005-11-01 Thread Dmitry Belyavsky
Greetings! I have a question on RAND_pseudo_bytes() semantics. We've written an engine with our own RAND_METHOD. Our random number generator is able to return both cryptographically strong data and cryptographically weak data. Our RNG is able to provide cryptographically weak data much more faste