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

TypeError: secret must be a string or buffer #4

Open
msonst opened this issue Apr 4, 2018 · 2 comments
Open

TypeError: secret must be a string or buffer #4

msonst opened this issue Apr 4, 2018 · 2 comments
Assignees
Labels

Comments

@msonst
Copy link

msonst commented Apr 4, 2018

Ref: cncjs/cncjs-pendant-boilerplate#1

Same here.
I tried

  • setting export JWT_SECRET=123456
  • all sorts of "s as well as without "s
    with the same result.

It would be really nice if you could take a look.

Thanks Michael

@travistabbal
Copy link

I ran into this as well. Adding a default seems to get past this.

    .option('-s, --secret', 'the secret key stored in the ~/.cncrc file', 'sdcsdcdsc')

@nsfilho nsfilho self-assigned this Feb 26, 2020
@nsfilho nsfilho added the bug label Feb 26, 2020
@nsfilho
Copy link
Collaborator

nsfilho commented Feb 26, 2020

I'll review that.

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

No branches or pull requests

3 participants