Skip to content

How to use v2 with secret from v1? #286

@Kami-no

Description

@Kami-no

Using non-hex version of secret and get error:

docker run --network=host --rm nineseconds/mtg:2 simple-run 0.0.0.0:8080 d9...
mtg: error: incorrect secret: incorrect first byte of secret: 0xd9

or

echo -n d9... | base64
ZD...
docker run --network=host --rm nineseconds/mtg:2 simple-run 0.0.0.0:8080 ZD...
mtg: error: incorrect secret: incorrect secret format: illegal base64 data at input byte 43

PS: you can't use bind ":8080":

docker run --network=host --rm nineseconds/mtg:2 simple-run :8080 ZD...
mtg: error: incorrect bind-to parameter: empty host: :8080

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions