keybase / keybase/keybase-issues

Decrypt from https://keybase.io/decrypt not working

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

I get the following error in the javascript console when clicking the decrypt button:

```
sitewide-js.js:54 Uncaught TypeError: Cannot read property 'toString' of undefined
sitewide-js.js:54 (anonymous function)
sitewide-js.js:56 window.iced.Deferrals.e._fulfill
sitewide-js.js:54 (anonymous function)
sitewide-js.js:54 e._click_submit
sitewide-js.js:54 (anonymous function)
sitewide-js.js:15 it.event.dispatch
sitewide-js.js:15 m.handle
sitewide-js.js:15 it.event.trigger
sitewide-js.js:15 (anonymous function)
sitewide-js.js:14 it.extend.each
sitewide-js.js:14 it.fn.it.each
sitewide-js.js:15 it.fn.extend.trigger
sitewide-js.js:16 it.fn.(anonymous function)
sitewide-js.js:53 (anonymous function)
sitewide-js.js:56 window.iced.Deferrals.e._fulfill
sitewide-js.js:56 (anonymous function)
```

The problem is with this line:

``` .js
return n._clear_input_dict(), site.enable_spin_button(".btn-submit"), e ? n._error_alert(e) : n._show_success(t.toString()), n._resize_inputs()
```

`t` is undefined, so it fails to call the `_show_success` function

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure at https://keybase.io/decrypt and inspect sitewide-js.js around lines 54-56, especially the call to _show_success. Trace why t is undefined after clicking Decrypt; done means the button completes without the TypeError and displays the expected success result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
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.