Code Monkey home page Code Monkey logo

draft-privacy-pass's People

Contributors

alxdavids avatar dvorak42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

draft-privacy-pass's Issues

Protocol Message Encoding Format

Is the actual encoding of protocol messages left to applications that build on top of PrivacyPass, or will a recommended coding show up here?

Since its a primarily a crypto protocol, it might make sense to consider TLS Presentation Language (basic length prefixed blobs) or DER rather than requiring a JSON/CBOR dependency for the protocol itself.

Reducing the double spend window at redemption

The current design of Privacy Pass allows double spends unless a record of each token redeemed is kept and checked at redemption.

In typical use, tokens issued may be reasonably expected to survive for multiple days. This creates an obligation for services to maintain globally consistent records for a long period of time to prevent abuse.

We can propose possible solutions, but want to first call this out as an issue for wider adoption in case others are thinking about the same issue.

There are at least two separate issues to address:

  1. This request is not simply a replay
  2. This redemption is not simply a replay

An ideal solution would allow fast evaluation of these properties while requiring a minimum of shared state.

Multiple keys = tracking bits

In the security considerations, you have:

TODO: Can client's flag bad server practices?

Given that use of multiple keys can be used to segment users (with arbitrary granularity even), it seems that this system depends critically on having some way to limit the number of keys that a server can use.

Support multiple tokens at issuance

(Adding an issue, can try drafting up a PR shortly)

It should be possible for a client to get multiple tokens issued at one time to avoid having to do a round-trip for each invocation of the issuance. The issuer might also want to publish the maximum number of tokens they'll issue at once (so the client knows how many blinded tokens to generate and send).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.