keybase / keybase/keybase-issues

CLI - Segfault while encrypting

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

Getting "segmentation fault" when encrypting with the CLI

```
% keybase encrypt -m "Yo: " drnic
info: ...checking identity proofs
✔ public key fingerprint: 579B 1C80 9EDB CBED 8B86 9BDC 0B92 A265 A092 1641
✔ "drnic" on twitter: https://twitter.com/drnic/status/621374157616480256
✔ "drnic" on github: https://gist.github.com/df629668a531b193985a
[1] 9110 segmentation fault keybase encrypt -m "Yo: " drnic
```

Same happens when using here documents

```
% keybase encrypt drnic << EOF <<<
heredoc> Yo
heredoc> EOF
info: ...checking identity proofs
✔ public key fingerprint: 579B 1C80 9EDB CBED 8B86 9BDC 0B92 A265 A092 1641
✔ "drnic" on twitter: https://twitter.com/drnic/status/621374157616480256
✔ "drnic" on github: https://gist.github.com/df629668a531b193985a
[1] 9993 segmentation fault keybase encrypt drnic <<<'Yo'
```

% keybase --version
0.7.9

% gpg --version
gpg (GnuPG) 1.4.19

% node -v
v0.12.4

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are identified. Start by reproducing the crash with the reported `keybase encrypt` commands on version 0.7.9, then inspect the CLI encryption entry point and relevant runtime logs; done means encryption completes without a segmentation fault for both message and here-document input.

Written by the indexing model from the issue text.

Assessment

Domain
cli, cryptography
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.