Re: OpenSSL PocketPC 2003

2006-01-19 Thread Pablo J Royo
Look at:   http://marc.theaimsgroup.com/?l=openssl-dev&m=112092528123408&w=2 http://marc.theaimsgroup.com/?l=openssl-users&m=112352769609201&w=2 - Original Message - From: OpenSSLGRT To: openssl-users@openssl.org Sent: Thursday, January 19, 2006 10:30 PM Subject: Open

Re: A problem using a COM dll built with libeay32.dll

2005-12-21 Thread Pablo J Royo
If it works with VB, and if you have the private key stored in usual Windows certificate store perhaps your COM has problems to access the private key to decipher data, because a service has no GUI to access the private key password. Also, it could be any other kind of error that happens when your

Re: forwarding encrypted ssl data

2005-12-12 Thread Pablo J Royo
Look at : http://spipe.sourceforge.net The idea is to use in your Linux box a patch modified Apache / mod-ssl server who deciphers all he receives in its 443 port, and if what he obtains is not HTTP then it forwards the stream of bytes to a selected server. If it is HTTP, it leaves Apache to mana

Re: Detached envelope

2005-11-07 Thread Pablo J Royo
> With some effort you even can keep every bit temporary data in the core > memory, avoiding writing of temporary files. BIO abstraction in OpenSSL > is powerful enough to do this. The reason I want to use detached data, is to avoid having all my data in memory. Now, OpenSSL handles all PKCS7 stu

Re: Detached envelope

2005-11-04 Thread Pablo J Royo
> >Is there any way to create a detached PKCS7 envelope with openssl > >utilities (smime) ? > > Create S/MIME message and extract signature part using any > mime-capable tool or just some text processing utitity This is not an option, because I need to do this inside my programs. I've be

Detached envelope

2005-11-03 Thread Pablo J Royo
Hi:   Is there any way to create a detached PKCS7 envelope with openssl utilities (smime) ?   Thanks

From implicit envelope to detached envelope

2005-10-28 Thread Pablo J Royo
Hello all:   I´m tryng to generate a detached envelope from a received implicit (non-detached) envelope. The idea is to load the old non-detached envelope, to copy it in a new PKCS7 envelope struct and then to delete the encrypted data from that struct and dump it with i2d_PKCS7_bio to a mem

Re: How to verify a pkcs7 detached signature?

2005-07-14 Thread Pablo J Royo
Try this openssl smime -verify -in Assinador.tar.gz.pkcs7 -inform DER -content Assinador.tar.gz -signer signer_certificate.pem -noverify - Original Message - From: "Andreas Hasenack" <[EMAIL PROTECTED]> To: Sent: Thursday, July 14, 2005 10:49 PM Subject: How to verify a pkcs7 detached s

Re: 3rd time request... PLEASE help! Phone cert creation

2005-07-12 Thread Pablo J Royo
I suppose this is not the right forum to ask for Smartphone issues. Anyway, here: http://www.jacco2.dds.nl/networking/crtimprt.html may be you could find a way to do what you need , a little idea or maybe something more. He explains how to import a *personal* certificate and a CA certificate on

Re: Odd handshake deadlock..

2005-04-28 Thread Pablo J Royo
I think you can try s_client program, in apps directory. Using it, you can write "ssl on" after SSL negotiation and see what happens. If it works, you can use it to build your program. It has all you need. __ OpenSSL Project

Re: Multi process Server and openssl

2005-04-21 Thread Pablo J Royo
If you have control over the father process source code, I think it is easier to accept( ) the incomming connection in the father process, then do a fork( ) and let the child to stablish the SSL channel using the inherited accepted socket returned by accept( ). This way, you don´t need to share mem

Re: Error to sign with OpenSSL

2005-04-13 Thread Pablo J Royo
There are a lot of ugly things in your code, but that strlen(firma) has no sense. I think you are confusing the size of the private key RSA struct with the size of the buffer you want to sign. Also, you are using strlen with a buffer (firma) with any content and probaly not ended with 0, so it will

Re: OpenSSL Segmentation Fault

2005-04-06 Thread Pablo J Royo
/*...*/ on selected parts) in several places we discovered were the problem was.   It wasn´t easy: all I can say is that it worked to find the errors.   Regards Pablo J. Royo - Original Message - From: Nauman Akbar To: openssl-users@openssl.org Sent: Wednesday, April 06, 2005 2

Re: OpenSSL Segmentation Fault

2005-04-06 Thread Pablo J Royo
I can´t say what is exactly causing your problem, but we had a very similar problem when stressing our OpenSSL applications with 100 threads. We did exactly the same that you: to use the callbacks you mention in mttest.c. Our problem was not to use certain reentrant functions as books say (s

Re: Re(2): RE(2): Re(2): Decryption Problem

2005-03-07 Thread Pablo J Royo
> There are some hooks for BER and streaming S/MIME in OpenSSL 0.9.8 but that's > only at an early stage and no one's really been that interested in it at > present. My program has to handle big PKCS7 files, so I´d be very interested in that streaming. I had to modify PKCS7_doit( ) routines to do

Re: OpenSSL en VC1.52 16-bit

2005-02-23 Thread Pablo J Royo
> > Depends on what you mean by "PKCS7 handling" if you just mean being able to > parse PKCS#7 structures then even SSLeay would handle it. If you mean S/MIME > then it first appeared in 0.9.5 but there have been *many* security and > bugfixing changes since then. > > You might be able to use Crypt

Re: OpenSSL en VC1.52 16-bit

2005-02-23 Thread Pablo J Royo
> > ¿Do you know if actual OpenSSL versions do (still) compile with VC1.52 producing 16bit code? > > I need PKCS7 support for an old 16bit application. > > > > It has not been tested for a long time and I'd be surprised if it still > worked. > In that case, does anybody know which version was the

OpenSSL en VC1.52 16-bit

2005-02-23 Thread Pablo J Royo
Hi   ¿Do you know if actual OpenSSL versions do (still) compile with VC1.52 producing 16bit code? I need PKCS7 support for an old 16bit application.   Thanks

Re: Smart cards and private keys

2005-01-20 Thread Pablo J Royo
Title: Smart cards and private keys OpenSSL does not manage that directly, but it is possible: you will have to create a set of functions using your own software, let's say using Windows CryptoAPI to access smartcard , and then suply that callbacks to the RSA_METHOD structure.   - Ori

Re: Request Setup error

2004-11-11 Thread Pablo J Royo
May be the '+' simbol of  "Telefonica I+D" is not an allowed character in the subject for the software or codification you are using? It seems as if some part in it had problems building a DN with that string.   - Original Message - From: Angel Martinez Gonzalez To: [EM

Subject string to X509_NAME

2004-07-29 Thread Pablo J Royo
Hello: I have a subject string in its common format: C=XX /O=xxx /OU=yy /CN=z...etc and I´d like to create a X509_NAME object with it, in order to handle its different fields (X509_NAME_ENTRY) correctly. Is there any function in OpenSSL X509 interface to do this (as easy as p

Re: PKCS7_sign error

2004-06-02 Thread Pablo J Royo
> error:2106906D:lib(33):func(105):reason(109) > error:21074041:lib(33):func(116):reason(65) >From crypto/err/err.h you se the 33 sub-library is PKCS7. >From pkcs7/pkcs7.h you see the 105 function is PKCS7_dataInit, and from that file you see the reason 109 is "unknown digest type". 116 is the P

Re: OpenSSL session hangs

2004-02-24 Thread Pablo J Royo
Hi May be this problem could nothing to do with OpenSSL? I experienced this problem under a , non SSL, private protocol for sending files to a server. The symptons were VERY similar: a hang after sending a file to a server, then exchanging little packets betwen client and server. I made experime

Purify problems

2003-12-26 Thread Pablo J Royo
  I'm compiling openssl with "Configure purify" and I get the following "unresolved" errors:   des_options /u0/common/sec/openssl-0.9.6l/apps/speed_pure_p9_c0_111202132_32.odes_crypt   /u0/common/sec/openssl-0.9.6l/apps/passwd_pure_p9_c0_1112021

Re: Seeding the OpenSSL PRNG on Windows

2002-10-02 Thread Pablo J Royo
Check this: http://www.counterpane.com/yarrow.html It's a "try icon" application for Windows, but you can change it to be a service. - Original Message - From: "Edward Chan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 1:47 AM Subject: Seeding the O

Re: Large files with smime

2002-05-14 Thread Pablo J Royo
ou can do it.You have to change memory BIOs (yes,all the data is handled in memory) by file BIOs.   Pablo J. Royo   - Original Message - From: Girish Venkatachalam To: [EMAIL PROTECTED] Sent: Tuesday, May 14, 2002 3:28 PM Subject: Large files with smime Hi everyone,

Re: Csslsocket

2002-03-27 Thread Pablo J Royo
Hi : I did exactly the same and it gave me the same error. I have read you have to install Windows SDK to get the right libs and headers (schannel.dll) installed in your machine in order to compile, but I did that and errors were the same. I hope you'll share the solution if you solve this. -

Re: SSL and proxy server

2002-02-27 Thread Pablo J Royo
Hi: I´ve faced the same problem.The true problem comes up when you want to authenticate the remote server and in the process you resolve the IP of the CN field of the certificate that he(the server) sends you during handshake to see if its the same you are connected to.If this is the case (which

Re: Using a proxy to my advantage

2001-09-16 Thread Pablo J. Royo
://www.codeguru.com/internet/CSocksifiedSocket.htm Hope this helps Pablo J. Royo -Original Message- From: Vincent Toms <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: sábado 15 de septiembre de 2001 1:59 Subject: Using a proxy to my advantage >Hello all, > I

Re: error:wrong version number

2001-02-05 Thread Pablo J. Royo
should try -ssl3/23 options in s_server command. Hope this helps Pablo J. Royo -Original Message- From: Jorge Olmos <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: lunes 5 de febrero de 2001 12:18 Subject: error:wrong version number >Hello, >I want

Re: mod_ssl / openssl for win32 trouble

2001-01-04 Thread Pablo J. Royo
I dont want to confuse you, so please disregard this if it sounds too extrange. I have seen similar problems when the proxy configuration wasnt correct because the ports were wrongly mapped.Also, when a router in the path between client and server had a broken router wich set the "DF" bit in TCP/I

Re: SSL_read, non-blocking sockets, and Windows.

2000-10-09 Thread Pablo J. Royo
I think you should change the line int tNumSocketsReady = select(1, &tSet, NULL, NULL, &tTimeout); by int tNumSocketsReady = select( tSocketFD+1, &tSet, NULL, NULL, &tTimeout); If not, the descriptor you are selecting on may be totally wrong, so your select() doesn´t works. -Ori

Re: SOLARIS 8 GCC 2.95.2 ld: fatal: file values-Xa.o

2000-09-19 Thread Pablo J. Royo
Sorry.The true page is http://www.sunfreeware.com/faq.html Question is Q5. -Original Message- From: Pablo J. Royo <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: martes 19 de septiembre de 2000 17:30 Subject: Re: SOLARIS 8 GCC 2.95.2 ld: fatal: file

Re: SOLARIS 8 GCC 2.95.2 ld: fatal: file values-Xa.o

2000-09-19 Thread Pablo J. Royo
See the Solaris2 FAQ, question five Q5 at http://www.wins.uva.nl/pub/solaris/solaris2/ -Original Message- From: Castellanos, Leon <[EMAIL PROTECTED]> To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]> Date: martes 19 de septiembre de 2000 17:15 Subject: SOLARIS 8 GCC 2.95.2 ld: fatal: file val

Re: How can I change "libssl.a" into "libssl.so"?

2000-08-28 Thread Pablo J. Royo
I think you could try this: Extract *.o files in the static library with ar -x libssl.a Then link them again with: ld -rpath "/usr/local/ssl" -shared -o libssl.so *.o The command "file libssl.so" reports then: libssl.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not stripped so

PEM certs formatted at 76 chars per line

2000-07-24 Thread Pablo J. Royo
Hi I´m using this cert from Baltimore with openssl0.9.5a. I don´t know why they generate PEM certs with 76 chars in each line, instead of 64 as everybody does.If you take the cert and manually put it with 64 chars per line and the "BEGIN/END CERTIFICATE" stuff all goes well, but if not x509 comma

Re: PKCS12 unpack error

2000-07-18 Thread Pablo J. Royo
Hi I had the same problem, and I didn't find how to solve it except #undefining that M_XXX macros in my source file,then #defining it correctly.After using them in my file, you can letf then unchanged again if you like. I´d like to know if there is a better (and elegant) way to do it. Here it i

Re: Error after converting C++

2000-04-17 Thread Pablo J. Royo
Check if declarations for that functions are enclosed in an #ifdef __cplusplus statement.   -Original Message-From: Tugrul Bingol <[EMAIL PROTECTED]>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Date: lunes 17 de abril de 2000 18:17Subject: Error after converti