passwd-sso-cli 0.4.25 → 0.4.26
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/commands/unlock.js +2 -0
- package/dist/lib/output.js +1 -1
- package/package.json +1 -1
package/dist/commands/unlock.js
CHANGED
|
@@ -120,6 +120,8 @@ export async function autoUnlockIfNeeded() {
|
|
|
120
120
|
if (!passphrase) {
|
|
121
121
|
return false;
|
|
122
122
|
}
|
|
123
|
+
output.warn("PSSO_PASSPHRASE is set. This env var is intended for CI/automation only. " +
|
|
124
|
+
"Do not use in interactive or shared environments — the passphrase is readable from the process environment.");
|
|
123
125
|
return unlockWithPassphrase(passphrase);
|
|
124
126
|
}
|
|
125
127
|
//# sourceMappingURL=unlock.js.map
|
package/dist/lib/output.js
CHANGED
|
@@ -10,7 +10,7 @@ export function error(message) {
|
|
|
10
10
|
console.error(chalk.red(`✗ ${message}`));
|
|
11
11
|
}
|
|
12
12
|
export function warn(message) {
|
|
13
|
-
console.
|
|
13
|
+
console.error(chalk.yellow(`! ${message}`));
|
|
14
14
|
}
|
|
15
15
|
export function info(message) {
|
|
16
16
|
console.log(chalk.blue(`ℹ ${message}`));
|