Skip to content

Conversation

requilence
Copy link
Contributor

@requilence requilence commented Aug 18, 2025

Summary

  • Add public API to derive keys from master nodes instead of requiring full mnemonic
  • Enable serialization/deserialization of master nodes with chain code preservation
  • Update go-slip10 dependency to support MarshalBinary/UnmarshalNode methods

Changes

  • DeriveMasterNode() - derive master node from mnemonic at specified index
  • DeriveKeysFromMasterNode() - derive master key and identity from master node
  • DeriveMasterNodeFromSeed() - derive master node directly from seed
  • Refactor internal derivation to use new public methods
  • Add comprehensive tests for new functionality

Added new tests for:

  • Master node derivation
  • Serialization/deserialization with chain code
  • Backward compatibility verification

@socket-security
Copy link

socket-security bot commented Aug 18, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​anyproto/​go-slip10@​v1.0.0 ⏵ v1.0.1-0.20250818123350-f910c27dd080100100100100100

View full report

@requilence requilence changed the title GO-6131: Add master node derivation API GO-6131: Crypto: Add master node derivation API Aug 18, 2025
@requilence requilence requested a review from cheggaaa August 18, 2025 13:17
…1-adjust-auth-to-enable-login-with-alternative-to-mnemonic
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