@clef-sh/core 0.1.26 → 0.1.27
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
package/dist/index.mjs
CHANGED
|
@@ -8461,7 +8461,12 @@ var ArtifactPacker = class {
|
|
|
8461
8461
|
ciphertext,
|
|
8462
8462
|
envelope: {
|
|
8463
8463
|
provider: kmsConfig.provider,
|
|
8464
|
-
|
|
8464
|
+
// Prefer the provider's resolved key ARN over the manifest input.
|
|
8465
|
+
// The manifest may carry an alias ARN (which `kms:Encrypt` accepts
|
|
8466
|
+
// and silently resolves), but downstream `kms:CreateGrant` calls
|
|
8467
|
+
// reject aliases. Persisting the resolved ARN keeps the envelope
|
|
8468
|
+
// valid for grant minting and stable across alias re-targeting.
|
|
8469
|
+
keyId: wrapped.resolvedKeyId ?? kmsConfig.keyId,
|
|
8465
8470
|
wrappedKey: wrapped.wrappedKey.toString("base64"),
|
|
8466
8471
|
algorithm: wrapped.algorithm,
|
|
8467
8472
|
iv: iv.toString("base64"),
|