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

New scheme for Privacy State Token: Scrappy #21

Open
akakou opened this issue Mar 2, 2024 · 15 comments
Open

New scheme for Privacy State Token: Scrappy #21

akakou opened this issue Mar 2, 2024 · 15 comments

Comments

@akakou
Copy link

akakou commented Mar 2, 2024

This proposal is making Scrappy(SeCure Rate Assuring Protocol with PrivacY),
a new scheme with strong privacy for Privacy State Token..

Scrappy is a rate-limiter the same as Privacy Pass, but this restants to the timing correlation attack.
Also, Scrappy works as E2E (between users and web service) in the hot paths (i.e., sign and verify),
so that the issuer does not need to receive high access from users.

Slides: https://speakerdeck.com/akakou/privacy-enhanced-revocation-and-view-of-applying-to-web
Base paper: https://www.ndss-symposium.org/ndss-paper/scrappy-secure-rate-assuring-protocol-with-privacy/

Note

  • Although Scrappy mainly assumes the user has a unique resource in the hardware device (in particular, the TPM),
    we can use other unique resources, the same as the Trust Token API.
  • TODO

Other Reference

Privacy State Token:
https://developers.google.com/privacy-sandbox/protections/private-state-tokens?hl=en

@akakou akakou changed the title New Privacy State Token scheme: Scrappy New scheme for Privacy State Token: Scrappy Mar 2, 2024
@akakou
Copy link
Author

akakou commented Mar 2, 2024

This is Abstracts of Scrappy

Preventing abusive activities caused by adversaries accessing online services at a rate exceeding that expected by websites has become an ever-increasing problem. CAPTCHAs and SMS authentication are widely used to provide a solution by implementing rate limiting, although they are becoming less effective, and some are considered privacy-invasive. In light of this, many studies have proposed better rate-limiting systems that protect the privacy of legitimate users while blocking malicious actors. However, they suffer from one or more shortcomings: (1) assume trust in the underlying hardware and (2) are vulnerable to side-channel attacks.
Motivated by the aforementioned issues, this paper proposes Scrappy: SeCure Rate Assuring Protocol with PrivacY. Scrappy allows clients to generate unforgeable yet unlinkable rate-assuring proofs, which provides the server with cryptographic guarantees that the client is not misbehaving. We design Scrappy using a combination of DAA and hardware security devices. Scrappy is implemented over three types of devices, including one that can immediately be deployed in the real world. Our baseline evaluation shows that the end-to-end latency of Scrappy is minimal, taking only 0.32 seconds, and uses only 679 bytes of bandwidth when transferring necessary data. We also conduct an extensive security evaluation, showing that the rate-limiting capability of Scrappy is unaffected even if the hardware security device is compromised.

@akakou
Copy link
Author

akakou commented Mar 6, 2024

@dvorak42

I would like to ask that is this repository a proper place to propose this?
Or is it better to propose it to this repository?

@akakou akakou changed the title New scheme for Privacy State Token: Scrappy New scheme for Trust Token API: Scrappy Mar 6, 2024
@dvorak42
Copy link
Member

dvorak42 commented Mar 6, 2024

Is the particular proposal to add support for this as a new token type for the Private State Token API (fka Trust Token)? If so, then the https://github.com/WICG/trust-token-api is probably a better place to discuss that. If you'd like to present this variant of a token to the AFCG, then here is probably right to have that discussion.

@akakou
Copy link
Author

akakou commented Mar 6, 2024

Thank you for your answers!

I think that I would like to propose Scrappy as one of the token types for Private State Token.
This was because the use case and property are similar, and we can reuse the discussion in the past.

(Now I have found that Privacy State Token's interface is slightly different from Scrappy's required one.
Therefore, if it is hard to fill the gap, maybe we will go back to AFCG.)

@akakou
Copy link
Author

akakou commented Mar 6, 2024

@dvorak42
Is this reasonable? I would like to know your opinion if you are ok.

@dvorak42
Copy link
Member

dvorak42 commented Mar 6, 2024

If you can open an issue on the other repo, we can discuss more there. I think some of the attributes of Scrappy might be interesting for PST, though I haven't had time to do an in-depth read of it yet. I'll point out the issue to other folks on the team to see if they have thoughts.

@akakou akakou changed the title New scheme for Trust Token API: Scrappy New scheme for Privacy State Token: Scrappy Mar 6, 2024
@akakou
Copy link
Author

akakou commented Mar 18, 2024

@dvorak42

I re-read your comments and may misread the other repo you said.
Did you mean the repository for Private State Token or my new repository?

@dvorak42
Copy link
Member

Yes, the Private State Tokens repository. Unfortunately with IETF happening this week and preparation for it, I haven't had a chance to review the issue in more detail yet.

@akakou
Copy link
Author

akakou commented Mar 19, 2024

@dvorak42
Thank you for your answer. I see!

Regarding the review, please don't worry.
There is no reason to hurry, and I hope you review this when you are free.

Have fun at the IETF meeting!

@akakou
Copy link
Author

akakou commented Mar 19, 2024

By the way, I could present it at the community group meeting if Scrappy is a little too complex.
(However, due to my low English listening skills, I hope to respond to text questions instead of voice conversations.)

@dvorak42
Copy link
Member

This week's meeting is a bit full, but perhaps you'd be able to present it at one of the April AFCG meetings?

@akakou
Copy link
Author

akakou commented Mar 26, 2024

@dvorak42
Good! How about the meeting on April 13th?

@dvorak42
Copy link
Member

dvorak42 commented Mar 27, 2024 via email

@akakou
Copy link
Author

akakou commented Mar 28, 2024

Thank you!!
I'm looking forward to presenting it on that day.

@akakou
Copy link
Author

akakou commented Apr 12, 2024

We discussed in the meeting:

https://github.com/antifraudcg/meetings/blob/main/2024/04-12.md

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

No branches or pull requests

2 participants