passwd-sso-cli 0.4.24 → 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.
@@ -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
@@ -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.log(chalk.yellow(`! ${message}`));
13
+ console.error(chalk.yellow(`! ${message}`));
14
14
  }
15
15
  export function info(message) {
16
16
  console.log(chalk.blue(`ℹ ${message}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passwd-sso-cli",
3
- "version": "0.4.24",
3
+ "version": "0.4.26",
4
4
  "description": "CLI for passwd-sso password manager",
5
5
  "type": "module",
6
6
  "license": "MIT",