RE: Problem decoding DER buffer into X509 structure

2004-10-11 Thread David Schwartz
> I'm having trouble with the d2i_X509() call. I've googled all the > errors that I get and I can't figure out what's going on. > I'm using OpenSSL 0.9.7d. > > Basically, I'm trying to read a cert off disk (PEM format). Then I > convert it into a DER buffer using i2d_X509(). Sometime later, I n

Problem decoding DER buffer into X509 structure

2004-10-11 Thread Nick Brosnahan
Hi- I'm having trouble with the d2i_X509() call. I've googled all the errors that I get and I can't figure out what's going on. I'm using OpenSSL 0.9.7d. Basically, I'm trying to read a cert off disk (PEM format). Then I convert it into a DER buffer using i2d_X509(). Sometime later, I need

genrrating CA

2004-10-11 Thread nitin singh
Hello, I am using openssl 0.9.7d , and i used CA.pl command to create my CA. just when i was signing user request i got this error 4907:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:329:group=CA_default name=unique_subject After doing google on it i found it is

A more orthodox bridge certificate configuration

2004-10-11 Thread Charles B Cranston
Well, since you didn't like my earlier bridge drawing, there's a more orthodox one below. As for notation: I tend to do a lot of diagrammatic reasoning myself, so I tend to invent notation as I go along. If there is a preferred notation [1] I'd be glad to redo these diagrams in that form. Since a

Re: Is SPEED correct?

2004-10-11 Thread deck80
Sorry if I put it down so simple... I don't think it is too strange. In every program the time of execution depends on many things. It usually grows with a formula like TIME=Ts+Tg with Ts a time that is fixed even if the program doesn't do anything and Tg that grows according to how many operations

Re: How small in codesize and ramsize can openssl be cut down to?

2004-10-11 Thread Mathias Brossard
On Mon, 2004-10-11 at 14:19, Jon Bendtsen wrote: > Den 11. okt 2004, kl. 13:54, skrev Jörn Hartmann: > > Maybe I'm wrong, but I think think it's hardly possible to strip > > openssl down to less than 32K and keep full SSL functionality. You > > might have more luck in writing your own SSL impleme

Re: How small in codesize and ramsize can openssl be cut down to?

2004-10-11 Thread Jon Bendtsen
Den 11. okt 2004, kl. 13:54, skrev Jörn Hartmann: Maybe I'm wrong, but I think think it's hardly possible to strip openssl down to less than 32K and keep full SSL functionality. You might have more luck in writing your own SSL implementation. That will be tough enough assuming you got only a fra

Re: decrypting using AES_decrypt()

2004-10-11 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Mon, 11 Oct 2004 11:11:07 +, "Brian Murphy" <[EMAIL PROTECTED]> said: brian_731> Hi brian_731> brian_731> The text "some text 123" in file named test.txt was encrypted with the brian_731> following command brian_731> 'openssl enc -aes128 -in test.txt -out t

compiling OpenSSL / Win32

2004-10-11 Thread Johannes Lichtenberger
Hello. I didn't get OpenSSL compiled with MinGW: [LUNA] E:\www\httpd-2.0.52\srclib\openssl>ms\mingw32 [LUNA] E:\www\httpd-2.0.52\srclib\openssl>perl Configure mingw Configuring for mingw IsWindows=0 CC=gcc CFLAG =-DOPENSSL_SYSNAME_MINGW32 -DOPENSSL_THREADS -DDSO_WIN32 -DOPE

Re: How small in codesize and ramsize can openssl be cut down to?

2004-10-11 Thread =?ISO-8859-1?Q?J=F6rn_Hartmann?=
Maybe I'm wrong, but I think think it's hardly possible to strip openssl down to less than 32K and keep full SSL functionality. You might have more luck in writing your own SSL implementation. That will be tough enough assuming you got only a fraction of the 32K left for the encryption part. B

decrypting using AES_decrypt()

2004-10-11 Thread Brian Murphy
Hi The text "some text 123" in file named test.txt was encrypted with the following command 'openssl enc -aes128 -in test.txt -out test.enc -e -a -pass pass:secretpass' producing the following ciphertext in file test.enc U2FsdGVkX18mIAVV3TboGOejkyD0b9XGmr0MqwHIuEw= I am now trying to decrypt this

How small in codesize and ramsize can openssl be cut down to?

2004-10-11 Thread Jon Bendtsen
i'm working on an embedded micro computer, and i would like to have a webservice. However the data needs to be encrypted. I was thinking of using SSL for that, but i only have 32K for everything. OS, tcp/ip, devicedriver, webserver, and ssl. Can i make any hope of trimming openSSL down to just