Re: email sending

2006-07-26 Thread Jelena Keršnik
I succeeded!  Thanks again...I've spent  almost two days doing this Jelena

Re: openssl, threads and portable libraries

2006-07-26 Thread Friedrich Dominicus
Francis Brosnan Blazquez <[EMAIL PROTECTED]> writes: > > You can try using the pointer reference as unique identifier. Did you > try: > > gint thread_id = GPOINTER_TO_INT (g_thread_self ()); > > For a glib user I think it is the better way: Yes I think that could work, it was pointed out to m

Re: email sending

2006-07-26 Thread gmu 2k6
On 7/26/06, gmu 2k6 <[EMAIL PROTECTED]> wrote: On 7/26/06, Jelena Keršnik <[EMAIL PROTECTED]> wrote: > > > Thanks for your answers! I already tried with a windows substitution for > sendmail command (Indigo Mail or Sendmail for Windows) but it returns an > error code (must issue a STARTTLS comman

Re: email sending

2006-07-26 Thread gmu 2k6
On 7/26/06, Jelena Keršnik <[EMAIL PROTECTED]> wrote: Thanks for your answers! I already tried with a windows substitution for sendmail command (Indigo Mail or Sendmail for Windows) but it returns an error code (must issue a STARTTLS command first) and I don't know how to manage it… I'll try wi

Re: email sending

2006-07-26 Thread Jelena Keršnik
Thanks for your answers! I already tried with a windows substitution for sendmail command (Indigo Mail or Sendmail for Windows) but it returns an error code (must issue a STARTTLS command first) and I don't know how to manage it… I'll try with the link you've suggested… perhaps this one will work

Re: email sending

2006-07-26 Thread gmu 2k6
On 7/26/06, gmu 2k6 <[EMAIL PROTECTED]> wrote: On 7/26/06, gmu 2k6 <[EMAIL PROTECTED]> wrote: > On 7/26/06, Jelena Keršnik <[EMAIL PROTECTED]> wrote: > > > > > > Hello! > > > > I'm a new user of OpenSSL. > > > > I'm trying to send e-mail using smime command. I've found the following > > example

Re: email sending

2006-07-26 Thread gmu 2k6
On 7/26/06, gmu 2k6 <[EMAIL PROTECTED]> wrote: On 7/26/06, Jelena Keršnik <[EMAIL PROTECTED]> wrote: > > > Hello! > > I'm a new user of OpenSSL. > > I'm trying to send e-mail using smime command. I've found the following > example on the OpenSSL official page, but it only works under Unix. > > >

Re: email sending

2006-07-26 Thread gmu 2k6
On 7/26/06, Jelena Keršnik <[EMAIL PROTECTED]> wrote: Hello! I'm a new user of OpenSSL. I'm trying to send e-mail using smime command. I've found the following example on the OpenSSL official page, but it only works under Unix. >Send a signed message under Unix directly to sendmail, includi

RE: Best practice, checking cipher spec in FIPS mode?

2006-07-26 Thread Gerd . Wetzel
Sorry, it seemd to be my fault. Even if specifying +MD5 in cipher spec. Ciphers including MD5 are not in list of available ciphers of SSL session. Regards Gerd > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Wetzel, Gerd > Sent: Wednesday, Ju

Re: openssl, threads and portable libraries

2006-07-26 Thread Francis Brosnan Blazquez
El mié, 26-07-2006 a las 13:45 +0200, Friedrich Dominicus escribió: Hi Friedrich, > As pointed out glib2 does not have an idea of some unique thread > id (AFAIU) but as someone else has posted this might be different in > libapr. So my question was on the point. You can try using the pointer r

email sending

2006-07-26 Thread Jelena Keršnik
Hello! I'm a new user of OpenSSL. I'm trying to send e-mail using smime command.  I've found the following example on the OpenSSL official page, but it only works under Unix. >Send a signed message under Unix directly to sendmail, including headers: >openssl smime -sign -in in.txt -text -signe

Best practice, checking cipher spec in FIPS mode?

2006-07-26 Thread Gerd . Wetzel
Hi, in FIPS mode several algorithms are deactivated. This does not prevent one from setting ALL:... or DEFAULT:... which seems to bring in some of these algorithms. Unfortunately, if not checked, the error message is written to stderr or stdout, but I need a formated string in my error log. Furt

Re: openssl, threads and portable libraries

2006-07-26 Thread Friedrich Dominicus
"Jeremy Farrell" <[EMAIL PROTECTED]> writes: >> From: Friedrich Dominicus >> >> I'm trying to get into openssl programming and run into the >> following "problem". I've found nothing about that neither >> while searching the web nore looking into this lib. >> >> According to threads(3) and al

Re: policyMappings

2006-07-26 Thread Dr. Stephen Henson
On Wed, Jul 26, 2006, ?? wrote: > Hi, > > I want to make a corss certificate supporting policyMappings with openssl.i > am trying to modify openssl.cnf. but i don't know the exact format and > can't find any datums. > Hmm doesn't seeem to be documented at present... Format is: policyMappings

RE: openssl, threads and portable libraries

2006-07-26 Thread Jeremy Farrell
> From: Friedrich Dominicus > > I'm trying to get into openssl programming and run into the > following "problem". I've found nothing about that neither > while searching the web nore looking into this lib. > > According to threads(3) and also mentioned in "network > security with OpenSSL" fr

Re: Decryption fails

2006-07-26 Thread Marek Marcola
Hello, > Do u have any references that I can find the key and IV size for > different ciphers supported by openssl. You may for example use: EVP_EncryptInit_ex(&ctx, EVP_aes_256_cbc(), NULL, key, iv); printf("\ncipher parameters:\n"); printf("block size: %d\n", EVP_CIP

Re: [openssl-users] Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Erwann ABALEA
Hodie VII Kal. Aug. MMVI est, Visolve Security Consulting Group scripsit: > Hi Bob, > > > I have been trying to find documentation on the maximum value > > that the "days" argument will accept for an SSL generated certificate. > > The *days* argument in openssl will work fine upto a Maximum val

Re: Decryption fails

2006-07-26 Thread Kaushalye Kapuruge
Marek Marcola wrote: Hello, Im trying to encrypt/decrypt a string using openssl. The program works fine for encryption but fails(not always) for decryption. This happens in EVP_CipherFinal_ex() call. I'm a bit confused with this random behavior. I've attached the code. Can anybody point me

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Dave Pawson
On 26/07/06, Bernhard Froehlich <[EMAIL PROTECTED]> wrote: But another thing to think about is, are you sure your private keys will stand 40 years of technical advances in computer tech? Mmmm. Perhaps 5 (at most :-) Good point. -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Bernhard Froehlich
Dave Pawson wrote: On 26/07/06, Bernhard Froehlich <[EMAIL PROTECTED]> wrote: The relevant entries of my openssl.cnf: [ ca ] default_ca = CA_default# The default ca section [ CA_default ] default_days= 365 # how long to certify for Thanks. - and the

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Dave Pawson
On 26/07/06, Bernhard Froehlich <[EMAIL PROTECTED]> wrote: The relevant entries of my openssl.cnf: [ ca ] default_ca = CA_default# The default ca section [ CA_default ] default_days= 365 # how long to certify for Thanks. - and the reference. I gues

Re: Decryption fails

2006-07-26 Thread Marek Marcola
Hello, > Im trying to encrypt/decrypt a string using openssl. > The program works fine for encryption but fails(not always) for > decryption. This happens in EVP_CipherFinal_ex() call. > I'm a bit confused with this random behavior. I've attached the code. > Can anybody point me out what I'm doin

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Bernhard Froehlich
Dave Pawson wrote: [...] I couldn't get it to set from within the conf file. It defaults to 30 unless set from the command line. The relevant entries of my openssl.cnf: [ ca ] default_ca = CA_default# The default ca section [ CA_default ] default_days= 365

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Dave Pawson
On 26/07/06, Bernhard Froehlich <[EMAIL PROTECTED]> wrote: Richardson, Robert H wrote: > Greetings, > > I have been trying to find documentation on the maximum value > that the "days" argument will accept for an SSL generated certificate. I have not checked it, but since I have seen CA ce

policyMappings

2006-07-26 Thread
Hi, I want to make a corss certificate supporting policyMappings with openssl.i am trying to modify openssl.cnf. but i don't know the exact format and can't find any datums. Thanks, laura __ OpenSSL Project

Re: Generating Certificates - Maximum Days Value

2006-07-26 Thread Visolve Security Consulting Group
Hi Bob, > I have been trying to find documentation on the maximum value > that the "days" argument will accept for an SSL generated certificate. The *days* argument in openssl will work fine upto a Maximum value of *11499* in positive values. If the days specified is beyond the value 11499, th

Re: Decryption fails

2006-07-26 Thread Luc Perthuis
Kaushalye Kapuruge wrote: Hi, Im trying to encrypt/decrypt a string using openssl. The program works fine for encryption but fails(not always) for decryption. This happens in EVP_CipherFinal_ex() call. I'm a bit confused with this random behavior. I've attached the code. Can anybody point me ou