Skip to content

Conversation

@bigspider
Copy link
Contributor

Fixes a discrepancy with the serialized app manifest produced in the presence of empty bip32 paths: the C SDK encodes them as a single \x00 byte, while ledgerctl was skipping it altogether.

Parsing an empty "" would cause an exception beause of the call to
int(""), which would lead to the path being skipped completely
instead of being encoded as a b'\x00' byte, which is the expected
behavior observed by apps compiled with the C SDK.
@sonarqubecloud
Copy link

@bigspider bigspider merged commit f82a267 into master Nov 26, 2025
14 checks passed
@bigspider bigspider deleted the fix_empty_path branch November 26, 2025 13:17
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