Re: Problem with generating keys (lib not commandline)

2008-11-07 Thread Ger Hobbelt
One line in my reply went other places. It was this: [*] starred items are not called in your code. On Fri, Nov 7, 2008 at 12:59 AM, Ger Hobbelt <[EMAIL PROTECTED]> wrote: > Specifically, check the code to construct public key carrying > certificates in, for instance, x509/mkcert.c, demos/selfsign

Re: Problem with generating keys (lib not commandline)

2008-11-07 Thread Ger Hobbelt
This is not a sure thing, but from a quick scan of your code, it looks like you are constructing an incomplete certificate in memory, which might hurt you further down the road, i.e. when transmitting the cert, which is then checked by the other party. Specifically, check the code to construct pub

Re: Problem with generating keys (lib not commandline)

2008-10-31 Thread Michael Simms
I've RTFM, Ive spent quite literally days looking at websites, Ive looked at source, I even bought the o-reilly openssl book. I don't understand the ins and outs of encryption, Im just a regular coder, not a cryptographer, but from what I can see, the code should work. There IS a fairly good chanc

Re: Problem with generating keys (lib not commandline)

2008-10-31 Thread Kyle Hamilton
Before I look at what you've got, have you compared this to the rsa.c file in the apps/ directory of the source distribution? -Kyle H On Fri, Oct 31, 2008 at 1:13 AM, Michael Simms <[EMAIL PROTECTED]> wrote: > I am having a bit of a problem generating a set of new keys. > > I have code that works