henryboldi / felony

🔑🔥📈 Next Level PGP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gnome-keyring is a dependency

greg-js opened this issue · comments

I'm on Arch Linux, 4.6.2-1-ARCH kernel and no desktop environment (I use i3 window manager).

I've used gpg for quite a while, but currently don't have the gnome-keyring package installed. I referred in #7 yesterday to a breaking bug I was dealing with and this was it. On my machine, without gnome-keyring installed, no encryption or decryption is possible. Trying so yields this error in the console:

[1] Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files

as well as a private key is not decrypted JS error in the chromium devtools.

Installing gnome-keyring resolved the problem, so at least on my setup, there was a non-obvious extra step which should probably be noted.

Well I decided to build this on my chromebook (which is running Ubuntu 14.04 in crouton) and experienced similar issues -- though in this case, the npm install hung when it was trying to install keytar.

A simple sudo apt-get install libgnome-keyring-dev fixed the problem once again. This thread seems to indicate that it's an electron issue rather than a felony issue though, so I'll close this.