Package Details: sfdx-cli 7.209.6-1

Git Clone URL: https://aur.archlinux.org/sfdx-cli.git (read-only, click to copy)
Package Base: sfdx-cli
Description: a tool for creating and managing Salesforce DX projects from the command line
Upstream URL: https://developer.salesforce.com/tools/sfdxcli
Keywords: salesforce sfdx
Licenses: unknown
Provides: sfdx-cli
Submitter: dangmai
Maintainer: dangmai
Last Packager: dangmai
Votes: 3
Popularity: 0.000000
First Submitted: 2017-11-22 22:35 (UTC)
Last Updated: 2023-07-14 02:36 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

fandancer commented on 2019-02-28 17:26 (UTC)

@dangmai

gnome-keyring: 3.28.2 node v11.10.0

I uninstalled the nodejs package and still have the same problem unfortunately...

dangmai commented on 2019-02-28 16:29 (UTC)

@fandancer that's very weird. I looked into the source code distributed by Salesforce and nothing looks out of place. Also I do know this package works for multiple people on Arch/Manjaro/Antergos so I'm a bit stumped why it doesn't work for you.

Here are a couple of things that I can think of: - Did you install gnome-keyring? - Do you have node installed by pacman in your system? If yes, which version? (sfdx-cli brings its own embedded Node 8.9.4 but maybe there's something going on with your PATH)

fandancer commented on 2019-02-28 13:33 (UTC) (edited on 2019-02-28 13:34 (UTC) by fandancer)

I'm getting a lot of errors relating to the /opt/sfdx-cli files but these are deleted on reinstall.

{"name":"sfdx","hostname":"test","pid":26637,"level":50,"msg":"[ false,\n  '{\"message\":\"Invalid key length\",\"status\":1,\"stack\":\"Error: Invalid key length\\\\n    at new Cipheriv (crypto.js:219:16)\\\\n    at Object.createCipheriv (crypto.js:619:10)\\\\n    at Crypto.encrypt (/opt/sfdx-cli/node_modules/salesforce-alm/dist/lib/crypto.js:162:31)\\\\n    at Object.keys.forEach (/opt/sfdx-cli/node_modules/salesforce-alm/dist/lib/configValidator.js:68:36)\\\\n    at Array.forEach (<anonymous>)\\\\n    at crypto.init.then (/opt/sfdx-cli/node_modules/salesforce-alm/dist/lib/configValidator.js:59:37)\\\\n    at tryCatcher (/opt/sfdx-cli/node_modules/bluebird/js/release/util.js:16:23)\\\\n    at Promise._settlePromiseFromHandler (/opt/sfdx-cli/node_modules/bluebird/js/release/promise.js:510:31)\\\\n    at Promise._settlePromise (/opt/sfdx-cli/node_modules/bluebird/js/release/promise.js:567:18)\\\\n    at Promise._settlePromise0 (/opt/sfdx-cli/node_modules/bluebird/js/release/promise.js:612:10)\\\\n    at Promise._settlePromises (/opt/sfdx-cli/node_modules/bluebird/js/release/promise.js:691:18)\\\\n    at Async._drainQueue (/opt/sfdx-cli/node_modules/bluebird/js/release/async.js:138:16)\\\\n    at Async._drainQueues (/opt/sfdx-cli/node_modules/bluebird/js/release/async.js:148:10)\\\\n    at Immediate.Async.drainQueues (/opt/sfdx-cli/node_modules/bluebird/js/release/async.js:17:14)\\\\n    at runCallback (timers.js:789:20)\\\\n    at tryOnImmediate (timers.js:751:5)\",\"name\":\"Error\",\"warnings\":[]}' ]","time":"2019-02-28T13:27:36.725Z","v":0}

dangmai commented on 2019-02-27 17:21 (UTC)

Apparently there is, here's the documentation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_cli_log_messages.htm

fandancer commented on 2019-02-26 09:12 (UTC) (edited on 2019-02-27 12:46 (UTC) by fandancer)

@dangmai

I run the commands:

pacman -R sfdx-cli

rm -rf ~/.local/share/sfdx

yay sfdx-cli

sfdx update

sfdx force:auth:web:login

And I'm still hitting the same error, is there a log to view to check the error?

Edit: Thought I could get around this by making an ubuntu VM and logging in there, then copying the json files for that user into my Arch install. Ubuntu works fine, but when I try the command sfdx force:org:open -u test@test.com I get the same invalid key length error

dangmai commented on 2019-02-25 15:39 (UTC)

@fandancer

pacman -R sfdx-cli should delete everything related to this package. However, I do know that sfdx also puts some stuff in your $HOME/.local/share/sfdx directory (especially when you do sfdx update instead of using pacman to update).

fandancer commented on 2019-02-25 08:10 (UTC) (edited on 2019-02-25 08:10 (UTC) by fandancer)

@dangmai

4.20.10-arch1-1-ARCH

Gnome 3.30.2

sfdx-cli/6.53.0-67a9cbb60c (linux-x64) node-v8.9.4

X11

Which files to I need to delete to ensure a complete reinstall of sfdx-cli?

dangmai commented on 2019-02-22 15:47 (UTC)

@fandancer, I just logged in using sfdx force:auth:web:login on a new Antergos installation, so I think there's something going on with your installation. Which DE are you running (is it on X11 or Wayland)? Can you do sfdx --version and post the output?

fandancer commented on 2019-02-22 10:27 (UTC)

I'm still getting errors during login. Attempting web:login causes the error "Invalid Key Length". Where as all attempts using JWT flow causes the error "invalid_grant - invalid assertion"

dangmai commented on 2019-02-05 05:27 (UTC)

That's great to hear, thanks zerkz!