[openssl-dev] [openssl.org #4207] engine key format in 1.1

Roumen Petrov via RT rt at openssl.org
Tue Dec 29 15:31:27 UTC 2015


Hi,

Implementation of common option processing for OpenSSL commands broke 
ENGINE key
format.
The patches attached to this email are only for tested command.


1) dgst command (see  0003-dgst-cmd-restore-keys-from-engine.patch)
Key form is described as any but value type of input ('<') is too 
restrictive - change input to string type.


2) rsa command (see 0004-rsa-cmd-restore-keys-from-engine.patch)
Similar as dgst.


3) dsa command (see 0005-dsa-cmd-implement-keys-from-engine.patch)
New.
Implementation of engine format is simple with common command processing.


4) ec command (see 0006-ec-cmd-implement-keys-from-engine.patch)
New.
Implementation of engine format requires specific load of input to be 
replaced to use  load_pubkey or load_key functions.
Then modification is similar as dsa.


5) rsautl command (see 0007-rsautl-cmd-restore-keys-from-engine.patch)
Key form input type 'f'(any) instead 'F' and input is from string type.


6) pkeyutl command (see 0008-pkeyutl-cmd-restore-keys-from-engine.patch)
Use key form input type 'f' instead 'F' .


Other commands are not tested yet.


Regards,
Roumen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-dgst-cmd-restore-keys-from-engine.patch
Type: text/x-diff
Size: 1287 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-rsa-cmd-restore-keys-from-engine.patch
Type: text/x-diff
Size: 896 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-dsa-cmd-implement-keys-from-engine.patch
Type: text/x-diff
Size: 1309 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-ec-cmd-implement-keys-from-engine.patch
Type: text/x-diff
Size: 3404 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-rsautl-cmd-restore-keys-from-engine.patch
Type: text/x-diff
Size: 1369 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-pkeyutl-cmd-restore-keys-from-engine.patch
Type: text/x-diff
Size: 1272 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20151229/6dc2677a/attachment-0005.patch>
-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod


More information about the openssl-dev mailing list