Skip to content

Error - public key algorithm or length is not supported + SPKI #12

@TyphooNN

Description

@TyphooNN

"plugins": [ [ "@bam.tech/react-native-app-security", { "sslPinning": { "xyz.com": [ "fezfzfzfzffz", "fzefzefzfzfz" ] }, "preventRecentScreenshots": { "ios": { "enabled": true }, "android": { "enabled": true } } } ] ],

These 2 publics keys hashes are good but still get that issue :

=== TrustKit: Generating Subject Public Key Info hash...
=== TrustKit: Error - public key algorithm or length is not supported
=== TrustKit: Error - could not generate the SPKI hash for xyz.com
=== TrustKit: Pin validation failed for xyz.com

i used everything such as : https://github.com/datatheorem/TrustKit/blob/master/docs/getting-started.md#always-provide-at-least-one-backup-pin

  • their script , all my sha256 + backup are good but idk

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