envpkt 0.6.7 → 0.6.8
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/cli.js +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1225,6 +1225,7 @@ const bootSafe = (options) => {
|
|
|
1225
1225
|
sealedKeys.add(key);
|
|
1226
1226
|
}
|
|
1227
1227
|
});
|
|
1228
|
+
else if (hasSealedValues && !identityFilePath) warnings.push("Sealed values found but no identity file available for decryption");
|
|
1228
1229
|
const remainingKeys = metaKeys.filter((k) => !sealedKeys.has(k));
|
|
1229
1230
|
if (remainingKeys.length > 0) if (fnoxAvailable()) fnoxExport(opts.profile, identityKey).fold((err) => {
|
|
1230
1231
|
warnings.push(`fnox export failed: ${err.message}`);
|
|
@@ -1237,6 +1238,7 @@ const bootSafe = (options) => {
|
|
|
1237
1238
|
});
|
|
1238
1239
|
else {
|
|
1239
1240
|
if (!hasSealedValues) warnings.push("fnox not available — no secrets injected");
|
|
1241
|
+
else warnings.push("fnox not available — unsealed secrets could not be resolved");
|
|
1240
1242
|
for (const key of remainingKeys) skipped.push(key);
|
|
1241
1243
|
}
|
|
1242
1244
|
if (inject) for (const [key, value] of Object.entries(secrets)) process.env[key] = value;
|
package/dist/index.js
CHANGED
|
@@ -1730,6 +1730,7 @@ const bootSafe = (options) => {
|
|
|
1730
1730
|
sealedKeys.add(key);
|
|
1731
1731
|
}
|
|
1732
1732
|
});
|
|
1733
|
+
else if (hasSealedValues && !identityFilePath) warnings.push("Sealed values found but no identity file available for decryption");
|
|
1733
1734
|
const remainingKeys = metaKeys.filter((k) => !sealedKeys.has(k));
|
|
1734
1735
|
if (remainingKeys.length > 0) if (fnoxAvailable()) fnoxExport(opts.profile, identityKey).fold((err) => {
|
|
1735
1736
|
warnings.push(`fnox export failed: ${err.message}`);
|
|
@@ -1742,6 +1743,7 @@ const bootSafe = (options) => {
|
|
|
1742
1743
|
});
|
|
1743
1744
|
else {
|
|
1744
1745
|
if (!hasSealedValues) warnings.push("fnox not available — no secrets injected");
|
|
1746
|
+
else warnings.push("fnox not available — unsealed secrets could not be resolved");
|
|
1745
1747
|
for (const key of remainingKeys) skipped.push(key);
|
|
1746
1748
|
}
|
|
1747
1749
|
if (inject) for (const [key, value] of Object.entries(secrets)) process.env[key] = value;
|