In message <[EMAIL PROTECTED]> on Wed, 10 Jul 2002 18:56:20 +0200, Götz 
Babin-Ebell <[EMAIL PROTECTED]> said:

babinebell> Is there a easy way to convert a passphrase callback to a UI ?
babinebell> 
babinebell> meaning:
babinebell>     I have a pem_password_callback (and a pointer to
babinebell>     additional data) But the function wants an UI
babinebell>     (ENGINE_load_privatekey())...

First of all, you're not quite correct, what it wants is a UI_METHOD.
I assume that you're using the nCipher/chil engine, but that doesn't
matter, you should be safe enough if you use UI_OpenSSL().

If you want to create your own method, that's perfectly fine.  You
might want to look at apps/apps.c:setup_ui_method() as an example that
creates a method with UI_OpenSSL() as a base.

babinebell> BTW:
babinebell> there seems to be a bug in crypto/ui/ui_util.c:
babinebell> (0.9.7 stable SNAP 2002070)

I'll check that out, thanks for the report.

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
  • UI Götz Babin-Ebell
    • Richard Levitte - VMS Whacker

Reply via email to