Re: Getting started to create PKCS7 message with PKCS11 provider

2011-07-04 Thread lists
On 06/30/2011 11:25 AM, James Berry wrote: Hi: I need to sign a challenge string using the private key present on a smartcard. The smartcard has a PKCS11-compliant library and I have been able to open the card etc with the PKCS11 driver. Now I would like to sign a message in PKCS7 format t

RE: Getting started - d2i_PKCS12_fp: on Win

2009-11-20 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Tim Ward > Sent: Friday, 20 November, 2009 06:10 > > > It fails at the same point, the difference now being that the > libeay32.dll > function names are shown (rather than just addresses) in the stack > backtrace. I can't persuade VS2005 to

Re: Getting started - d2i_PKCS12_fp: on Win

2009-11-20 Thread Tim Ward
From: "Tim Ward" For debug, you need to generate and use a different .mak file; where you see the lines in do_{ms,masm,nasm}.bat that say perl util\mk1mf.pl (options) VC-WIN32 >makefile either add lines with 'debug' added to the options part and different makefiles (I use ntdbg.mak ntdlldbg.m

Re: Getting started - d2i_PKCS12_fp: on Win

2009-11-20 Thread Tim Ward
From: "Tim Ward" Trying to follow that through the sources myself it doesn't make any sense to me - the BIO_s_file I've found, in bss_file.c, simply returns a pointer, it doesn't make any call to setmode or anything else. OK ... looking at the disassembly that's because there's something abo

Re: Getting started - d2i_PKCS12_fp: on Win

2009-11-20 Thread Tim Ward
From: "Dave Thompson" To be clear: you are building OpenSSL *and* your app(s) with VC05? Yes. That should indeed work for release. Check your ms\nt[dll].mak and you should see /MD on everything. It works for the pkread.c sample in release build. My real application fails silently in rele

RE: Getting started - d2i_PKCS12_fp: on Win

2009-11-18 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Tim Ward > Sent: Tuesday, 17 November, 2009 16:29 > From: "Dave Thompson" > > What toolset (mingw or msvc, and which version) and library build > > (own or other) are you using? > VC2005. Debug build compiles all the modules with /MDd, relea

Re: Getting started - d2i_PKCS12_fp: on Win

2009-11-17 Thread Tim Ward
From: "Dave Thompson" Thanks very much for your reply. Further info: I get the same results running the pkread.c sample program. If I compile with /MD without the applink stuff present it works. What toolset (mingw or msvc, and which version) and library build (own or other) are you using?

RE: Getting started - d2i_PKCS12_fp: on Win

2009-11-17 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Tim Ward > Sent: Monday, 16 November, 2009 12:01 > Further info: > > I get the same results running the pkread.c sample program. > > If I compile with /MD without the applink stuff present it works. > What toolset (mingw or msvc, and which ve

Re: Getting started - d2i_PKCS12_fp

2009-11-16 Thread Tim Ward
Further info: I get the same results running the pkread.c sample program. If I compile with /MD without the applink stuff present it works. If I compile with /MDd with the applink stuff present and put a breakpoint on OPENSSL_ApplinkTable it is never called. So it seems like I have failed to

Re: Getting started at cryptography. Need directions.

2009-09-18 Thread Kyle Hamilton
OpenSSL provides a toolkit which implements a well-reviewed, cryptographically secure protocol called SSL (and now TLS). For an OpenWRT router, the size of the default compile may be too large to fit into RAM. You can build it without a lot of the optional ciphers, if you know your environment an

Re: Getting started with openssl

2004-12-11 Thread Ng Pheng Siong
On Fri, Dec 10, 2004 at 09:30:32AM -0800, John Forbes wrote: > I tried to do a IdHTTP->Get on a https site and got the message "iohandler > value is not valid". Can someone please tell me the cause and the cure or > point me at where to find that info. Thanks in advance. The curl/libcurl mailing l

Re: Getting started with openssl

2004-12-10 Thread John Forbes
IL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 09, 2004 8:18 PM Subject: Re: Getting started with openssl > On Thu, Dec 09, 2004 at 07:03:45PM -0800, John Forbes wrote: > > My environment is C++builder5 with Indy 9. I need to access from a client > > an https site

Re: Getting started with openssl

2004-12-09 Thread Ng Pheng Siong
On Thu, Dec 09, 2004 at 07:03:45PM -0800, John Forbes wrote: > My environment is C++builder5 with Indy 9. I need to access from a client > an https site, whose http pages I can successfully get to. So I > downloaded and installed the openssl dlls. What else do I have to do in > order to issue a suc

Re: getting started

2004-03-23 Thread Bernhard Froehlich
GoochRules! wrote: [...] After reading up on PKI, I'm concerned that OpenSSL is not a solution to my problem. I suppose all I really need is a mechanism to encrypt/decrypt messages based upon public/private keys. Does OpenSSL do anything like this? To realize this with OpenSSL I'd set up my o

Re: getting started

2004-03-23 Thread GoochRules!
On Mar 22, 2004, at 2:36 PM, Bernhard Froehlich wrote: GoochRules! schrieb: Greetings, I'm a newbie with this ssl stuff, what I know I learned from using ssh, so please correct me where my assumptions are wrong. I'm attempting to create a client/server environment where the identity of the ser

Re: getting started with openssl

2001-04-09 Thread Richard Levitte - VMS Whacker
From: Michael Sierchio <[EMAIL PROTECTED]> kudzu> (This should be in a FAQ) kudzu> kudzu> SUNWski SKI 1.0 Software (User Package) installs a /dev/random for kudzu> Solaris. It is :-) http://www.openssl.org/support/faq.html#USER1 -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Ch

Re: getting started with openssl

2001-04-09 Thread Auteria Wally Winzer Jr.
You can also download the ANDIrand pkg for Solaris 2.5.1 - 2.8 SPARC as well as 2.5.1 - 2.8 x88pc. This supports /dev/random and dev/urandom. Works like a champ: Author: Andreas Maier URL: http://www.cosy.sbg.ac.at/~andi/ - Wally Winzer Jr. Michael Sierchio wrote: > Scott Armstrong wrote: > >

Re: getting started with openssl

2001-04-09 Thread Michael Sierchio
Scott Armstrong wrote: > > Not to worry - I'm used to wearing a helmet and asbestos jumpsuit... :) > > Under Solaris, there is no /dev/random or /dev/urandom. There are a number > of substitutions. (This should be in a FAQ) SUNWski SKI 1.0 Software (User Package) installs a /dev/random for So

Re: getting started with openssl

2001-04-09 Thread G.I. Nyers
You might be interested in the EGD (Entrophy Gathering Daemon) project. It's a perl based daemon that sits in the backgroud and does what it's name suggests. Programs can communicate with it trhough unix or tcp sockets... Have a look at openssl's RAND_egd(3) manpage and EGD's homepage http://www.l