aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisperv6/message_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand as tangerine-network/go-tangerineWei-Ning Huang2019-09-171-3/+3
|
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-121-3/+3
|
* whisper: get wnode to work with v6 (#16051)Guillaume Ballet2018-02-101-10/+10
| | | | | | | | | | The bulk of the issue was to adapt to the new requirement that a v6 filter has to either contain a symmertric key or an asymmetric one. This commits revert one of the fixes that I made to remove a linter warning: unexporting NewSentMessage. This is not really a problem as I have a cleanup in the pipe that will solve this issue.
* whisper: change the whisper message format so as to add the payload size ↵gluk2562018-01-301-30/+27
| | | | | | | | | | | | | | | | | | (#15870) * whisper: message format changed * whisper: tests fixed * whisper: style fixes * whisper: fixed names, fixed failing tests * whisper: fix merge issue in #15870 Occured while using the github online merge tool. Lesson learned. * whisper: fix a gofmt error for #15870
* whisper: remove linter warnings (#15972)Guillaume Ballet2018-01-261-10/+10
| | | | | | | | | | | | | | | | | | | | | | | * whisper: fixes warnings from the code linter * whisper: more non-API-breaking changes The remaining lint errors are because of auto-generated files and one is because an exported function has a non- exported return type. Changing this would break the API, and will be part of another commit for easier reversal. * whisper: un-export NewSentMessage to please the linter This is an API change, which is why it's in its own commit. This change was initiated after the linter complained that the returned type wasn't exported. I chose to un-export the function instead of exporting the type, because that type is an implementation detail that I would like to change in the near future to make the code more readable and with an increased coverage. * whisper: update gencodec output after upgrading it to new lint standards
* whisper: sym encryption message padding includes salt (#15631)Guillaume Ballet2017-12-111-0/+56
| | | | | Now that the AES salt has been moved to the payload, padding must be adjusted to hide it, lest an attacker guesses that the packet uses symmetric encryption.
* whisper/whisperv6: remove aesnonce (#15578)Guillaume Ballet2017-12-081-4/+7
| | | | As per EIP-627, the salt for symmetric encryption is now part of the payload. This commit does that.
* whisper/whisperv6: initial commit (clone of v5) (#15324)gluk2562017-11-041-0/+415