summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-18 10:30:00 +0200
committertv <tv@krebsco.de>2023-07-18 10:30:00 +0200
commitea91a989bd1cfb85065320ae760347b782d2b866 (patch)
tree59e4c34dffac0efee75fb91b329dcd38cc89c687 /bin
parentb8cefe81a70afe62008f76e6ac56cd91d96ddabe (diff)
ircsink: don't wrap authentication message
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ircsink2
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
;;