keybase / keybase/keybase-issues

command line crash immediately upon login

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I've brought this issue up with my shell provider and they advised me to bring it up to keybase:

Immediately after entering my passphrase for `keybase login` the CLI always crashes with the following stack trace:

```
ratchet@wolfman $ keybase config
info: Updated file: /home/ratchet/.keybase/config.json
ratchet@wolfman $ less ~/.keybase/config.json
ratchet@wolfman $ keybase login
Your keybase username or email: ratchet@devio.us
Your keybase login passphrase: ***************

Error: Unable to allocate ArrayBuffer.
at Scrypt.run (/usr/local/lib/node_modules/keybase/node_modules/triplesec/lib/scrypt.js:305:11)
at keys (/usr/local/lib/node_modules/keybase/node_modules/triplesec/lib/enc.js:157:30)
at /usr/local/lib/node_modules/keybase/node_modules/triplesec/lib/enc.js:166:19
at /usr/local/lib/node_modules/keybase/node_modules/triplesec/lib/enc.js:184:15
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)
```

-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.0.49
Comment: https://keybase.io/crypto

wsFcBAABCgAGBQJWUihMAAoJEDR/nePSHI/wfpwP/jG1GItfSXF05F1es+gVN19i
tUL5q8TGU643tmsO6jMRubpEtZgZ4NWSjAIiMxuBUs+VPfHtYp2R7sChbDjgD3DX
iOaqnm0h5YMaTS/z2mC5qHABnmB0MGpNiq0fWfYKzHXrm35od23Yi5ng8mqU0bZF
APJJdYv//uiAxy4DOjZnhvjSDUIsRmb009dQ/6s7vZVI33CgTMJ4vA1uBnUguwP9
zJoTQbGreyGo3xT3PV6eMNUDOe1Tlhmz07v7djEGsFgh2v/8XcDGKeJWnRyYuzsQ
vXFseqO3CrG1dM039/JB1k6BRM2SbAgJkbC6f58fFEno7sBQNgq1ENDilXUR72la
fcldStP6HzADqu5EueEyFB9jaw2NWVHZt1sdhl3thdNjhEHtJ2UVEZ9uDl6aj+2I
peB/5u9qD7WyYvCq7mJsLPBcbfXN1avKPZEEH4wJYWBouIWWDYfu8E4ZgEC2i3Sn
ezC8DxlqMFsVIb2GKoBSsf/lvGCCe7EtPGCkFjo9XZ00yilYLmAu/ylW/OdOfuXS
0PQf+lUyFa3dNmggTTLp4cEzXGHkfKSZaYjIFJQx5GugbK7DMiE3jMXJncyG6zZB
H7Ya4klj23kJ6qSvZea1fKLyDSjNQwcgVeBNM+Yk21xZ3dZ4Bfx7qO3Dry5FtPRp
PqNpKxRLnPElJ9Ek53pW
=Ffmz
-----END PGP SIGNATURE-----

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `keybase login` and trace the reported failure from `triplesec/lib/scrypt.js` through `triplesec/lib/enc.js`; the stack trace identifies these entry points. Determine why the ArrayBuffer allocation fails after the passphrase is entered, then verify that login completes without the crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
authentication, cli
Issue type
Bug
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.