keybase-issues icon indicating copy to clipboard operation
keybase-issues copied to clipboard

can't install keybase on windows with msys2

Open ellisonch opened this issue 11 years ago • 3 comments

Hey guys.

I'm trying to install keybase on windows 7 in the msys2 environment:

$ node --version
v0.10.32

$ npm --version
1.4.28

$ gpg --version
gpg (GnuPG) 1.4.18

Here's what happens:

$ keybase-installer
info: Made temporary directory: C:\Users\celliso2\AppData\Local\Temp\keybase_install_9qw3ggaMNh7qLws_iK_9wQ
info: cleaning up tmpdir C:\Users\celliso2\AppData\Local\Temp\keybase_install_9qw3ggaMNh7qLws_iK_9wQ
error: exit code 2
warn: gpg: invalid key resource URL `C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg'
warn: gpg: keyblock resource `(null)': general error
warn: gpg: invalid key resource URL `C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg'
warn: gpg: keyblock resource `(null)': general error
warn: gpg: fatal: can't create `/home/celliso2/.gnupg/C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\trustdb.gpg': No such file or directory
warn: secmem usage: 0/0 bytes in 0/0 blocks of pool 0/65536

$ keybase
bash: keybase: command not found

The two files it's looking for exist, but are empty:

$ ls -all 'C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg'
-rw-r--r-- 1 celliso2 None 0 Jan 26 16:55 C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg

$ ls -all 'C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg'
-rw-r--r-- 1 celliso2 None 0 Jan 26 16:55 C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg

But the other path /home/celliso2/.gnupg/C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\trustdb.gpg is clearly borked.

Anything else I can send to help figure this out?

ellisonch avatar Jan 27 '15 01:01 ellisonch

thanks Chucky, we never tested in this environment. i'm not sure when we'll get a chance to fix it though, we're pretty busy on the go rewrite of the client

maxtaco avatar Jan 29 '15 15:01 maxtaco

same exact symptoms for me on Windows 8, MING32

$ node --version 
v0.10.33

$ npm --version
2.1.8

$ gpg --version
1.4.13

reustonium avatar Jan 29 '15 19:01 reustonium

+1 for same question.

lixiaoyan avatar Jul 01 '15 03:07 lixiaoyan