diff --git a/apps/pwa/src/lib/vault-page.mjs b/apps/pwa/src/lib/vault-page.mjs index 5bd6b31f..ab5916db 100644 --- a/apps/pwa/src/lib/vault-page.mjs +++ b/apps/pwa/src/lib/vault-page.mjs @@ -24,7 +24,7 @@ export const KEY_HELP = `

It is the identity secret key the logicsrc CLI created the first time you ran logicsrc login. It lives only on that machine, in ~/.config/logicsrc/identity.json. On that machine, run:

logicsrc teams key
-

With an older CLI that has no key command, either of these prints the same thing:

+

That needs CLI 0.5.0 or later (curl -fsSL https://logicsrc.com/install.sh | sh -s -- update). On an older CLI, either of these prints the same thing:

jq -r .keys.secretKey ~/.config/logicsrc/identity.json
 node -p 'require(require("os").homedir()+"/.config/logicsrc/identity.json").keys.secretKey'

Pasting the whole identity.json works too; only secretKey is read. Installs from before the config move keep it at ~/.logicsrc/identity.json. Anyone holding this key can read every vault you can, so treat it like a password.

@@ -39,7 +39,7 @@ function keyCard({ publicKey, hasGrant, grantCommand }) {

You have no identity key yet, so no vault can be shared with you. Values are encrypted to a key only you hold. Make one in either place:

    -
  • In a terminal: npm i -g @logicsrc/cli, then logicsrc login. Then logicsrc teams key prints the key to paste here.
  • +
  • In a terminal: curl -fsSL https://logicsrc.com/install.sh | sh, then logicsrc login. Then logicsrc teams key prints the key to paste here.
  • Or here in this browser:
diff --git a/bun.lock b/bun.lock index 2d1e68f0..a45bdbfd 100644 --- a/bun.lock +++ b/bun.lock @@ -144,7 +144,7 @@ }, "packages/cli": { "name": "@logicsrc/cli", - "version": "0.4.0", + "version": "0.5.0", "bin": { "logicsrc": "dist/index.js", }, diff --git a/packages/cli/package.json b/packages/cli/package.json index 7ea4ce07..c87958ec 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@logicsrc/cli", - "version": "0.4.0", + "version": "0.5.0", "description": "LogicSRC CLI: every LogicSRC standard and tool as one command.", "type": "module", "main": "./dist/index.js",