@dotenvage/node 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -152,7 +152,15 @@ Creates a SecretManager by loading the key from standard locations:
152
152
  1. `DOTENVAGE_AGE_KEY` environment variable
153
153
  2. `AGE_KEY` environment variable
154
154
  3. `EKG_AGE_KEY` environment variable
155
- 4. Key file at `~/.local/state/dotenvage/dotenvage.key`
155
+ 4. OS keychain entry (service: `dotenvage` or `DOTENVAGE_KEYCHAIN_SERVICE`;
156
+ account: `AGE_KEY_NAME` or `{CARGO_PKG_NAME}/dotenvage`)
157
+ 5. Key file at `~/.local/state/dotenvage/dotenvage.key`
158
+
159
+ OS keychain lookup currently uses:
160
+ - macOS: Keychain via `security`
161
+ - Linux/Unix: Secret Service via `secret-tool`
162
+ - Windows: lookup falls back to file/env sources (no keychain lookup yet);
163
+ `keygen --store os|both` stores using `cmdkey`
156
164
 
157
165
  ```typescript
158
166
  const manager = dotenvage.JsSecretManagerNew();
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotenvage/node",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Node.js bindings for dotenvage - Dotenv with age encryption",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",