secretspec 0.15.0-x86_64-linux → 0.16.0-x86_64-linux
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.
- checksums.yaml +4 -4
- data/lib/secretspec.rb +1 -1
- data/vendor/libsecretspec_ffi.a +0 -0
- data/vendor/secretspec.h +27 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 342614f94ce392512d32d2fc7beacce975deec8d27244057d3aea66925cb7fae
|
|
4
|
+
data.tar.gz: 8b616ea574c2179205056266443d2abd677aab57def093dd6154fa3677e7235b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6dc3cb012db0d94d0cb2e87bf88177fd41a187b1236c81e7dc29e2f843f1d307f5e39ce64db8ab777d04454d064d061ecfd2539104d5ee3f9bf697cdcb237a62
|
|
7
|
+
data.tar.gz: ca4cdf988d107d5b1cd78aec16cae43831c7870aaae3a70bd294821e78d02ccd913e0b601b353966ccc9060e0cd9f42142d640acd2e56e790f0ba0ea858694ca
|
data/lib/secretspec.rb
CHANGED
|
@@ -19,7 +19,7 @@ require "secretspec/secretspec_ext"
|
|
|
19
19
|
module Secretspec
|
|
20
20
|
# Response wire-format version this SDK understands. Tracks secretspec-ffi's
|
|
21
21
|
# RESOLVE_SCHEMA_VERSION; a mismatch means the loaded library is incompatible.
|
|
22
|
-
RESOLVE_SCHEMA_VERSION =
|
|
22
|
+
RESOLVE_SCHEMA_VERSION = 2
|
|
23
23
|
|
|
24
24
|
# Wire-format version of the value-free report. Tracks secretspec's
|
|
25
25
|
# RESOLUTION_REPORT_SCHEMA_VERSION.
|
data/vendor/libsecretspec_ffi.a
CHANGED
|
Binary file
|
data/vendor/secretspec.h
CHANGED
|
@@ -7,14 +7,37 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Request JSON (all fields optional):
|
|
9
9
|
* { "path": ".../secretspec.toml", "provider": "keyring://",
|
|
10
|
-
* "profile": "production", "reason": "boot", "no_values": false
|
|
10
|
+
* "profile": "production", "reason": "boot", "no_values": false,
|
|
11
|
+
* "mode": "resolve" }
|
|
12
|
+
*
|
|
13
|
+
* "mode" selects the response shape and defaults to "resolve":
|
|
14
|
+
*
|
|
15
|
+
* "resolve" the value-carrying resolve response. Set "no_values" to strip
|
|
16
|
+
* the values from it.
|
|
17
|
+
* "report" the value-free resolution report: the inventory/preflight view
|
|
18
|
+
* the CLI exposes as `check --json`.
|
|
19
|
+
*
|
|
20
|
+
* Any other value is rejected with an "invalid_request" error.
|
|
21
|
+
*
|
|
22
|
+
* "no_values" is NOT the same as "mode": "report". A "no_values" resolve blanks
|
|
23
|
+
* the values but keeps the resolve shape: its "secrets" is an object keyed by
|
|
24
|
+
* name, it never says whether a secret is *declared* required, and when a
|
|
25
|
+
* required secret is missing that object is empty. A report's "secrets" is an
|
|
26
|
+
* ARRAY of per-secret entries carrying "name", "required", "status"
|
|
27
|
+
* ("resolved" / "missing_required" / "missing_optional") and provenance, and
|
|
28
|
+
* lists every declared secret whether or not it resolved. "required" is
|
|
29
|
+
* reachable only via "report".
|
|
11
30
|
*
|
|
12
31
|
* Response envelope:
|
|
13
|
-
* { "ok": true, "response": { ...resolve response... } }
|
|
32
|
+
* { "ok": true, "response": { ...resolve response | resolution report... } }
|
|
14
33
|
* { "ok": false, "error": { "kind": "io", "message": "..." } }
|
|
15
34
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
35
|
+
* "ok": false means the call itself failed (bad manifest, provider error,
|
|
36
|
+
* unknown "mode"); a missing required secret is a domain result reported inside
|
|
37
|
+
* an "ok": true response.
|
|
38
|
+
*
|
|
39
|
+
* A resolve response carries secret values unless "no_values" was set; a report
|
|
40
|
+
* never does. Treat returned strings as sensitive and free them promptly.
|
|
18
41
|
*/
|
|
19
42
|
#ifndef SECRETSPEC_H
|
|
20
43
|
#define SECRETSPEC_H
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: secretspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: x86_64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Cachix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'Ruby bindings for SecretSpec: a native extension that statically links
|
|
14
14
|
the secretspec-ffi C ABI.'
|