Skip to content

Beneficial-AI-Foundation/SparsePostQuantumRatchet-verify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Verify the Sparse Post-Quantum Ratchet (SPQR) using Lean

A project to formally verify SparsePostQuantumRatchet, a Rust implementation of Signal's post-quantum secure ratchet protocol.

The verification uses Lean 4 and relies on the Lean representation of the Rust code produced by Aeneas.

Maintained by The Beneficial AI Foundation.

Repository Structure

Path Contents
src/ Rust source of the SPQR crate (pinned upstream commit, with any local edits captured in src-modifications.diff).
SrcTranslated/ Aeneas-auto-generated Lean files (Types.lean, Funs.lean, never edited by hand) plus hand-written externals (TypesExternal.lean, FunsExternal.lean).
Spqr/Math/ Project-wide mathematical infrastructure, implemented in Lean.
Spqr/Specs/ Lean spec theorem files for individual Rust functions, organised to mirror the Rust module tree.
aeneas-config.yml Aeneas extraction configuration.
scripts/ Project tooling scripts (extraction, diffing, linting, auditing).
doc/ Style and workflow/PR guides.

Contributing

See CONTRIBUTING.md.

Code of Conduct

We follow the Rust Code of Conduct, with the following additional clause:

  • We respect the rights to privacy and anonymity for contributors and people in the community. If someone wishes to contribute under a pseudonym different to their primary identity, that wish is to be respected by all contributors.

License

This repository is dual-licensed:

About

Project to formally verify SPQR using Lean

Resources

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages