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

3rd party fingerprinting protection #75

Merged
merged 3 commits into from
Apr 5, 2018
Merged

Conversation

yrliou
Copy link
Member

@yrliou yrliou commented Mar 28, 2018

fixes: brave/brave-browser#126
requires: brave/brave-extension#15

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions

@yrliou yrliou self-assigned this Mar 28, 2018
@yrliou yrliou requested a review from bbondy March 28, 2018 05:01
@yrliou yrliou force-pushed the 3rd_party_fingerprinting branch 2 times, most recently from db14524 to 979cc0e Compare March 28, 2018 17:15
@yrliou
Copy link
Member Author

yrliou commented Mar 30, 2018

I have wrote a browser test for this, will push it later after some refactoring.

@yrliou yrliou force-pushed the 3rd_party_fingerprinting branch 2 times, most recently from c2ae4c5 to 3febdaa Compare March 30, 2018 03:29
@bbondy
Copy link
Member

bbondy commented Apr 2, 2018

Is there a way to reduce the inline code without increasing the number of patches too significantly?

@yrliou yrliou force-pushed the 3rd_party_fingerprinting branch 2 times, most recently from f8f2689 to 35db990 Compare April 5, 2018 00:33
bbondy
bbondy previously approved these changes Apr 5, 2018
@yrliou yrliou merged commit db3f823 into master Apr 5, 2018
@yrliou yrliou deleted the 3rd_party_fingerprinting branch April 5, 2018 21:56
NejcZdovc added a commit that referenced this pull request Dec 10, 2018
bbondy pushed a commit that referenced this pull request Feb 18, 2019
Only show shield icon as disabled when the shield is explicitly blocked.
NejcZdovc added a commit that referenced this pull request Feb 25, 2019
Add support for VLOG to help reduce noise in logs for INFO
tmancey added a commit that referenced this pull request Feb 26, 2019
This reverts commit fc7de34, reversing
changes made to 211e767.
tmancey pushed a commit that referenced this pull request Feb 27, 2019
* Initial commit

* Added SetTimer and OnTimer

* Added missing #include for wallet_info data structure

* Added catalog issuers data structure

* Added OnCatalogIssuersChanged

* Added OnTimer

* Changed LOG to BLOG due to conflicts with base::

* wip, builds

* build w/ all class code

* port steps 1-5

* match server regex update

* Integration for brave-core

* Temporarily use std::cout instead of BLOG due to build issues

* Resolve linking issue with IsReadyToShowAds

* Only start filling confirmations, retrieving payments and cashing in payments once initialized

* Revert "Temporarily use std::cout instead of BLOG due to build issues"

This reverts commit 7baad78.

* Refactor to use callbacks

* Improve logging to help diagnose issues

* Confirmations fails to initialize when creating a new wallet (#42)

* Improve logging to help diagnose issues (#43)

* Confirmations fails to initialize when creating a new wallet (#44)

* Ads Serve failures should retry (#45)

* Resolves initiating profile DCHECK failure (#47)

* Improve logging to help diagnose issues (#48)

* Fix unit test build errors #53 (#54)

* Changes to how unblind and BatchDLEQProof::verify are being called in challenge-bypass-ristretto-ffi

* Decouple refill tokens

* Decouple redeem token

* Decouple payout tokens

* Added Ads Serve helper

* Decouple security into security helper

* Updated static values

* Updated BUILD.gn

* Refactor ConfirmationsImpl to use decoupled logic

* Added string helper

* Remove unused HappyHTTP dependency

* Add support for _is_production flag to choose between production and staging environments

* refactor dependencies

* Decoupled unblinded tokens and url request builder for unit tests

* Resolve compiler errors and decouple logic in preparation for unit testing

* Added unit tests

* Fix build for Windows/Linux

* Fix linter errors

* Confirmations should not be initialized if the wallet is invalid

* Removed unecessary boolean logic

* Return if wallet info is not ready

* Fix build error

* Fix header files

* Fix unit tests

* Remove redundant #include for unblinded_tokens.h

* Fixed unit test #include paths

* Revert "Remove redundant #include for unblinded_tokens.h"

This reverts commit 35f055e82f0a22428c600360a75336351f34458d.

* Remove redundant #include for unblinded_tokens.h

* Fixed unit test #include paths

* Refactor new to unique_ptr for unit tests

* Remove logging for unit tests

* Resolved lint error

* Added README.md

* Fixed linter errors

* Fix Linux and Windows build errors

* Resolve logging issue with wallet info

* Add support for VLOG to help reduce noise in logs for INFO

* Added ability to retrieve transaction history

* Fixed build error and refactored ctime to use base::Time

* Redeem tokens when notifications are viewed

* Update client when transaction history changes

* Reduced maximum persisted unblinded tokens from 100 to 50

Reduced maximum persisted unblinded tokens from 100 to 50 to reduce the chance that the server fails to generate the tokens before the next request. If the server still does not generate the tokens in time we retry after 15 seconds.

* Updated Copyright in BUILD.gn

* Updated README.md

* Revert "Merge pull request #75 from brave-intl/issues/52"

This reverts commit fc7de34, reversing
changes made to 211e767.

* Fixed unit tests
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.

3rd party fingerprinting protection
2 participants