ERROR EOF with `keybase pgp select`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
I'm sure this relates to #3347, but I'm still making a new issue, as my experience differs a bit from that one.
So my keys are a 512 bit ECDSA pair (I know it's overkill, but hey), which could be the culprit.
Before even being able to select anything, a bunch of errors are thrown.
Here's what I get:
[username]@[hostname] ~ $ keybase pgp select
# Algo Key Id Created UserId
= ==== ====== ======= ======
1 512E [Key ID here] [Name here] <e-mail@here>
2 256E [Key ID here] [Name here] <e-mail@here>
3 4096R [Key ID here] [Name here] <e-mail@here>
Choose a key: ▶ WARNING GPG index error at line 3: Unknown subfield: grp
▶ WARNING GPG index error at line 7: Unknown subfield: grp
▶ WARNING GPG index error at line 10: Unknown subfield: grp
▶ WARNING GPG index error at line 14: Unknown subfield: grp
▶ WARNING GPG index error at line 18: Unknown subfield: grp
1
▶ ERROR EOF
Here are some version info and stuff:
[username]@[hostname] ~ 14s $ gpg --version
gpg (GnuPG) 2.1.15
libgcrypt 1.7.3
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/[username]/.gnupg
Támogatott algoritmusok:
Nyilvános kulcsú (pubkey): RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Rejtjelező (cipher): IDEA, 3DES, CAST5, BLOWFISH, AES, AES192,
AES256, TWOFISH, CAMELLIA128, CAMELLIA192,
CAMELLIA256
Kivonatoló (hash): SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Tömörítő (compression): tömörítetlen, ZIP, ZLIB, BZIP2
[username]@[hostname] ~ $ keybase --version
keybase version 1.0.17
[username]@[hostname] ~ $ cat /etc/*-release
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=16.08
DISTRIB_CODENAME=Ellada
DISTRIB_DESCRIPTION="Manjaro Linux"
Manjaro Linux
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="http://www.manjaro.org/"
SUPPORT_URL="http://www.manjaro.org/"
BUG_REPORT_URL="http://bugs.manjaro.org/"
my log id: e30c4b0b8227ddae09a2691c
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing keybase pgp select with GnuPG 2.1.15 and keybase 1.0.17 using the reported ECDSA keys, then investigate the GPG index error warnings for the unknown grp subfield and the resulting EOF. Done means the command can select a key without these warnings or the EOF error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, cryptography
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100