Skip to content

chore: Put passkeys in a dedicated folder on Android#146

Merged
LouisCAD merged 2 commits intomainfrom
put-passkeys-into-a-dedicated-folder-on-android
Apr 30, 2026
Merged

chore: Put passkeys in a dedicated folder on Android#146
LouisCAD merged 2 commits intomainfrom
put-passkeys-into-a-dedicated-folder-on-android

Conversation

@LouisCAD
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Android KeyPairManager implementation to store passkey key material in a dedicated filesDir/passkeys directory (instead of directly under filesDir), and adds a one-time migration that moves existing *.key files into that folder.

Changes:

  • Introduce a lazily-created keysDir (filesDir/passkeys) and migrate legacy *.key files into it on first access.
  • Update key generation, retrieval, listing, lookup, and deletion to operate on keysDir.
  • Replace the previous “save file” helper with a keyFile(...) path helper that centralizes the new naming/location.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@LouisCAD LouisCAD force-pushed the put-passkeys-into-a-dedicated-folder-on-android branch from 2dd7e6c to e123c0d Compare April 30, 2026 09:02
@sonarqubecloud
Copy link
Copy Markdown

@LouisCAD LouisCAD merged commit 32fd25b into main Apr 30, 2026
9 checks passed
@LouisCAD LouisCAD deleted the put-passkeys-into-a-dedicated-folder-on-android branch April 30, 2026 11:06
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