keybase / keybase/keybase-issues

Trying to figure out commandline usage

Open
#1,428 1 comment 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

I was trying to follow instructions on the main page explaining about local encryption and decryption. Here's what I typed into the terminal.

tama@SERENITY:~$ keybase id maria
warn: No config file found; tried '/home/tama/.config/keybase/config.json'
info: Creating temporary keyring dir: /home/tama/.cache/keybase/tmp_keyrings
✔ public key fingerprint: 97BC 8ED6 9489 989F CE16 3213 2CE8 7F7C 35CB 1002
tama@SERENITY:~$ keybase encrypt maria -m 'Grab a pint tonight?'
warn: No config file found; tried '/home/tama/.config/keybase/config.json'
✔ public key fingerprint: 97BC 8ED6 9489 989F CE16 3213 2CE8 7F7C 35CB 1002

error: `gpg` exited with code 2
warn: gpg: 97BC8ED69489989FCE1632132CE87F7C35CB1002: skipped: public key not found
warn: gpg: [stdin]: encryption failed: public key not found
tama@SERENITY:~$ keybase encrypt tama -m 'hi'
warn: No config file found; tried '/home/tama/.config/keybase/config.json'
✔ public key fingerprint: 5CC1 DA2E 8578 7368 9F0E 910C A41F 2E29 BA82 5F45
✔ "TamaHobbit" on github: https://gist.github.com/3d58bf8d9f40868da58d

error: `gpg` exited with code 2
warn: gpg: 5CC1DA2E857873689F0E910CA41F2E29BA825F45: skipped: public key not found
warn: gpg: [stdin]: encryption failed: public key not found
tama@SERENITY:~$ keybase id tama
warn: No config file found; tried '/home/tama/.config/keybase/config.json'
✔ public key fingerprint: 5CC1 DA2E 8578 7368 9F0E 910C A41F 2E29 BA82 5F45
✔ "TamaHobbit" on github: https://gist.github.com/3d58bf8d9f40868da58d
tama@SERENITY:~$ keybase encrypt tama -m 'hi'
warn: No config file found; tried '/home/tama/.config/keybase/config.json'
✔ public key fingerprint: 5CC1 DA2E 8578 7368 9F0E 910C A41F 2E29 BA82 5F45
✔ "TamaHobbit" on github: https://gist.github.com/3d58bf8d9f40868da58d

error: `gpg` exited with code 2
warn: gpg: 5CC1DA2E857873689F0E910CA41F2E29BA825F45: skipped: public key not found
warn: gpg: [stdin]: encryption failed: public key not found
tama@SERENITY:~$ man keybase
No manual entry for keybase
See 'man 7 undocumented' for help when manual pages are not available.
tama@SERENITY:~$

I guess this means the public key I received when I first started should be put into some specific directory?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the main-page instructions for local encryption and decryption and compare them with the reported `keybase` commands and the missing `man keybase` entry. Clarify the required public-key setup and command-line usage, then verify that the documented encryption flow works for the reported cases.

Written by the indexing model from the issue text.

Assessment

Domain
cli, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 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.