Hello
I've got problems to decrypt a PKCS8 encrypted private-key with the
openssl-application (not library), because the password is binary and
contains NULL-bytes (0x00).
The PKCS8-object is valid.
sample-password: (hex) '0A 0B 91 00 17 F4 8E 4D FA BD 31 3D 72 43 ED A1'
sample-cmd:
> passwd=cat 'binary_password_file.bin' (cat as example, also ussed
other ways)
> export passwd
> openssl pkcs8 -in filename.pkcs8 -inform DER -passin env:passwd
-outform DER
(Using '-passin file:passwdfile' or '-passin stdin' causes problems with
0x0A, cause these options read only the first line)
Platforms: Windows and Unix and I prefer not to write a C-programm to
use openssl-library.
Can anyone help me to decrypt a pkcs8-encrypted rsa-key, using a
password, which contains NULL-Bytes ... please :)?
thx
Fabian
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]