feat(passkey-crypto): add attachPasskeyToWallet function#8678
Open
feat(passkey-crypto): add attachPasskeyToWallet function#8678
Conversation
639e41a to
2c4d846
Compare
2c4d846 to
cc08d65
Compare
Contributor
Author
|
@claude review this PR |
8cc811c to
9ef8250
Compare
mohammadalfaiyazbitgo
requested changes
May 4, 2026
772edd2 to
10fc6d1
Compare
mohammadalfaiyazbitgo
previously approved these changes
May 5, 2026
- fetch wallet to infer coin, keychainId, enterpriseId - verify encryptedPrv exists before PRF assertion - derive enterprise salt and re-encrypt prv with PRF-derived password - PUT webauthnInfo to keychain endpoint Ticket: WCN-189
10fc6d1 to
528ac7e
Compare
mohammadalfaiyazbitgo
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://linear.app/bitgo/issue/WCN-189/implement-attachpasskeytowallet
Summary
attachPasskeyToWallet()tomodules/sdk-core/src/bitgo/passkey/webauthnInfo({ prfSalt, otpDeviceId, encryptedPrv }) to the keychain endpointKeychainfrom the server responseTest plan
device.prfSaltis undefinedencryptedPrvevalByCredentialmap usesdevice.credentialIdas keyTicket: WCN-189