@clef-sh/core 0.1.26 → 0.1.27-beta.189
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/dist/artifact/packer.d.ts.map +1 -1
- package/dist/dependencies/checker.d.ts +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +2 -2
- package/dist/kms/types.d.ts +9 -0
- package/dist/kms/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packer.d.ts","sourceRoot":"","sources":["../../src/artifact/packer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAiB,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,SAAS,CAAC;AAMjE;;;;;;GAMG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;gBAFJ,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,aAAa,EAC5B,GAAG,CAAC,EAAE,WAAW,YAAA;IAGpC;;;OAGG;IACG,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"packer.d.ts","sourceRoot":"","sources":["../../src/artifact/packer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAiB,MAAM,UAAU,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAkB,MAAM,SAAS,CAAC;AAMjE;;;;;;GAMG;AACH,qBAAa,cAAc;IAEvB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC;gBAFJ,UAAU,EAAE,iBAAiB,EAC7B,aAAa,EAAE,aAAa,EAC5B,GAAG,CAAC,EAAE,WAAW,YAAA;IAGpC;;;OAGG;IACG,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;CA+I9F"}
|
|
@@ -9,7 +9,7 @@ export declare const REQUIREMENTS: {
|
|
|
9
9
|
declare function semverSatisfied(installed: string, required: string): boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Extract version from sops output.
|
|
12
|
-
* Format: "sops 3.8.1 (latest)" or "sops 3.
|
|
12
|
+
* Format: "sops 3.8.1 (latest)" or "sops 3.12.2"
|
|
13
13
|
*/
|
|
14
14
|
declare function parseSopsVersion(stdout: string): string | null;
|
|
15
15
|
/**
|
package/dist/index.js
CHANGED
|
@@ -17920,7 +17920,12 @@ var ArtifactPacker = class {
|
|
|
17920
17920
|
ciphertext,
|
|
17921
17921
|
envelope: {
|
|
17922
17922
|
provider: kmsConfig.provider,
|
|
17923
|
-
|
|
17923
|
+
// Prefer the provider's resolved key ARN over the manifest input.
|
|
17924
|
+
// The manifest may carry an alias ARN (which `kms:Encrypt` accepts
|
|
17925
|
+
// and silently resolves), but downstream `kms:CreateGrant` calls
|
|
17926
|
+
// reject aliases. Persisting the resolved ARN keeps the envelope
|
|
17927
|
+
// valid for grant minting and stable across alias re-targeting.
|
|
17928
|
+
keyId: wrapped.resolvedKeyId ?? kmsConfig.keyId,
|
|
17924
17929
|
wrappedKey: wrapped.wrappedKey.toString("base64"),
|
|
17925
17930
|
algorithm: wrapped.algorithm,
|
|
17926
17931
|
iv: iv.toString("base64"),
|