Skip to content

Facing error while writing the generated parameters to PEM file #10

Answered by levitte
ranjithravitk asked this question in Q&A
Discussion options

You must be logged in to vote

This... actually looks like a bug in the libcrypto STORE code. Although, this comment a little higher up does say that this is going to happen (and confirms your conclusion):

        /*
         * There are two possible cases
         *
         * 1.  The keymgmt is from the same provider as the loader,
         *     so we can use evp_keymgmt_load()
         * 2.  The keymgmt is from another provider, then we must
         *     do the export/import dance.
         */

But, there is this obvious third situation, that the keydata material comes from the same provider as the keymgmt, i.e. your situation. That's a pretty big omission!

(from over at OpenSSL, I do recall some commentary from t…

Replies: 1 comment 16 replies

Comment options

You must be logged in to vote
16 replies
@levitte
Comment options

@ranjithravitk
Comment options

@ranjithravitk
Comment options

@levitte
Comment options

Answer selected by ranjithravitk
@levitte
Comment options

@ranjithravitk
Comment options

@levitte
Comment options

@ranjithravitk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants