Package Details: sfdx-cli 7.36.0_b1c4e9c7c8-1

Git Clone URL: https://aur.archlinux.org/sfdx-cli.git (read-only)
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: 0
Popularity: 0.000000
First Submitted: 2017-11-22 22:35
Last Updated: 2019-12-06 07:22

Dependencies (1)

Required by (0)

Sources (1)

Pinned Comments

dangmai commented on 2019-04-01 03:19

Salesforce is no longer distributing the i686 version of this package, so I'm taking that version off of AUR. The only supported version now is x86_64 for this package. They also distribute an ARM version but I'm not sure if anyone would use it; if it's beneficial for you please put a comment here and I'll support that version as well.

Latest Comments

1 2 3 Next › Last »

dangmai commented on 2019-11-11 15:14

Awesome, thank you for the tip @mprom!

mprom commented on 2019-11-11 14:44

If you run into problems when trying to authorize, with " No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login", and you have a keyring like gnome-keyring installed, chances are it's because you're not using a display manager to handle it. Try looking here: https://wiki.archlinux.org/index.php/GNOME/Keyring#Without_a_display_manager

ebu commented on 2019-07-05 07:42

@dangmai, thanks,

dangmai commented on 2019-07-04 17:51

@ebu Yes it does work on Linux for many people, me included. It doesn't really matter what graphical environment that you use, since this is a CLI program. You're the second person to have run into this particular issue though, so I'll dig a bit deeper to see if I can find anything.

ebu commented on 2019-07-03 14:57

Hello,

When I use this command sfdx force:auth:web:login -d -a DevHub --loglevel debug

I have this error ERROR running force:auth:web:login: Invalid key length

And in sfdx.log {"name":"sfdx","hostname":"shigoto","pid":4753,"log":"AuthWebLoginCommand","level":50,"msg":"[ '\u001b[1mERROR running force:auth:web:login: \u001b[22m',\n '\u001b[31mInvalid key length\u001b[39m' ]","time":"2019-07-03T14:45:13.705Z","v":0}

I use cinnamon v4.0.10

sfdx --version

sfdx-cli/7.13.0-27dbcb37d3 linux-x64 node-v10.15.3

Does sfdx work under linux ? if yes, with which graphical environment ?

dangmai commented on 2019-04-01 03:19

Salesforce is no longer distributing the i686 version of this package, so I'm taking that version off of AUR. The only supported version now is x86_64 for this package. They also distribute an ARM version but I'm not sure if anyone would use it; if it's beneficial for you please put a comment here and I'll support that version as well.

dangmai commented on 2019-02-28 17:35

@fandancer are you a developer? If you are you can put a few console.log in /opt/sfdx-cli/node_modules/salesforce-alm/dist/lib/crypto.js around line 162 to explore the state at the time of the error. Usually that helps narrowing down why things don't work. If not then I'm not sure what else to try, since I can't reproduce this issue.

fandancer commented on 2019-02-28 17:26

@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

@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

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}