The monorepo's latest commit points every plugin's manifest, packaging metadata and README install block at the monorepo and its own subdirectory, so the old per-plugin repositories can be retired without leaving dead links behind. The plugin code is unchanged. docs_url switches from a pinned sha to the default branch, so the next bump does not have to edit it.
19 lines
2.4 KiB
YAML
19 lines
2.4 KiB
YAML
name: hermes-dpapi-secrets
|
|
repo: https://github.com/Yicheng-Mark/hermes-windows-plugins
|
|
sha: b26b92760b2bfc36a91c280af96b0171c4d00267
|
|
subdir: dpapi-secrets
|
|
description: "Resolve Hermes environment variables at startup from a single secret file encrypted with the Windows Data Protection API, instead of keeping provider keys in plaintext in .env or auth.json. Config is secrets.dpapi.map, an ENV_VAR -> store-name mapping (bare names or dpapi:// names) plus an optional file path (default <HERMES_HOME>/secrets.dpapi). The file is one DPAPI blob keyed by the current Windows user profile, so it is unreadable by another Windows account and worthless off the machine; it is written by the bundled CLI (python -m hermes_dpapi_secrets set NAME, value read from a prompt or stdin, never from argv) and only read at runtime. Mapped names that are missing or empty are skipped with a warning; a file that is not ours, a blob this user cannot decrypt, or a payload that is not a flat string map is reported as an error with nothing injected. Disclosure - this source decrypts a file for every Hermes process that enables it: resolved values become environment variables of the Hermes process and its children, exactly like .env entries, so anything that can read that environment can see them. User-scope encryption only (the machine-wide flag is never used and is not exposed), and the at-rest protection is a bar for backups, cloud sync and dotfiles, not a boundary against code already running as the same user. Stdlib-only (ctypes): no Python dependencies, no subprocesses, no network calls, no self-update. Windows only. Applying fetched values stays the orchestrator's job; the plugin never writes os.environ itself. Disclosure — decrypts a DPAPI-encrypted secret file (default <HERMES_HOME>/secrets.dpapi) at startup for every Hermes process that enables it, and the resolved values become environment variables of Hermes and its child processes like `.env` entries; the encryption is per Windows user and protects backups, cloud sync and copied files, not against other code running as the same user. Local only: no network calls, no subprocesses."
|
|
maintainer: Yicheng-Mark
|
|
tier: community
|
|
category: tools
|
|
requires_hermes: ">=0.21.4"
|
|
docs_url: https://github.com/Yicheng-Mark/hermes-windows-plugins/tree/main/dpapi-secrets
|
|
version: "0.1.0"
|
|
platforms:
|
|
- windows
|
|
capabilities:
|
|
provides_tools: []
|
|
provides_hooks: []
|
|
provides_middleware: []
|
|
requires_env: []
|