Re: -utf8 option

2002-03-26 Thread Robert Joop
On 02-03-25 18:03:56 CET, Stephen Sprunk wrote: > Thus spake Robert Joop: > > the explanation of the -utf8 option doesn't make sense, does it? > I think the document means "8-bit characters in an unspecified code > page" instead of ASCII; however, there's no short term for that. so what? from th

Re: -utf8 option

2002-03-26 Thread Robert Joop
On 02-03-26 12:09:59 CET, Robert Joop wrote: > On 02-03-25 18:03:56 CET, Stephen Sprunk wrote: > > Here's the more interesting question: why do we have a switch for > > UTF-8 encoding, instead of determining it from the user's locale? > > what is the canonical way to detect this? following up to

Convert encrypted data into ascii format

2002-03-26 Thread Valery
Hello, All! I make a program that encrypts a text string using EVP_Encrypt... functions. The encrypted data is in binary format i.e is in non ASCII My question is if there is a way to convert the encrypted data into ASCII string using OpenSSL library and back (the converted data) into the encry

Re: -utf8 option

2002-03-26 Thread George Rogers
At 01:14 PM 3/26/02 +0100, you wrote: >On 02-03-26 12:09:59 CET, Robert Joop wrote: > > On 02-03-25 18:03:56 CET, Stephen Sprunk wrote: > > > Here's the more interesting question: why do we have a switch for > > > UTF-8 encoding, instead of determining it from the user's locale? > > > > what is th

Re: Convert encrypted data into ascii format

2002-03-26 Thread Gunther Schadow
Valery wrote: > I make a program that encrypts a text string using EVP_Encrypt... functions. > > The encrypted data is in binary format i.e is in non ASCII > > My question is if there is a way to convert the encrypted data into ASCII > string using OpenSSL library and back (the converted data)

Re: serialNumber with openssl ca

2002-03-26 Thread Lutz Jaenicke
On Fri, Mar 15, 2002 at 03:19:33PM +0100, Michael Bell wrote: > I used "openssl ca -subj ...". > > If I used serialNumber in the DN then OpenSSL reports the following: > > The Subject's Distinguished Name is as follows > serialNumber :PRINTABLE:'02' > commonName:PRINTABLE:'r

Re: serialNumber with openssl ca

2002-03-26 Thread Harald Koch
> > I have just checked in an according patch. Please note that objects.h > is no longer used (well, the file is still available, but the actual > information is #ifdef'ed out and obj_mac.h is included). > Please test out the next snapshot. I made the objects.txt patch to my source tree about a

Re: OpenSSL 0.9.7 Recent SNAPS

2002-03-26 Thread Richard Levitte - VMS Whacker
From: "Kenneth R. Robinette" <[EMAIL PROTECTED]> support> In the latest 0.9.7 SNAPS, when using the default DES behavior, the support> function user function des_random_seed is getting defined to support> DES_random_seed, which is coming up as undefined in the link step. That was fixed today.

Bug in X509_check_private_key

2002-03-26 Thread Maas-Maarten Zeeman
Hello, I discovered a small bug in X509_check_private_key. EVP_PKEY *X509_get_pubkey(X509 *x) { if ((x == NULL) || (x->cert_info == NULL)) return(NULL); return(X509_PUBKEY_get(x->cert_info->key)); } int X509_check_private_key(X509 *x, EVP_PKEY *k)

Re: Bug in X509_check_private_key

2002-03-26 Thread Lutz Jaenicke
On Tue, Mar 26, 2002 at 02:53:22PM +0100, Maas-Maarten Zeeman wrote: > I discovered a small bug in X509_check_private_key. > > EVP_PKEY *X509_get_pubkey(X509 *x) > { > if ((x == NULL) || (x->cert_info == NULL)) > return(NULL); > return(X509_PUBKEY_get(x->cert_info-

MD5 calculation...

2002-03-26 Thread Bill Pringlemeir
In crypto/md5/md5_dgst.c, there is lots of code as follows, /* Round 0 */ R0(A,B,C,D,X[ 0], 7,0xd76aa478L); R0(D,A,B,C,X[ 1],12,0xe8c7b756L); R0(C,D,A,B,X[ 2],17,0x242070dbL); R0(B,C,D,A,X[ 3],22,0xc1bdceeeL); ... This expands to the following on an ARM p

[PATCH] kssl_ctx_setprinc

2002-03-26 Thread D. Russell
All, The current kssl_ctx_setprinc does not handle instances. I may have a principal of: "[EMAIL PROTECTED]", "[EMAIL PROTECTED]" or (technically) "[EMAIL PROTECTED]". The current implementation will only place "[EMAIL PROTECTED]" in kssl_ctx->client_princ. These different parts of the

Re: OpenSSL 0.9.7 SNAP

2002-03-26 Thread Kenneth R. Robinette
From: "Kenneth R. Robinette" <[EMAIL PROTECTED]> Organization: InterSoft International, Inc. To: [EMAIL PROTECTED] Date sent: Mon, 25 Mar 2002 14:32:17 -0600 Subject:OpenSSL 0.9.7 SNAP Send reply to: [EMAIL PROTE

Re: -utf8 option

2002-03-26 Thread Robert Joop
On 02-03-26 15:01:37 CET, George Rogers wrote: > Have you guys forgotten that the client and server are on different ends of > the > wire? Which end of the wire is going to use the certificate? Which end of > the > wire is creating the certificate? The switch has to be there to allow > creat

certificate verification and Sub CAs

2002-03-26 Thread Harald Koch
So I'm attempting to verify a certificate with OpenSSL 0.9.7 snapshot (various versions). I trust my own CA, who's certificate is issued by a Root (self-signed) CA that I do not wish to trust, because it has also issued a CA certificate to Bad Guy Incorporated. Right now if I build a chain up to