Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert ebox port changes, fixes encrypted data parsing error #93

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

who-biz
Copy link
Contributor

@who-biz who-biz commented Aug 30, 2023

Changes committed in #90 included modification to port member of EpicboxAddress struct. This was done to ensure proper communication of port through workflow from: config file -> address -> wire (and back).

However, changing type of port member from Option<u16> to u16, affected the way Epicbox addresses are serialized and deserialized when being communicated between wallets/epicbox.

Big thanks to @blacktyger for finding this bug, as it breaks backward compat with other wallets, resulting in the following error message:

ERROR Unable to parse encrypted message 

As such, changes were reverted. This may mean we need to fix the port discernment again, but I will test that later. For now, default over 443 works.

Copy link
Contributor

@blacktyger blacktyger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested mobile -> cli and cli -> mobile, worked as expected, gj!

@who-biz who-biz merged commit b0678b9 into EpicCash:master Aug 31, 2023
@who-biz who-biz deleted the enc-data-parse-bugfix branch August 31, 2023 18:59
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