Skip to content

Key derivation hardening#297

Open
iartemov-ledger wants to merge 5 commits intodevelopfrom
derive_master
Open

Key derivation hardening#297
iartemov-ledger wants to merge 5 commits intodevelopfrom
derive_master

Conversation

@iartemov-ledger
Copy link
Contributor

@iartemov-ledger iartemov-ledger commented Feb 13, 2026

Checklist

@iartemov-ledger iartemov-ledger marked this pull request as draft February 19, 2026 14:09
@iartemov-ledger iartemov-ledger changed the title Using derive_master branch of lib-app-bitcoin Key derivation hardening preparation Feb 19, 2026
Copy link

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 implements key derivation hardening by restricting BIP-32 derivation paths for cryptocurrency apps to prevent unauthorized key access across different coins.

Changes:

  • Restricts HAVE_APPLICATION_FLAG_DERIVE_MASTER flag to only Bitcoin Legacy and Bitcoin Test Legacy apps
  • Adds BIP-44 path restrictions (PATH_APP_LOAD_PARAMS) for each supported cryptocurrency
  • Updates the lib-app-bitcoin submodule to support the hardening changes

Reviewed changes

Copilot reviewed 4 out of 71 changed files in this pull request and generated 1 comment.

File Description
lib-app-bitcoin Updates submodule commit to version supporting path hardening
Makefile Adds path restrictions for all coins and limits master derivation flag to legacy Bitcoin apps
CHANGELOG.md Documents the derivation path hardening changes
.github/workflows/guidelines_enforcer.yml Updates workflow to use branch-specific guidelines enforcer

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

@iartemov-ledger iartemov-ledger marked this pull request as ready for review March 6, 2026 13:10
@iartemov-ledger iartemov-ledger changed the title Key derivation hardening preparation Key derivation hardening Mar 6, 2026
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.

4 participants