keybase / keybase/keybase-issues
ERROR EOF on `keybase pgp gen`
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting `ERROR EOF` when running `keybase pgp gen` in ubuntu 16.04
```
charles@leopard:~$ keybase pgp gen
▶ INFO Forking background server with pid=5693
Enter your real name, which will be publicly visible in your new key: Charles Verdad
Enter a public email address for your key: ****@gmail.com
Enter another email address (or when done): *****@gmail.com
Enter another email address (or when done): *******@gmail.com
Enter another email address (or when done):
Push an encrypted copy of your new secret key to the Keybase.io server? [Y/n] Y
When exporting to the GnuPG keychain, encrypt private keys with a passphrase? [Y/n] Y
▶ ERROR EOF
```
I tried this in the default gpg installed in 16.04 as well as gpg2.1 by running `keybase config set gpg gpg2` I also uninstalled all gpg and installed gpg2.2 using the guide in https://gist.github.com/vt0r/a2f8c0bcb1400131ff51
```
charles@leopard:~$ gpg --version
gpg (GnuPG) 2.2.1
libgcrypt 1.8.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/charles/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
```
```
keybase version 1.0.34-20171006165932+d0664a9cb
```
```
charles@leopard:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce `keybase pgp gen` on Ubuntu 16.04 with the reported GnuPG versions and the listed interactive answers. Trace the EOF around the encrypted key push and GnuPG keychain export, then verify that key generation completes without the error and produces the requested key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- cli, cryptography
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100