keybase / keybase/keybase-issues

Running a command without login could have a more meaningful error

Open
#669 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Just for fun, I executed `keybase sign -m 'Hello'` before `keybase login` after installing the client on Ubuntu 14.04. It failed (I'm assuming because I wasn't logged in and so had no default identity?) with the error:

```
$ keybase sign -m 'Hello'
warn: No config file found; tried '/home/mnem/.keybase/config.json'
error: missing or invalid input (error #100)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the entry point for the `keybase sign` command and reproduce the command before `keybase login` on Ubuntu. Compare the current “missing or invalid input” output with the login-related failure state; done means the command reports a meaningful cause when no identity is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.