Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinning Trusted certs or keys #291

Open
matiasgualino opened this issue May 4, 2018 · 2 comments
Open

Pinning Trusted certs or keys #291

matiasgualino opened this issue May 4, 2018 · 2 comments

Comments

@matiasgualino
Copy link

matiasgualino commented May 4, 2018

Hi, I have to implement Cert Pinning in my application. I saved my certificate in my bundle, but certificateChainForTrust or publicKeyChainForTrust returns 3 values.

Library expects trustedCount == 3 to return true on both cases, but I have just one, so the library returns false.

I read different posts where people say something like "A validation is OK when you have at least one key."

Am I wrong? Can you help me or change the validation to trustedCount > 1?

Regards.

@Xixi0218
Copy link

I thick you can change codes like this
2018-06-21 4 38 49

@nilecoder
Copy link

Are we sure this is the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants