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
1 change: 1 addition & 0 deletions .auths/allowed_signers
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# auths:managed — do not edit manually
# auths:attestation
z6MkhPJCPXd5A9VN4wScJkxTtz6de7egZQx78vsiAT1vg3PZ@auths.local namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICuPK6OfYp7ngZp40Q+Dsrahhks472v6gPIMD0upCRnM
z6MkhfnUUc2UJJ5C9sQQ7GvXmSbQJsdtNKV6HNYcQtTjc7xE@auths.local namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC/Ib83sxXogDnEVzLjFBkyC+DhP+cssbPzZAmQhB+Lz
# auths:manual
8 changes: 8 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@ ignore = [
# -> hyper-rustls 0.24 -> rustls 0.21). Pinned by AWS SDK's legacy TLS stack.
# No update available until AWS SDK drops rustls 0.21 support.
"RUSTSEC-2026-0049",

# lru IterMut stacked-borrows violation (via aws-sdk-s3 -> lru 0.12.5).
# Patched in lru >= 0.16.3, but blocked until aws-sdk-s3 updates its dep.
"RUSTSEC-2026-0002",
]

[yanked]
# uds_windows 1.2.0 is yanked but is a transitive dep of zbus; no direct fix available.
ignore = true
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:

permissions:
contents: read
checks: write

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -132,11 +131,12 @@ jobs:
- name: Run doc tests
run: cargo test --all --doc

- name: Install cargo-audit
if: matrix.os == 'ubuntu-latest'
uses: taiki-e/install-action@cargo-audit
- name: Security audit
if: matrix.os == 'ubuntu-latest'
uses: rustsec/audit-check@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
run: cargo audit

# capsec-audit:
# name: Capability Audit
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ repos:
# ── Fast gates (commit) ──────────────────────────────────────────────
# These run on every `git commit`. They should take < 3 seconds incrementally.

- id: check-workflow-secrets
name: "Workflow secret leak check (no ${{ secrets.* }} in body: blocks)"
entry: bash scripts/check_workflow_secrets.sh
language: system
files: \.github/workflows/.*\.yml$
pass_filenames: false

- id: check-sdk-boundary
name: SDK boundary check (CLI must not import core/id/storage)
entry: bash scripts/check_sdk_boundary.sh
Expand Down
5 changes: 0 additions & 5 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions crates/auths-cli/src/commands/ci/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ pub mod forge_backend;
pub mod rotate;
pub mod setup;

/// Key alias used by all CI commands (setup, rotate).
pub(crate) const CI_DEVICE_ALIAS: &str = "ci-release-device";

use anyhow::Result;
use clap::{Args, Subcommand};
use std::sync::Arc;
Expand Down
3 changes: 1 addition & 2 deletions crates/auths-cli/src/commands/ci/rotate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ use crate::commands::ci::forge_backend::backend_for_forge;
use crate::commands::ci::setup::warn_short_ttl;
use crate::subprocess::git_stdout;

/// CI device key alias (same as setup).
const CI_DEVICE_ALIAS: &str = "ci-release-device";
use super::CI_DEVICE_ALIAS;

/// Run the `auths ci rotate` flow.
///
Expand Down
3 changes: 1 addition & 2 deletions crates/auths-cli/src/commands/ci/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ use crate::commands::ci::forge_backend::backend_for_forge;
use crate::factories::storage::build_auths_context;
use crate::subprocess::git_stdout;

/// CI device key alias used by `auths ci setup`.
const CI_DEVICE_ALIAS: &str = "ci-release-device";
use super::CI_DEVICE_ALIAS;

/// Run the `auths ci setup` flow.
///
Expand Down
5 changes: 0 additions & 5 deletions crates/xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ schemars.workspace = true
serde_json = "1"
base64.workspace = true
clap = { version = "4", features = ["derive"] }
flate2 = "1"
rand = "0.10.0"
rpassword = "7"
tar = "0.4"
tempfile = "3"
walkdir = "2"

[lints]
Expand Down
Loading
Loading