1
0
mirror of synced 2026-02-06 19:05:55 +00:00
Files
flux2/cmd/flux
Max Jonas Werner be1ce74dc5 fix: trim CRLF from password read from stdin
bufio's reader.ReadString includes any CRLF characters and we don't
want these in the resulting token because this leads to errors in the
authentication like this:

```
✗ failed to get Git repository
"https://github.com/kingdon-ci/jenkins-infra": Get
"https://api.github.com/repos/kingdon-ci/jenkins-infra": net/http:
invalid header field value "Bearer gho_NNNNNsecrettokenMMMMM\n" for
key Authorization
```

Signed-off-by: Max Jonas Werner <mail@makk.es>
2021-11-07 15:09:31 +01:00
..
2021-11-01 10:46:07 +01:00
2021-10-08 19:35:39 +02:00
2021-11-07 15:09:31 +01:00
2021-11-07 15:09:31 +01:00
2021-10-14 16:14:28 +03:00
2021-09-18 17:27:47 +09:00
2021-06-28 16:20:05 +01:00
2021-03-26 10:20:42 +01:00
2020-10-29 16:25:16 +01:00
2021-04-07 16:40:16 +01:00
2020-10-29 16:25:16 +01:00
2021-11-01 10:46:07 +01:00
2021-11-01 10:46:07 +01:00
2021-09-18 17:27:47 +09:00
2021-10-14 16:14:28 +03:00
2021-10-14 16:14:28 +03:00
2021-10-22 12:34:36 +01:00
2020-10-29 16:25:16 +01:00
2020-11-26 16:40:54 +02:00
2021-10-13 16:25:15 +01:00
2020-11-26 16:22:47 +02:00
2021-04-28 10:44:51 +01:00
2021-10-25 13:45:13 +03:00
2021-10-05 10:29:00 +01:00
2021-10-05 10:29:00 +01:00