Repository navigation
Closed
Labels
Description
@JeremyRubin opened an issue yesterday after IRC meeting however its related to P2P & Networking only with no submodules considered or a wider scope.
Why do we need a privacy maintainer?
- @sipa and @laanwj stepped down as maintainers recently. They were good at reviewing pull requests for privacy before merging.
- Existing maintainers are good at different parts of code (QA, Build, GUI, Wallet and Mempool) however I am not sure about privacy.
- Privacy of contributors is as important as privacy in bitcoin core. I was doxxed by a bitcoin core maintainer on GitHub, comment was deleted later although I expect better ethics and policies followed by bitcoin core maintainers.
What will be the role of a privacy maintainer?
- Ensure privacy of contributors
- Review a pull request for privacy impact before merging (p2p, mempool, wallet, RPC, GUI etc.)
Examples of privacy related pull requests in bitcoin core:
- P2P: Mempool tracks locally submitted transactions to improve wallet privacy #18038
- wallet: "avoid_reuse" wallet flag for improved privacy #13756
Examples of privacy related roles and areas in different projects/companies:
Who qualifies for this role?
- Passionate about privacy
- Contributed in bitcoin core to improve privacy, other bitcoin projects and privacy in general
- Being anon or living in a country that does not have weird regulations related to privacy would be better although not necessary
Nominees
Everyone should be free to volunteer for this role as bitcoin core is an open source project and implementation used by 90% nodes for a censorship resistant network that can be used to settle payments.
Reacted by Antoine Poinsot
Activity
darosior commentedon Aug 19, 2022
Privacy is an (important) aspect of most (all?) areas of this project, but not an area in itself. Pretty much like "DOS resistance", or "don't introduce bugs". Therefore it's not a good fit for a maintainer scope. I don't think we should have a "privacy" maintainer, as much as a "DOS resistance" maintainer or "don't introduce bugs" maintainer.
maflcko commentedon Aug 19, 2022
Almost agree with the previous comment. Though, one could say I started out as "don't introduce bugs" maintainer, so I could also see a privacy maintainer to exist in the same sense.
However, I agree that all maintainers should have a basic set of skills such as not introducing bugs, writing good code, considering privacy aspects of changes, UX considerations, ... I think that all current maintainers have those "basic" skills.
If you ask for a privacy maintainer in the areas "p2p, mempool, wallet, RPC, GUI etc.", then that sounds more like a general maintainer to me. (Otherwise it would just be a GUI-privacy maintainer, aka GUI maintainer).
No objection to add more (general/specific) maintainers, if everything checks out.
darosior commentedon Aug 19, 2022
I didn't mean this as testing/qa (which is an area in itself IMO) but fair enough. :)
achow101 commentedon Aug 19, 2022
I don't think the notion of "privacy maintainer" is a useful one. As I have stated in other comments, privacy is not a specific module in the codebase that you can point to. This scope is not very well defined in terms of the codebase (it is important to note that the scopings of maintainers is based on actual code modules and not on abstract ideas).
Furthermore, privacy can refer to many different things that are often not at all related to each other. For example, there is privacy in terms of the types of networks we use (e.g. Tor, I2P, etc.); there is node privacy in terms of leaking information about our mempool, etc.; there is wallet privacy in terms of not leaking information about other UTXOs in created transactions. None of these things have any overlap with each other other than that they involve the term "privacy". There is no shared practical skillset. Given the very wide range of things that "privacy" refers to, I also think it is not feasible to that any one person will be an expert in all of these things. It would be more appropriate to say "Wallet privacy" or "P2P privacy", but then really the scope is "wallet" and "p2p", not really "privacy".
This sounds like this maintainer would have to review every PR and have to ACK every PR before it gets merged? If so, that's really not a good idea. It would lead to centralization around a specific maintainer and potentially lead to a lot of conflict in the review process (e.g. a new feature that is not necessarily privacy preserving, but is also something that users are likely to want).
It's also not clear to me what a privacy maintainer would actually be doing in terms of maintenance. We add new maintainers in order to merge code in specific areas because the current maintainers are not merging code in those areas. There is no "privacy" module for a privacy maintainer to merge code into. However If a privacy maintainer is just doing review, then they're just a reviewer, and anyone can post a review. Additionally, maintainers also do not have actionable power over other contributors or other maintainers. If a contributor violates the privacy of another contributor, what exactly is the privacy maintainer supposed to do?
Rspigler commentedon Aug 19, 2022
I agree with Achow's above comment. The scope is too large and it would be centralizing in effect. Keep in mind however, whoever wanted this designation - nothing stops you from reviewing any and all PRs you want from a privacy standpoint and making your ACK/NACKs known.
maflcko commentedon Aug 20, 2022
I think there is a risk that simply counting the ACKs/NACKs (or with some extended criteria) is going to oversimplify the process to the extent where it doesn't help to solve any issues, but instead make it easier to corrupt it. Review is not the only criteria that goes into a merge decision. There are too many others to list them all, but for example, maintainers will also need to look out for CI/test failures (discounting the false positives and rejecting the pull on true positives). Ideally this is already done by reviewers, but as review may have happened arbitrarily long in the past, new CI/test failures or bugs may have been introduced in the meantime through silent merge conflicts. (If I had to guess, a silent conflicts happen maybe 5%-10% as much as non-silent conflicts). Moreover, if there is a public script with reproducible criteria to merge a pull requests, it makes it easier for an attacker to know exactly how many GitHub handles they need to hijack to push their malicious changes to the master branch.
I think you overestimate what a bot can do. And regardless of how complicated the script is, an attacker could always just simulate/fuzz the script to conveniently minimize their resources to find the least expensive vector to inject their backdoor.