Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcoded appKey #27

Closed
cryptix opened this issue Jan 31, 2018 · 0 comments
Closed

hardcoded appKey #27

cryptix opened this issue Jan 31, 2018 · 0 comments

Comments

@cryptix
Copy link
Member

cryptix commented Jan 31, 2018

I want to use ssb-client without passing keys or opts, like this:

// $ export ssb_appname=testing

ssbClient((err, sbot) => {
 // fails to connect because it uses .testing/config but not the appKey/shs  caps
})

It should use ssb-config which checks ssb_appname. In that case ssb-client falls back to the still hardcoded caps..

I saw #15 and wonder if we can merge a rebased version of it? or say that if you supply opts it has to have appKey? All the cases juggling between opts and config make my head spin...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants