You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
cryptosubtlety
changed the title
The attacker is allowed to control the ZKP's security parameters and sets it to a few bits
Facebook/winterfell: The attacker is allowed to control the security parameters and sets it to a few bits
Mar 13, 2023
This issue has been closed by facebook/winterfell#160 and the fix is based on what is described in facebook/winterfell#160 (comment). Basically, now when instantiating the verifier, the user must specify which parameters are acceptable (via the AcceptableOptions below):
pubfnverify<AIR,HashFn,RandCoin,VC>(proof:Proof,pub_inputs:AIR::PublicInputs,acceptable_options:&AcceptableOptions,) -> Result<(),VerifierError>// Specifies either the minimal, conjectured or proven, security level or a set of// `ProofOptions` that are acceptable by the verification procedure.pubenumAcceptableOptions{/// Minimal acceptable conjectured security levelMinConjecturedSecurity(u32),/// Minimal acceptable proven security levelMinProvenSecurity(u32),/// Set of acceptable proof parametersOptionSet(Vec<ProofOptions>),}
facebook/winterfell#160
The text was updated successfully, but these errors were encountered: