Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

14/WAKU2-MESSAGE: Investigate the use of a message format with better features regarding unlinkability #182

Closed
kdeme opened this issue Sep 14, 2020 · 5 comments

Comments

@kdeme
Copy link
Contributor

kdeme commented Sep 14, 2020

Problem

There might be ways to link a message to a specific application, or worse user, because of the way the message is formed.

One specific case is for example, always having a specific size. Others might/will apply, tbi.

Waku v1 envelope data format e.g. always adds padding so that the messages become a mutiple of 256 bytes.

Acceptance criteria

  • Review existing solutions, suggest what is applicable.

Details

This should be further investigated, started by looking at the current (best) practises in privacy focused transports (e.g. mixnets)

Possible Solutions

  • ...

Notes

Sphinx format used by Nym and Lightning Network: https://cypherpunks.ca/~iang/pubs/Sphinx_Oakland09.pdf

@oskarth
Copy link
Contributor

oskarth commented Sep 15, 2020

While I agree we should do this, I think keeping it simple for now is the way to go. Once we have basic track(s) in place, it makes sense for someone to run off and investigate (and then implement) how/if we can use something like Sphinx. It should be a fairly self contained change I believe.

@kdeme
Copy link
Contributor Author

kdeme commented Sep 15, 2020

Yes, which is why I I only tagged with waku-v2 label for now.

However, I do have a slight concern that some of this might depend on the underlying encryption of the payload.

@oskarth oskarth changed the title Investigate the use of a message format with better features regarding unlinkability 14/WAKU2-MESSAGE: Investigate the use of a message format with better features regarding unlinkability Mar 31, 2021
@oskarth oskarth self-assigned this Mar 31, 2021
@oskarth
Copy link
Contributor

oskarth commented Mar 31, 2021

Brief update: this is still not a priority, but something for further privacy enhancements once we have gotten Waku v2 shipped, I believe. cc @staheri14 for awareness as it relates to general privacy guarantees and analysis.

Unassigning myself as I'm not likely to personally work on this any time soon, but I'd be happy to look at proposals here

@oskarth oskarth removed their assignment Mar 31, 2021
@staheri14
Copy link
Contributor

@oskarth Thanks for pinging me here! Padding + Encryption is a typical and decent approach to overcome such sizing issues and distinguishability problems (it is also already implemented in Waku v1). I will take a look at Sphinx article at a later time (depending on the priority of this issue) and will get back to share ideas.

@jimstir
Copy link
Contributor

jimstir commented Jun 13, 2024

issue moved here

@jimstir jimstir closed this as completed Jun 13, 2024
@jimstir jimstir closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants