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
28 changes: 28 additions & 0 deletions .armorer/bootstrap-state-v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"schema_version": 2,
"runtime_version": "0.1.0",
"catalog_sha256": "e21e6cbd2cdd1125dbb9817116b1f46d043807b4d92128abc9dc07256dbb4b13",
"workflow": {
"repository": "brianluby/armorer-workflows",
"commit": "e5e9c0d31baff87e357046d81068b646a39a9f23"
},
"last_plan_sha256": "605e7142c5c316be51c8cc81e4db0c550d0fc4ab05389ef5f10bbff353806653",
"managed": {
".armorer/ci-policy.toml": {
"content": "# Armorer's own dependency policy. Proposed 2026-11-16 from the licenses in\n# Cargo.lock; requires owner review before it is treated as a decision.\nschema_version = 1\n\n[licenses]\nallow = [\"MIT\", \"Apache-2.0\", \"Unicode-3.0\"]\n\n[advisories]\nexceptions = []\n\n[sources]\nallow_git = []\n\n[bans]\nmultiple_versions = \"warn\"\ndeny = []\n",
"sha256": "0fb8c49e542cbbc5583ce42b458e6022368f89661174781b588a6acbcef69b40"
},
".github/workflows/armorer-build.yml": {
"content": "name: Armorer unsigned build\n\non:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-build-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: false\n\njobs:\n build:\n uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n",
"sha256": "30ff9cbd05cd26659cf7f28274f236762ba2d3fc6518b57cfa7a0d47cc12b715"
},
".github/workflows/armorer-ci.yml": {
"content": "name: Armorer CI\n\non:\n pull_request:\n push:\n workflow_dispatch:\n\npermissions:\n contents: read\n\nconcurrency:\n group: armorer-ci-${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ github.event_name == 'pull_request' }}\n\njobs:\n verify:\n uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23\n",
"sha256": "edfb0ff48f128193445b0f35e2022913a2e0adb71007fb59d8d535cdf4f392c5"
},
"armorer.lock": {
"content": "schema_version = 1\nconfig_sha256 = \"03c6fa14657886d9973e9d1eef3a2a80342f353c37a1521297171c8028025c8f\"\nruntime_version = \"0.1.0\"\n\n[workflows]\nrepository = \"brianluby/armorer-workflows\"\ncommit = \"e5e9c0d31baff87e357046d81068b646a39a9f23\"\n\n[tools.actionlint--aarch64-apple-darwin]\nversion = \"1.7.12\"\nsha256 = \"aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f\"\n\n[tools.actionlint--aarch64-unknown-linux-gnu]\nversion = \"1.7.12\"\nsha256 = \"325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6\"\n\n[tools.actionlint--x86_64-unknown-linux-gnu]\nversion = \"1.7.12\"\nsha256 = \"8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8\"\n\n[tools.cargo-cyclonedx--aarch64-apple-darwin]\nversion = \"0.5.9\"\nsha256 = \"4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180\"\n\n[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]\nversion = \"0.5.9\"\nsha256 = \"7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a\"\n\n[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]\nversion = \"0.5.9\"\nsha256 = \"fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8\"\n\n[tools.cargo-deny--aarch64-apple-darwin]\nversion = \"0.20.2\"\nsha256 = \"fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3\"\n\n[tools.cargo-deny--aarch64-unknown-linux-gnu]\nversion = \"0.20.2\"\nsha256 = \"995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d\"\n\n[tools.cargo-deny--x86_64-unknown-linux-gnu]\nversion = \"0.20.2\"\nsha256 = \"9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f\"\n\n[tools.cyclonedx--aarch64-apple-darwin]\nversion = \"0.33.1\"\nsha256 = \"750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c\"\n\n[tools.cyclonedx--aarch64-unknown-linux-gnu]\nversion = \"0.33.1\"\nsha256 = \"b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f\"\n\n[tools.cyclonedx--x86_64-unknown-linux-gnu]\nversion = \"0.33.1\"\nsha256 = \"bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746\"\n\n[tools.gitleaks--aarch64-apple-darwin]\nversion = \"8.30.1\"\nsha256 = \"b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5\"\n\n[tools.gitleaks--aarch64-unknown-linux-gnu]\nversion = \"8.30.1\"\nsha256 = \"e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080\"\n\n[tools.gitleaks--x86_64-unknown-linux-gnu]\nversion = \"8.30.1\"\nsha256 = \"551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb\"\n\n[tools.zizmor--aarch64-apple-darwin]\nversion = \"1.30.1\"\nsha256 = \"e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2\"\n\n[tools.zizmor--aarch64-unknown-linux-gnu]\nversion = \"1.30.1\"\nsha256 = \"7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540\"\n\n[tools.zizmor--x86_64-unknown-linux-gnu]\nversion = \"1.30.1\"\nsha256 = \"e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a\"\n",
"sha256": "32eb16fb71a014abd94fee5af76d06b99bc3b440bb49f2fb3719f4c10a68b978"
}
}
}
16 changes: 16 additions & 0 deletions .armorer/ci-policy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Armorer's own dependency policy. Proposed 2026-11-16 from the licenses in
# Cargo.lock; requires owner review before it is treated as a decision.
schema_version = 1

[licenses]
allow = ["MIT", "Apache-2.0", "Unicode-3.0"]

[advisories]
exceptions = []

[sources]
allow_git = []

[bans]
multiple_versions = "warn"
deny = []
19 changes: 19 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Review ownership. The last matching pattern wins.
# Enforced only when a ruleset or branch protection requires code-owner review.

* @brianluby

# Trust anchors and anything that changes what CI or a release may do.
/.github/ @brianluby
/.armorer/ @brianluby
/armorer.toml @brianluby
/armorer.lock @brianluby
/catalogs/ @brianluby
/schemas/ @brianluby
/src/catalog.rs @brianluby
/src/upgrade/authority.rs @brianluby
/Cargo.toml @brianluby
/Cargo.lock @brianluby
/rust-toolchain.toml @brianluby
/requirements-schema.txt @brianluby
/SECURITY.md @brianluby
34 changes: 34 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Reviewed update proposals for exact pins. Every update is a pull request;
# nothing merges automatically. The cooldown keeps freshly published releases
# out until they have had time to be reported or yanked.
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
cargo-minor-and-patch:
update-types: [minor, patch]

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 5
ignore:
# Pinned by the compiled Armorer catalog; moves only through `armorer upgrade`.
- dependency-name: brianluby/armorer-workflows*

- package-ecosystem: pip
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
open-pull-requests-limit: 2
15 changes: 15 additions & 0 deletions .github/workflows/armorer-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Armorer unsigned build

on:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: armorer-build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
build:
uses: brianluby/armorer-workflows/.github/workflows/rust-build.yml@e5e9c0d31baff87e357046d81068b646a39a9f23
17 changes: 17 additions & 0 deletions .github/workflows/armorer-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Armorer CI

on:
pull_request:
push:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: armorer-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
verify:
uses: brianluby/armorer-workflows/.github/workflows/rust-ci.yml@e5e9c0d31baff87e357046d81068b646a39a9f23
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ target/
/.opencode/
/.veans.yml
.DS_Store
/.armorer/apply.lock
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include = ["src/**/*", "catalogs/bootstrap-tools-v1.json", "Cargo.toml", "README
base64 = "=0.22.1"
clap = { version = "=4.6.7", features = ["derive"] }
flate2 = { version = "=1.1.10", default-features = false, features = ["miniz_oxide"] }
rustix = { version = "=1.1.5", default-features = false, features = ["process", "fs", "std"] }
rustix = { version = "=1.1.6", default-features = false, features = ["process", "fs", "std"] }
schemars = "=1.2.1"
semver = "=1.0.28"
serde = { version = "=1.0.228", features = ["derive"] }
Expand Down
57 changes: 57 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Security policy

Bring evidence of a broken boundary. Protect the people who depend on it.
**This is the way.**

## Report a vulnerability privately

Use GitHub private vulnerability reporting:
<https://github.com/brianluby/armorer/security/advisories/new>
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

If that form is unavailable, open a
[GitHub issue](https://github.com/brianluby/armorer/issues) that asks for a
private channel and contains no vulnerability details. Do not post exploit
steps, unpatched findings or private repository information in public issues,
pull requests or discussions.

Use ordinary issues for non-sensitive defects and documentation problems.

## What to include

- The affected component and the exact commit or version.
- Host platform and Rust toolchain.
- The trust boundary you expected to hold, what happened instead, and the impact.
- A minimal reproducer that uses inert fixtures and contains no credentials.
- For verification findings: the subject bytes, the source, signer and predicate
expectations, and the policy and trusted-root identities involved.
- For local mutations: the approved plan, the file preimages and the
conflicting state.

Keep credential values and signing keys with their owner. Redact sensitive data
and test only against systems you are authorized to test.

## In scope

- Read-only discovery executing repository code or writing consumer files.
- Path or symlink escape from the repository root.
- Replacement of customized or unowned files.
- Bypass of plan approval, preimage checks or the recovery journal.
- Caller-supplied commands, URLs or provenance reaching a trusted step.
- Weakened source, signer, trusted-root or subject expectations.
- Incomplete evidence accepted as a complete proof.

A documented unimplemented capability, or an unsupported input that Armorer
rejects, is not by itself a vulnerability. Report findings in the reusable
workflows to
[armorer-workflows](https://github.com/brianluby/armorer-workflows) with their
pinned source identities.

## Supported versions and response

Armorer is experimental and has no released version. Fixes land on `main`. No
supported-version window, response time or bounty is promised yet; see
[compatibility](docs/compatibility.md) and the
[development map](docs/development-status.md) for current limits.

An accepted report still needs reproduced evidence, a reviewed fix and
independent validation before disclosure is coordinated.
79 changes: 79 additions & 0 deletions armorer.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
schema_version = 1
config_sha256 = "03c6fa14657886d9973e9d1eef3a2a80342f353c37a1521297171c8028025c8f"
runtime_version = "0.1.0"

[workflows]
repository = "brianluby/armorer-workflows"
commit = "e5e9c0d31baff87e357046d81068b646a39a9f23"

[tools.actionlint--aarch64-apple-darwin]
version = "1.7.12"
sha256 = "aba9ced2dee8d27fecca3dc7feb1a7f9a52caefa1eb46f3271ea66b6e0e6953f"

[tools.actionlint--aarch64-unknown-linux-gnu]
version = "1.7.12"
sha256 = "325e971b6ba9bfa504672e29be93c24981eeb1c07576d730e9f7c8805afff0c6"

[tools.actionlint--x86_64-unknown-linux-gnu]
version = "1.7.12"
sha256 = "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8"

[tools.cargo-cyclonedx--aarch64-apple-darwin]
version = "0.5.9"
sha256 = "4c53dfa21e70b65bf7f8d2592aadde3bcb02c1a40b6ec63b877e5ca65a29e180"

[tools.cargo-cyclonedx--aarch64-unknown-linux-gnu]
version = "0.5.9"
sha256 = "7bf131ca5389b07a4f10c182bcf8a5ad339d64408b6f0d8f6834a0bd6120a06a"

[tools.cargo-cyclonedx--x86_64-unknown-linux-gnu]
version = "0.5.9"
sha256 = "fb8dbee9f182173e062a64a387b21a0badc6fab8b2abf9294973f012972bf6d8"

[tools.cargo-deny--aarch64-apple-darwin]
version = "0.20.2"
sha256 = "fe67d82a10d8597a3549364cb733a3f9cc1bfff9031b7ae46384a9f2a72090c3"

[tools.cargo-deny--aarch64-unknown-linux-gnu]
version = "0.20.2"
sha256 = "995c82be0defc7a025cae49a2aa2644ce8245c9a3318fc4103907c6a285e8c7d"

[tools.cargo-deny--x86_64-unknown-linux-gnu]
version = "0.20.2"
sha256 = "9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f"

[tools.cyclonedx--aarch64-apple-darwin]
version = "0.33.1"
sha256 = "750c148780154833f6401f9067d08c5a4c31567b6ee3c26c062c3a95c62d741c"

[tools.cyclonedx--aarch64-unknown-linux-gnu]
version = "0.33.1"
sha256 = "b2e9fdf9665ef49868a2ec012171c6e785dcd69745bc5869e53e4f4bfb096a5f"

[tools.cyclonedx--x86_64-unknown-linux-gnu]
version = "0.33.1"
sha256 = "bfc8b2538da86fe239bc53658bbb63c1c8c510a293c1e6891aa5bea5d3c58746"

[tools.gitleaks--aarch64-apple-darwin]
version = "8.30.1"
sha256 = "b40ab0ae55c505963e365f271a8d3846efbc170aa17f2607f13df610a9aeb6a5"

[tools.gitleaks--aarch64-unknown-linux-gnu]
version = "8.30.1"
sha256 = "e4a487ee7ccd7d3a7f7ec08657610aa3606637dab924210b3aee62570fb4b080"

[tools.gitleaks--x86_64-unknown-linux-gnu]
version = "8.30.1"
sha256 = "551f6fc83ea457d62a0d98237cbad105af8d557003051f41f3e7ca7b3f2470eb"

[tools.zizmor--aarch64-apple-darwin]
version = "1.30.1"
sha256 = "e28d22b087f9ebb8d99da6e740d348c930f559961c7c3f12badda54f882195a2"

[tools.zizmor--aarch64-unknown-linux-gnu]
version = "1.30.1"
sha256 = "7ff1dce33bdd18fd2a4affe63bdd47efcccca97b2cec1c1863ec26e9e2647540"

[tools.zizmor--x86_64-unknown-linux-gnu]
version = "1.30.1"
sha256 = "e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a"
21 changes: 21 additions & 0 deletions armorer.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Intent for Armorer's own CLI. Release approval remains separate.
# This is the way.
schema_version = 1
repository = "brianluby/armorer"
toolchain = "1.95.0"

[[deliverables]]
id = "armorer-cli"
profile = "cli"
package = "armorer"
binary = "armorer"
targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "aarch64-apple-darwin"]
feature_set = "baseline"

[feature_sets.baseline]
default_features = true
features = []

[policy]
license_file = "LICENSE"
attestations = "required"
Loading
Loading