git/list[1] front-page[2] threads[3] people[4] search[5] about
 

sendemail.smtpPass is truncated

From
Jérôme Pouiller <jerome.pouiller@silabs.com>
Date
Apr 10, 2025, 09:17 UTC
Message-ID
<2020782.usQuhbGJ8B@nb0018864>
Hi everyone,

"git send-email" started to complains my credentials were incorrect. If I run git-send-email with --smtp-debug=1, I can see my smtp password is truncated.

"git config --list" show the correct value. I am also able to properly use my password with "--smtp-pass"

My password is not insane:
  - < 20 characters long
  - just a mix of ascii printable characters (no unicode)

My password contains characters like '#', '$', ... So I need to quote it. However, I use special characters for while without issues and "git config --list" returns the correct value.

I have successfully used this command 5 weeks ago. Meanwhile:
  - I think I have not changed my password
  - I believe git-send-email has not been updated
  - I believe none of my Perl packages has been updated
So, I have to admit I have no idea from where the issue come.

[System Info] git version: git version 2.39.5 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 compiler info: gnuc: 12.2 libc info: glibc: 2.36 $SHELL (typically, interactive shell): /bin/zsh

[Enabled Hooks]
-- 
Jérôme Pouiller
Next: Christian Couder
Message 1 of 2 in “sendemail.smtpPass is truncated”
  1. Jérôme PouillerApr 10, 2025
  2. Christian CouderApr 11, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.