keybase / keybase/client

FR: require OpenPGP card for login

Open
#5,732 0 comments 4 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

It would be nice if keybase login could be set to require a PGP 'card' (such as a Yubikey) - and logout when the card's removed.

I suppose this ought to be automate-able by a third-party tool, since if the necessary key is kept only on the card, then triggering a logout when it's removed would be sufficient for it to be required to login again, I believe? So completely understand if it's not something you're interested in including.

Use case I'm thinking of in particular is locking down KBFS - I've been toying around with a password manager using KBFS as the store (OJFord/passbase) and I was thinking it would be neat to require a PGP card in order to read passwords; then I thought that really that's the wrong level for it to be implemented at - it would be useful over the FS as a whole.

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 tracing the existing keybase login and logout flows and the KBFS access path; no files or tests are identified in the issue. Done means login can require an OpenPGP card and card removal causes logout, with the behavior covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, cryptography, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.