Massimiliano Pala wrote:
>
> Xavier Maysonnave wrote:
>
> > with the above configuration the env:password is not propagated. here is
> > the source of openssl who is not correct:
> >
> > This program come from the openssl snapshot described above.
> > It comes from apps.c under the apps directory of openssl.
> > below the cb_data test, this program takes the password correctly.
> > As this password can come from stdin, a file or an environment variable.
> > The password is never propagated.
> > After that the ui is called everytime.
> > I have tried to patch the code.
> > like
> > buf = password and res = strlen(buf);
> > but the program crash later.
> > so I am a bit sticked.
>
> Are you sure the password is \0 ended ??? this could be the problem... :-?
No I am not sure about that. But when I printf the password in the
program I sent you. it is correctly printed on the console. I have
checked the 0.9.6a source and the current dev snapshot and it seems that
some parts are rewrite.
>
> Did you sent the comment to the openssl-dev mailing list ??? Usually there
> you can have answers soon. Unfortunately I have no time to take a look at
> it, right now, if the error persists on future SNAPs I'll try to fix it.
I didn't send them this problem. I have checked their CVSWeb this
problem to see if something happened since yesterday, but the program is
the same than my current snapshot.
Anyway, I can wait I think a more complete crypto library. But if i have
enough time this afternoon I will dig into this program.
>
> --
>
> C'you,
>
> Massimiliano Pala
>
> --o-------------------------------------------------------------------------
> Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://www.openca.org Tel.: +39 (0)59 270 094
> http://openca.sourceforge.net Mobile: +39 (0)347 7222 365
S/MIME Cryptographic Signature