keybase / keybase/keybase-issues
Cannot call method 'fingerprint', of unidentified
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
keybase encrypt -s -m "hi" venkat
warn: No config file found; tried '/Users/venkat/.config/keybase/config.json'
...
/usr/local/lib/node_modules/keybase/lib/command/encrypt.js:89
args.push("--sign", "-u", sign_key.fingerprint(true));
^
TypeError: Cannot call method 'fingerprint' of undefined
at Command.exports.Command.Command.do_encrypt (/usr/local/lib/node_modules/keybase/lib/command/encrypt.js:89:44)
at /usr/local/lib/node_modules/keybase/lib/command/encrypt.js:237:21
at /usr/local/lib/node_modules/keybase/lib/command/encrypt.js:241:15
at iced.Deferrals.parent (/usr/local/lib/node_modules/keybase/lib/command/encrypt.js:227:24)
at Deferrals.exports.Deferrals.Deferrals._call (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:86:16)
at /usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:98:26
at exports.trampoline.trampoline (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:64:14)
at Deferrals.exports.Deferrals.Deferrals._fulfill (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:96:16)
at ret (/usr/local/lib/node_modules/keybase/node_modules/iced-runtime/lib/runtime.js:29:18)
at /usr/local/lib/node_modules/keybase/node_modules/iced-error/index.js:92:22
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported `keybase encrypt -s -m "hi" venkat` command and inspect `lib/command/encrypt.js` at line 89, where `sign_key.fingerprint(true)` fails. Check how the missing config at `/Users/venkat/.config/keybase/config.json` affects sign-key lookup. Done means the reported invocation no longer throws the shown TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100