feat: Phase 2 components - keyring, rego, crypto#37
Merged
Conversation
Cross-platform credential storage via keyring crate: - macOS: Keychain (encrypted, Touch ID optional) - Linux: secret-service (GNOME Keyring, KDE Wallet) - Windows: Credential Manager SecurityLevel::HardwareBasic - keys encrypted at rest by OS.
OPA/Rego policy engine for expressive supply chain policies: - SLSA level enforcement - Trusted tool/builder verification - Custom policy rules with violations reporting Requires --features rego (uses Microsoft's Regorus)
Add WASM component implementing wsc:crypto/hardware-signing interface. This provides a portable abstraction for cryptographic operations that can be backed by software or hardware implementations. - src/crypto/: Component crate with wit-bindgen generated bindings - wit/BUILD.bazel: Add wsc_crypto_wit target for component model 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wire up exploratory Phase 2 components that were implemented but not committed:
Changes
feat: add OS keyring/keychain key storage providerkeyring-storagefeature flagfeat: add Rego policy language support via Regorusrego.rsto policy moduleregofeature flagfeat: add wsc:crypto WASM component for hardware signingsrc/crypto/crate with wit-bindgen bindingswit/BUILD.bazelwsc_crypto_wit target for component modelTest plan
cargo build --all-featurespassesbazel build //...passes