Code Monkey home page Code Monkey logo

circom-rln's Introduction

Rate-Limiting Nullifier circuits in Circom

The project was audited by Veridise, yAcademy fellows and internally.


What's RLN?

RLN is a zero-knowledge gadget that enables spam prevention in anonymous environments.

The core parts of RLN are:


To learn more on RLN and how it works - check out documentation.

circom-rln's People

Contributors

atheartengineer avatar curryrasul avatar mhchia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

circom-rln's Issues

Upgrade snarkjs to >0.6.11

What's wrong?

iden3/snarkjs#358 suggested a vulnerability of the groth16 verifier in the latest snarkjs (v0.6.11). A fix iden3/snarkjs#359 was proposed but has yet to be merged. The issue is not related to circom so it's safe to stay as is, as discussed with @curryrasul offline.

How to fix it?

Upgrade snarkjs to the latest version as long as the fix is released.

spam attack with same message `x`

Description

Hi, I am researching the circuit in RLN and trying to understand how Shamir Secret Sharing works in RLN. However, I found that in the circuit, if the input x (hashed message) keeps the same, and we could using the same x to attack using the same messageId. To be more specifically, although we can detect that nullfier repeated in the sent shares, yet we could not reveal the spammer's identitySecret since the revealed (x, y) are all the same.

I am just curious if there's a solution of this or maybe it is my misunderstanding with the protocol.

Thanks

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.