8000 WIP: Support for Android Keystore signing by mikekelly · Pull Request #7 · authlete/cbor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WIP: Support for Android Keystore signing #7

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mikekelly
Copy link
@mikekelly mikekelly commented Jan 31, 2024

This is not a complete PR, but I wanted to share it in order to show what is necessary to make the library support Android Keystore.

2 changes are necessary:

  1. Remove (or avoid when dealing with Android Keystore key) castByPrivateKey because the PrivateKey object returned by Android Keystore cannot be cast to ECPrivateKey.
  2. A change to determineAlgorithmName so that if it is on the Android platform it returns algorithms such as "SHA256withECDSA", since neither option is supported when using Android Keystore.

wdyt?

@mikekelly mikekelly changed the title WIP: Support for Android Keystore key signing WIP: Support for Android Keystore signing Jan 31, 2024
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

Successfully merging this pull request may close these issues.

1 participant
0