diff options
author | tv <tv@krebsco.de> | 2023-07-18 10:30:00 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-07-18 10:30:00 +0200 |
commit | ea91a989bd1cfb85065320ae760347b782d2b866 (patch) | |
tree | 59e4c34dffac0efee75fb91b329dcd38cc89c687 | |
parent | b8cefe81a70afe62008f76e6ac56cd91d96ddabe (diff) |
ircsink: don't wrap authentication message
-rwxr-xr-x | bin/ircsink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ircsink b/bin/ircsink index b0d7c16..55e0d3d 100755 --- a/bin/ircsink +++ b/bin/ircsink @@ -218,7 +218,7 @@ main() {( sed -nru '/^:[^ ]* AUTHENTICATE +/q' echo sasl user: $sasl_user >&2 - message=$(printf '\0%s\0%s' "$sasl_user" "$sasl_pass" | base64) + message=$(printf '\0%s\0%s' "$sasl_user" "$sasl_pass" | base64 -w0) echo "AUTHENTICATE $message" echo "AUTHENTICATE ***REDACTED***" >&2 ;; |