Skip to content

SecKey::generate(...) => CFError #205

@HS3003991

Description

@HS3003991

Hello,

I'm attempting to generate a KeyPair using the "SecKey::generate()" method. However, upon building and running the code, the OS throws the following error:

"CFError { domain: "NSOSStatusErrorDomain", code: -34018, description: "The operation couldn’t be completed. (OSStatus error -34018 - failed to generate asymmetric keypair)" }"

Has anyone encountered the same error and managed to resolve it?

Best regards,
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions