Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
93a0a76
refactor(crypto): centralize AWS-LC behind backend interface
varshaprasad96 Sep 15, 2026
0d47884
refactor(crypto): route new host proxy tests through facade
varshaprasad96 Sep 15, 2026
7875320
fix(crypto): make backend boundary check portable
varshaprasad96 Sep 15, 2026
7a864ee
fix(crypto): route Google JWT signing through facade and verify conte…
varshaprasad96 Sep 15, 2026
16d4262
refactor(crypto): propagate digest backend failures
varshaprasad96 Sep 15, 2026
dbaa68d
refactor(crypto): route Vault TLS fixtures through facade
varshaprasad96 Sep 15, 2026
3464624
refactor(crypto): adapt isolation runtime callers after main rebase
varshaprasad96 Sep 16, 2026
f68d190
fix(crypto): declare sandbox dependency and remove boundary lint
varshaprasad96 Sep 16, 2026
a59f9c8
refactor(crypto): support independent backends and backend-free CA im…
varshaprasad96 Sep 18, 2026
a046428
chore(crypto): refresh feature suite lockfile after rebase
varshaprasad96 Sep 18, 2026
d31b690
fix(crypto): route runtime integrity and entropy through backend
varshaprasad96 Sep 23, 2026
cee5f76
chore(crypto): refresh lockfile after upstream rebase
varshaprasad96 Sep 23, 2026
b5871a2
fix(crypto): route VM socket entropy through backend after rebase
varshaprasad96 Sep 24, 2026
087aff2
docs(crypto): document architecture and contributor boundaries
varshaprasad96 Sep 24, 2026
b48ae70
test(crypto): adapt upstream fixtures to backend facade
varshaprasad96 Sep 24, 2026
4c7c661
test(crypto): route relay TLS fixture through facade
varshaprasad96 Sep 28, 2026
73749e8
test(crypto): adapt service bearer TLS fixture after rebase
varshaprasad96 Sep 30, 2026
4505562
fix(crypto): route provider profile TLS initialization through facade
varshaprasad96 Sep 30, 2026
82fa0cd
fix(crypto): adapt upstream VM and supervisor paths to facade
varshaprasad96 Oct 5, 2026
44091f5
ci(crypto): enforce backend independence in branch checks
varshaprasad96 Oct 5, 2026
6a47cb1
test(crypto): adapt upstream token grant TLS fixture
varshaprasad96 Oct 6, 2026
b183982
fix(crypto): avoid format collect in executable hashing
varshaprasad96 Oct 9, 2026
1792948
fix(crypto): address provider selection and decryption review
varshaprasad96 Oct 9, 2026
00c6acd
fix(crypto): adapt upstream operator TLS paths after rebase
varshaprasad96 Oct 12, 2026
ec548b2
fix(crypto): adapt upstream TLS fixtures and protocol tests
varshaprasad96 Oct 19, 2026
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
2 changes: 2 additions & 0 deletions .agents/skills/build-from-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ Use a single issue comment beginning with `> **🏗️ build-plan**` when a plan
Every PR from this issue-backed workflow must have its own existing issue and use `Closes #<id>` in its Related Issue section. For work needing multiple PRs, split the scope into a closable issue per PR. A high-level issue may track those issues but should not be closed by an incomplete PR. Report the implementation, verification, and any remaining limitation in the PR description, rather than copying earlier issue diagnostics.

Do not apply acceptance or roadmap decisions on behalf of a maintainer. Do not introduce `agent:*` workflow labels.

For first-party security-sensitive crypto, use `openshell-crypto` and extend its facade/backend contracts when needed. Follow the [crypto architecture](../../../crates/openshell-crypto/CRYPTO.md) for compatibility, failure handling, and explicit coverage exceptions.
2 changes: 2 additions & 0 deletions .agents/skills/fix-security-issue/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ Use this skill after an authorized `review-security-issue` review identifies an
5. Follow `create-github-pr` and use `Closes #<id>` for the reviewed issue. Every PR from this issue-backed remediation workflow must close its own issue; split multi-PR remediations into separate issues in the authorized security workflow. Keep the PR description appropriately scoped to its disclosure venue.

Begin any fix comments with `> **🔧 security-fix-agent**`. Do not change human disposition or introduce `agent:*` workflow labels.

For first-party security-sensitive crypto, use `openshell-crypto` and extend its facade/backend contracts when needed. Follow the [crypto architecture](../../../crates/openshell-crypto/CRYPTO.md) for compatibility, failure handling, and explicit coverage exceptions.
1 change: 1 addition & 0 deletions .agents/skills/review-github-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Read through the full diff (and the PR description if available). Produce a summ
suggested change.
- Do not fabricate concerns or claim a behavioral regression without evidence
for both the prior and proposed behavior.
- **Cryptographic boundaries**: For changed first-party security-sensitive crypto, verify use of `openshell-crypto`, backend dispatch, failure propagation without fallback, and protocol/storage compatibility. Missing operations belong in the facade/backend contracts. Check dependency-owned and non-security exceptions against the repository's [crypto architecture](../../../crates/openshell-crypto/CRYPTO.md); protocol/parsing types alone are not bypasses. Report undocumented bypasses or scope expansion under **Potential Concerns**.
- **Agent infrastructure**: When the PR changes behavior, commands, or development workflows, use the `sync-agent-infra` maintenance map to check that related skills were updated. When it adds, removes, or renames skills or crates; changes workflow relationships or skill coverage; modifies issue or PR templates; or changes agent cross-references, apply the full consistency checklist. Report missing companion updates or drift under **Potential Concerns**.

## Step 5: Output
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/branch-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,17 @@ jobs:
cache-key: rust-checks-v2
save-cache: "true"

- name: Verify crypto backend independence
shell: nix develop -c bash -euo pipefail {0}
run: |
cargo tree --locked -p openshell-crypto --no-default-features --edges normal,build,dev --prefix none > /tmp/openshell-crypto-dependencies.txt
if grep -Eq '^(ring|aws-lc-rs|aws-lc-sys|aws-lc-fips-sys) v' /tmp/openshell-crypto-dependencies.txt; then
echo "ERROR: backend-free crypto build includes Ring or AWS-LC" >&2
cat /tmp/openshell-crypto-dependencies.txt >&2
exit 1
fi
cargo test --locked -p openshell-crypto --no-default-features --test independent_backend

- name: Test
shell: nix develop -c bash -euo pipefail {0}
env:
Expand Down
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Do not rely on this file for a full inventory. The detailed public and contribut
| `crates/openshell-ocsf/` | OCSF logging | OCSF v1.8.0 event types, builders, shorthand/JSONL formatters, tracing layers |
| `crates/openshell-otel/` | OpenTelemetry support | Shared OTLP trace provider, resource, and tracing-layer construction |
| `crates/openshell-otel-test-support/` | OpenTelemetry test support | Shared loopback OTLP collector fixture for tracing tests |
| `crates/openshell-crypto/` | Crypto backend | Backend-neutral primitives and TLS, PKI, JWT adapters; AWS-LC implementation |
| `crates/openshell-core/` | Shared core | Common types, configuration, error handling |
| `crates/openshell-extension-core/` | Extension core | Shared extension identity, JWT claims, bearer-token rotation, and TLS transport primitives |
| `crates/openshell-gateway/` | Gateway binary composition | Links selected first-party compute drivers into the backend-agnostic server registry |
Expand Down Expand Up @@ -235,6 +236,7 @@ When behavior, commands, or development workflows change, review the related age

## Security

- Route first-party security-sensitive cryptographic operations through `openshell-crypto`. If an operation is missing, extend the facade and backend implementation instead of adding a direct cryptographic implementation in an application crate. Preserve protocol compatibility and propagate backend failures without fallback. Protocol/parsing types and documented non-security or dependency-owned exceptions remain permitted; classify exceptions explicitly. Follow [Cryptography and FIPS](crates/openshell-crypto/CRYPTO.md).
- Never commit secrets, API keys, or credentials. If a file looks like it contains secrets (`.env`, `credentials.json`, etc.), do not stage it.
- Do not run destructive operations (force push, hard reset, database drops) without explicit human confirmation.
- Scope changes to the issue at hand. Do not make unrelated changes in the same branch.
Loading
Loading