Skip to content

hub cli's apiSecret flag not working (cannot decode multibase for zero length string) #538

@tennox

Description

@tennox

I get an error about missing/empty secret, regardless of the content or presence of the --apiSecret flag.

$ hub --apiKey bufrrhhnudr5g56vcracbezmryi --apiSecret be3XXXncngi buck init -n test
Encrypt bucket contents: y
Error! Invalid secret: cannot decode multibase for zero length string

Seems to work fine when using env variable:
HUB_API_SECRET=<secret> hub --apiKey ....

-> Slack thread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions