keybase / keybase/client

Shell highlighter triggers keybase notification showing invalid user

Open
#2,237 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

EDIT: See comment 3. This may not be due to a shell plugin after all.

When in /keybase/public or /keybase/private my shell highlighter seems to trigger Keybase to think I'm trying to entire a user's directory.

Video playback of the issue.

I realize that there might be a limited set of things that can be done since it might be an issue with the highlighter tool, but the error notification from Keybase seemed very misleading at first until I figured out the cause.

my log id: 25d5b2afd2a64bb2a47c2e1c

STR

  1. Open shell using the below configuration.
  2. cd /keybase/public or /keybase/private.
  3. When in either directory, press a single keystroke followed by a space.
  4. Observe the notification that shows up.

Alternative STR:

  1. cd into /keybase/public or /keybase/private
  2. Enter keybase search [any_user_id]
  3. Observe.

Expected

  1. This shouldn't kick off a keybase error notification.

Setup

Shell: zsh 5.0.5 (x86_64-apple-darwin14.0)
Syntax highlighter: zsh-users/zsh-syntax-highlighting
Notes: Also using oh-my-zsh.
Keybase GUI Version: 1.0.14-20160305214119+a203551

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the notification from /keybase/public or /keybase/private with zsh 5.0.5, using the listed shell highlighter and the alternative keybase search steps. Investigate whether the trigger comes from Keybase or zsh-syntax-highlighting; done means the misleading invalid-user notification no longer appears for the reported interactions.

Written by the indexing model from the issue text.

Assessment

Tech stack
zsh
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.