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

bb verify exits silently when verifying a proof with vkey of a different circuit #10934

Open
saleel opened this issue Dec 23, 2024 · 0 comments
Labels
C-bb-bin Component: Barretenberg executable binary

Comments

@saleel
Copy link
Contributor

saleel commented Dec 23, 2024

bb verify throws an error if the proof is invalid/tampered and typically exit silently when the verification is successful.

However, if you attempt to verify a proof with the vkey of a different circuit if fail silently (indicating success). Running with -v flag prints the below log though:

bb command is: verify
Initializing BN254 prover CRS from memory with num points = 0
verified: 0

verified: 0 or verified: 1 should always be printed without adding verbose flag to avoid confusions

@saleel saleel added the C-bb-bin Component: Barretenberg executable binary label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bb-bin Component: Barretenberg executable binary
Projects
None yet
Development

No branches or pull requests

1 participant