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 #621

Merged
merged 5 commits into from
Sep 23, 2024

Conversation

hvge
Copy link
Member

@hvge hvge commented Sep 13, 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.

This PR is also back-ported to releases 1.7.x and 1.8.x (#626, #627)

@hvge hvge requested a review from kober32 September 13, 2024 17:24
Copy link
Member

@petrdvorak petrdvorak 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 marked this pull request as ready for review September 20, 2024 12:39
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 e1c8460 into develop Sep 23, 2024
1 check passed
@hvge hvge deleted the issues/620-android-biometry branch September 23, 2024 10:55
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.

3 participants