8000 Multiple certificates with same labels · Issue #7947 · SSSD/sssd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Multiple certificates with same labels #7947
Open
@hypp

Description

@hypp

Hello,

Our organisation have smart cards with two valid certificates with the same CKA_ID and CKA_LABEL.
The certificates use the same keys but have different issuers.
Currently this fails in p11_child in auth mode:
DEBUG(SSSDBG_FATAL_FAILURE, "More than one certificate found for authentication, " "aborting!\n");

Since we trust both the issuers it doesn't matter to us which certificate is being used,
so our fix for this is to check for duplicate CKA_ID and CKA_LABEL in read_certs in p11_child_openssl.c.
If we find a duplicate we won't add it to the certificate list.

Is there a better way of doing this and will you accept a pull request for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0