cryptoadvance / cryptoadvance/specter-desktop

wrong derivation path for device when importing via descriptors input

Open
#982 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
847
Forks
259
Avg merge
6d 18h
Merged PRs (30d)
2

Description

Using v1.2.2, I tried to import a device manually via the "Add new device" and then "manual configuration" steps.
(Note, I've modified the XFP and redacted the full xpub).

When importing a derivation path of `48'/0'/0'/2'`; my input is:
```
[d0d8375c/48'/0'/0'/2']xpub6F2REDACTED....
```

after import, the derivation path changes to `48h/0h/0h/2h`, I see in the UI:
```
[d0d8375c/48h/0h/0h/2h]xpub6F2REDACTED...
```

Again, the XFP and the xpub are imported correctly, however, the derivation path is not.

This device happens to be a Coldcard, however, selecting the Device type on the import screen to either "Other" or "Coldcard" does not fix the derivation path issue.

Additionally, when attempting to sign an outgoing transaction from the wallet that this device is a member of, I am able to sign with every device _except_ for the device listed above. All of the other devices were imported properly.

When generating the PSBT from Specter, the Coldcard on signing complains about a derivation path issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.