Skip to content

Open source · Rust-native · Local-first

Secrets belong to the runtime,
not the repository.

SourceOrrery replaces the plaintext .env file with an encrypted local vault, an Azure Key Vault–style lifecycle API and a manifest that declares which secrets a project needs without ever holding their values.

Status
Milestone 2 · local-first
Licence
MIT or Apache-2.0
The SourceOrrery emblem, an orrery between angle bracketsThe SourceOrrery emblem, an orrery between angle brackets
SourceOrrery secure architecture Five layers connect applications and AI coding workflows to language SDKs, the SourceOrrery client surface, the shared Rust core and native platform key protection. SDKs support Python, JavaScript and TypeScript, Rust, Java, .NET, Go, C, C++ and PHP. The core provides secret lifecycle, audit and versioning, and encrypted SQLite storage. Identity-based policy and local IPC are planned. macOS Keychain, Windows Credential Manager and Linux Secret Service protect the vault key. Decorative planets orbit slowly and small pulses travel between layers. Reduced-motion preferences are respected. Embedded font notices and SIL Open Font License: SO Architecture Sans Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. SO Architecture Serif Google Inc. This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. JS R .NET Go C C php SOURCEORRERY / SYSTEM DESIGN OPEN SOURCE · RUST-NATIVE · LOCAL-FIRST SourceOrrery secure architecture One Rust core. Every language. Native key protection. Applications and AI coding workflows Build secure applications with secrets, identity and policy. Clients and SDKs Use SourceOrrery in your language of choice. Python JavaScript / TypeScript Rust Java .NET Go C C++ PHP SourceOrrery client surface Native SDKs · FFI Local IPC Authenticated broker · planned ONE CANONICAL IMPLEMENTATION SourceOrrery Rust core The foundation for secrets, identity and audit. RUST Identity + policy Access control and authorization PLANNED Secret lifecycle Create · retrieve · version · recover Audit + versioning History, versions and accountability Crypto + storage XChaCha20-Poly1305 · encrypted SQLite Platform key storage Protects the vault key using the native platform. macOS Keychain Windows Credential Manager Linux Secret Service Architecture overview · planned capabilities are marked above. SOURCEORRERY.AI

We give coding agents access to repositories, terminals and build pipelines while still distributing credentials through plaintext files that sit in the working tree, get indexed, get pasted into prompts and get committed. SourceOrrery takes a different line.

No plaintext at rest

Every value is encrypted (XChaCha20-Poly1305) in a single SQLite file. The vault key is protected by your OS credential store and/or an Argon2id passphrase.

References, not values

sourceorrery://development/database-password is safe to commit, log and paste. It resolves only inside an authorised runtime.

A manifest that cannot leak

sourceorrery.toml declares the secrets a project needs. A value = ... key is a parse error.

Metadata by default

list, versions, get and audit never print a value. Disclosure is a deliberate get --reveal.

Versioned and recoverable

Every set creates an immutable version. Deletes are soft, recoverable and audited. Expiry and activation times are enforced, not advisory.

One implementation

The Rust core owns every semantic. Backends and language bindings pass the conformance suite or they are not SourceOrrery.

What SourceOrrery does and does not protect

Section titled “What SourceOrrery does and does not protect”

Three different guarantees, kept separate on purpose. The threat model spells out each one.

Guarantee Today
At-rest protection — no plaintext secrets on disk, in the repo or in agent context Yes
Access control — which identities may retrieve which secret Local only: whoever can unlock the vault
Agent isolation — an untrusted agent running as your user cannot impersonate your application No. Requires the authenticated broker and OS isolation (milestone 3)

Removing .env closes the accidental-exposure routes. It does not stop code running with your privileges from calling the same API you can. SourceOrrery says so rather than promising otherwise.

Terminal window
# 1. Create a vault (key protected by the OS credential store when available)
sourceorrery vault create development
# 2. Store a secret — interactively, from stdin or a file; never as an argument
sourceorrery secret set database-password --vault development
# 3. Inspect without revealing
sourceorrery secret list --vault development
sourceorrery secret get database-password --vault development
# 4. Declare what your project needs and run it with secrets injected
sourceorrery init
sourceorrery check
sourceorrery run -- npm start # DATABASE_PASSWORD is set in the child only

The getting started page walks through each step, starting with installing the release.

SourceOrrery has no cookie banner because I’m not interested in stalking you around the internet. SourceOrrery takes privacy so seriously that I even refused to build an auto-updater because phoning home once was already one call too many.