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

Store biometry key for each PowerAuthSDK instance (1.7.x) #626

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

hvge
Copy link
Member

@hvge hvge commented Sep 19, 2024

This PR modifies how the PowerAuthSDK class on Android internally stores biometry-related encryption keys. In previous versions, the key was shared between multiple PowerAuthSDK instances. Now, the shared key is only used if the activation has already configured a biometric factor. Once the factor using the shared key is removed, or the entire activation is removed, a per-instance key will be created during the next biometric setup.

This backward compatibility feature can be disabled in the PowerAuthKeychainConfiguration if required by the application. For instance, if the application uses multiple instances of PowerAuthSDK, it is important to disable this feature to ensure the shared key is immediately forgotten.

Other changes:

  • Compatibility with PowerAuth Server 1.9+ in integration tests

Copy link
Member

@kober32 kober32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK

@hvge hvge merged commit 9756636 into release/1.7.x Sep 23, 2024
1 check passed
@hvge hvge deleted the issues/620-android-biometry-1.7.x branch September 23, 2024 09:51
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.

2 participants