[xmlsec] Usage of XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN
Aleksey Sanin
aleksey at aleksey.com
Wed Jun 19 09:40:57 PDT 2019
Doesn't look like it was implemented :)
https://github.com/lsh123/xmlsec/search?q=XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN
https://github.com/lsh123/xmlsec/commit/914f5ba36b26682b1857caecd63145c141f98663
Should be a simple change around here:
https://github.com/lsh123/xmlsec/blob/a181a96b5f73a4ac27be2fc51644326c2b89fe4d/src/keyinfo.c#L663
Aleksey
On 6/19/19 3:50 AM, Frank Gross wrote:
> Hi,
>
> Can someone tell me how the flag
> XMLSEC_KEYINFO_FLAGS_KEYNAME_STOP_ON_UNKNOWN is suppose to work ?
>
> I was expecting that xmlSecEncCtxDecrypt() fails when that flag is set
> because the KeyName in my encrypted document is not available in the key
> store, but it found actually the key because I registered that same key
> but with a different name.
>
> Thanks,
>
> Frank
>
More information about the xmlsec
mailing list