Skip to content

Add challenge-response key derivation interfaces#41

Open
kwsantiago wants to merge 6 commits intosparrowwallet:masterfrom
privkeyio:yubikey-hmac-challenge-response
Open

Add challenge-response key derivation interfaces#41
kwsantiago wants to merge 6 commits intosparrowwallet:masterfrom
privkeyio:yubikey-hmac-challenge-response

Conversation

@kwsantiago
Copy link

@kwsantiago kwsantiago commented Mar 11, 2026

Summary

Adds core interfaces for optional challenge-response (e.g. YubiKey HMAC-SHA1) as a second factor in wallet key derivation.

  • ChallengeResponseProvider — interface for challenge-response devices
  • ChallengeResponseKeyDeriver — wraps an AsymmetricKeyDeriver and combines the derived key with a challenge-response via SHA256(derivedKey || hmacResponse)
  • ChallengeResponseException — exception type for CR failures

Dependency for sparrowwallet/sparrow#1967

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