Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ jobs:
components: rustfmt
- run: cargo fmt --check --all

lean-proofs:
name: Lean 4 Proofs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install elan
run: |
curl -sSf https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh | sh -s -- -y --default-toolchain none
echo "$HOME/.elan/bin" >> "$GITHUB_PATH"
- name: Regenerate Perm.lean from perms.toml
run: python3 proofs/scripts/gen_perm.py
- name: Build and verify proofs
run: cd proofs && lake build

capsec-audit:
name: Capability Audit
runs-on: ubuntu-latest
Expand Down
185 changes: 183 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"crates/cargo-capsec",
"crates/capsec-tokio",
"crates/capsec-tests",
"crates/capsec-proof",
]
exclude = [
"crates/capsec-example-db",
Expand Down
14 changes: 14 additions & 0 deletions crates/capsec-proof/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "capsec-proof"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
description = "Formal verification and property tests for capsec's permission lattice"

[dependencies]
toml = { workspace = true }

[dev-dependencies]
proptest = "1"
toml = { workspace = true }
Loading
Loading