Hacker News new | ask | show | jobs
by teekert 4 days ago
A bit annoying is that the url from the blog does not link to Proton-cli directly, but it's there somewhere on that page.

Also, I tried it, this is the result from following their instructions:

$ chmod +x proton-drive

$ ./proton-drive version =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

So there are more steps needed (obviously the auth step).

Edit, oops no, something else is missing:

$ ./proton-drive auth login =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

      at V_8 (src/cli/run.ts:77:13)
      at or0 (src/cli/run.ts:25:9)
      at async ar0 (src/cli/index.ts:29:15)
Error details: {}

How does one get libsecret? Perhaps it's a NixOS issue.

Edit: I added libsecret to my packages, the issue persists. So, no proton-cli for me :)

1 comments

Not 100% sure but I believe it uses gnome-keyring under the hood, I'd install that and start it with

  gnome-keyring-daemon --start