keybase / keybase/keybase-issues

Login API

Open
#1,827 0 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 seem to not be able to complete the login process. This comes from a noobish understanding of scrypt. When I try to login, I get an 'Invalid Salt' error. There doesn't seem to be much in explaining how to use the scrypt function in the API docs. Here is what I am doing (in Ruby):

Using the scrypt library found at https://github.com/pbhogan/scrypt.
`pwd = SCrypt::Engine.hash_secret(passphrase, binSalt, key_len = 224)`

I understand if you don't want to solve my issue particularly but a little more explanation of the scrypt function you are using in the docs would be real nice.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the scrypt function in the API documentation and the Ruby SCrypt::Engine.hash_secret example shown here; verify what salt format and key_len it accepts against the reported “Invalid Salt” error. Done means the login API documentation explains the required salt and invocation clearly enough to avoid this failure.

Written by the indexing model from the issue text.

Assessment

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