{"thread":{"id":"63277","subject":"sendemail.smtpPass is truncated","startedAt":"2025-04-10T09:46:25Z","lastAt":"2025-04-11T10:41:59Z","messageCount":2,"participants":["Jérôme Pouiller","Christian Couder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"515946","messageId":"2020782.usQuhbGJ8B@nb0018864","threadId":"63277","inReplyTo":null,"subject":"sendemail.smtpPass is truncated","fromName":"Jérôme Pouiller","fromEmail":"jerome.pouiller@silabs.com","sentAt":"2025-04-10T09:17:36Z","receivedAt":"2025-04-10T09:46:25Z","isPatch":false,"sender":{"key":"jerome.pouiller@silabs.com","avatar":"https://gravatar.com/avatar/baca1631f26bc6d92e49d8581b9d0eb122fde624b5817404704c7399c88da881?d=mp&s=160"},"body":"Hi everyone,\n\n\"git send-email\" started to complains my credentials were incorrect. If I run\ngit-send-email with --smtp-debug=1, I can see my smtp password is truncated.\n\n\"git config --list\" show the correct value. I am also able to properly use my\npassword with \"--smtp-pass\"\n\nMy password is not insane:\n  - < 20 characters long\n  - just a mix of ascii printable characters (no unicode)\n\nMy password contains characters like '#', '$', ... So I need to quote it.\nHowever, I use special characters for while without issues and \"git config\n--list\" returns the correct value.\n\nI have successfully used this command 5 weeks ago. Meanwhile:\n  - I think I have not changed my password\n  - I believe git-send-email has not been updated\n  - I believe none of my Perl packages has been updated\n\nSo, I have to admit I have no idea from where the issue come.\n\n\n[System Info]\ngit version:\ngit version 2.39.5\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64\ncompiler info: gnuc: 12.2\nlibc info: glibc: 2.36\n$SHELL (typically, interactive shell): /bin/zsh\n\n\n[Enabled Hooks]\n\n-- \nJérôme Pouiller\n\n\n"},{"id":"515993","messageId":"CAP8UFD0aPOLgWHPM5eQRHFhegaM-O+wKFEB3cJ9kHy+ciShm6Q@mail.gmail.com","threadId":"63277","inReplyTo":"2020782.usQuhbGJ8B@nb0018864","subject":"Re: sendemail.smtpPass is truncated","fromName":"Christian Couder","fromEmail":"christian.couder@gmail.com","sentAt":"2025-04-11T10:41:45Z","receivedAt":"2025-04-11T10:41:59Z","isPatch":false,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Hi,\n\nOn Thu, Apr 10, 2025 at 11:48 AM Jérôme Pouiller\n<jerome.pouiller@silabs.com> wrote:\n>\n> Hi everyone,\n>\n> \"git send-email\" started to complains my credentials were incorrect. If I run\n> git-send-email with --smtp-debug=1, I can see my smtp password is truncated.\n\ngit-send-email is a Perl script, so it might not be too difficult to debug.\n\n> \"git config --list\" show the correct value. I am also able to properly use my\n> password with \"--smtp-pass\"\n>\n> My password is not insane:\n>   - < 20 characters long\n>   - just a mix of ascii printable characters (no unicode)\n>\n> My password contains characters like '#', '$', ... So I need to quote it.\n> However, I use special characters for while without issues and \"git config\n> --list\" returns the correct value.\n>\n> I have successfully used this command 5 weeks ago. Meanwhile:\n>   - I think I have not changed my password\n>   - I believe git-send-email has not been updated\n>   - I believe none of my Perl packages has been updated\n>\n> So, I have to admit I have no idea from where the issue come.\n>\n>\n> [System Info]\n> git version:\n> git version 2.39.5\n\nv2.39.5 is quite recent (May 2024) and it looks like there were\nsend-email changes in it compared to v2.39.4, so it's possible that\nyour machine was upgraded from v2.39.4 to v2.39.5 recently and that\nthose changes broke send-email for you.\n\nMaybe you could try to downgrade to v2.39.4 or v2.39.0 just to check\nif send-email works better.\n\nBest,\nChristian.\n"}]}