keybase / keybase/keybase-issues

Inconsistent CLI: keybase pgp sign does not use the --infile option

Open
#1,870 4 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

As of Keybase version 1.0.0-47, almost all of the PGP commands require an explicit `-i` or `--infile` option.

The one exception is `keybase pgp sign`, which still uses the `[command options] [filename]` format for its input, and does not accept an infile option.

Although not a bug, this inconsistency in the CLI is a bit confusing.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `keybase pgp sign` CLI entry point and compare its argument handling with the other PGP commands that accept `-i` or `--infile`. The work is done when signing accepts `--infile` consistently while preserving the existing filename behavior as appropriate, with the relevant CLI checks passing.

Written by the indexing model from the issue text.

Assessment

Domain
cli, cryptography
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.