Skip to content

scw login doesn't work on Windows #341

Closed
@Hades32

Description

@Hades32

Looks like Windows' line endings aren't stripped correctly:

C:\Users\marti$ scw -D login
Login (cloud.scaleway.com): [email protected]
Password:
time="2016-04-07T23:03:07+02:00" level=debug msg="curl -X POST -d \"{\\\"email\\\":\\\"[email protected]\\\\r\\\",\\\"password\\\":\\\"XX-XX-XX-XX\\\",\\\"description\\\":\\\"scw-WIN-SJ0A7GO32DV\\\",\\\"expires\\\":false}\" -H \"Content-Type: application/json\" -H \"User-Agent: scw/v1.9.0\" -H \"X-Auth-Token: \" https://account.scaleway.com/tokens"
time="2016-04-07T23:03:08+02:00" level=fatal msg="cannot execute 'login': [401] maybe your email or your password is not valid"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions