This repository has been archived by the owner on May 28, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Typo in tail differentiating tag caused invalid short payment id encryption. was 0x8B, should have been 0x8D.
Correct computation:
Tail tag
0x8D
was mistyped as0x8B
which yields a different hash which is used for XOR.No funds are lost, but payment ID is incorrect which can cause payment linking problems when using exchanges / markets.
Recipient of the message can recompute the payment ID:
OR from the wrongly decrypted plain payment id:
Demonstration code that decodes payment ID correctly, takes transaction ID and secret view key:
https://gist.github.com/ph4r05/b95c085b101cd9c9ba5dad104dfab007
The PR will be added to the Monero-wallet-cli which will check for firmware version and block transactions with short payment IDs if the firmware version is <=2.0.9. Stay tuned.
Sources: