[EMAIL PROTECTED] schrieb:
> 
> I'm using OpenSSL 0.9.2....
> I use PEM_read_PrivateKey() / PEM_write_PrivateKey() to read/write my
> private key from/to a diskette. I would like encrypt/decrypt the key when
> writing/reading to/from the diskette.
> I'm only looking for a "simple" encryption with a key hardcoded in to my
> application.

HAve look how apps/rsa.c does it. Just modify the
callback function and hardcode the passpharse there.

OTOH what buys you a hardcoded password?

-- 
Holger Reif                  Tel.: +49 361 74707-0
SmartRing GmbH               Fax.: +49 361 7470720
Europaplatz 5             [EMAIL PROTECTED]
D-99091 Erfurt                    WWW.SmartRing.de
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to