From: Lars Ingebrigtsen <larsi@gnus.org>
To: Amin Bandali <bandali@gnu.org>
Cc: 34458@debbugs.gnu.org
Subject: bug#34458: 27.0.50; Gnus's nnimap truncates password
Date: Thu, 04 Jul 2019 15:23:55 +0200 [thread overview]
Message-ID: <m3wogy6ihg.fsf@gnus.org> (raw)
In-Reply-To: <87ftns6y4r.fsf@fencepost.gnu.org> (Amin Bandali's message of "Sat, 29 Jun 2019 14:32:20 -0400")
Amin Bandali <bandali@gnu.org> writes:
> Have you tried reproducing this on your end?
No, but the code is:
(defun nnimap-login (user password)
(cond
;; Prefer plain LOGIN if it's enabled (since it requires fewer
;; round trips than CRAM-MD5, and it's less likely to be buggy),
;; and we're using an encrypted connection.
((and (not (nnimap-capability "LOGINDISABLED"))
[...]
(nnimap-command "LOGIN %S %S" user password))
[...]
((and (not (nnimap-capability "LOGINDISABLED"))
[...]
(nnimap-command "LOGIN %S %S" user password))
((and (nnimap-capability "AUTH=PLAIN")
[...]
(nnimap-command
"AUTHENTICATE PLAIN %s"
(base64-encode-string
(format "\000%s\000%s"
(nnimap-quote-specials user)
(nnimap-quote-specials password)))))))
so if you're using any of the plain LOGIN things to the IMAP server,
there's really no code in there that I can see that can truncate
anything...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-07-04 13:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 16:49 bug#34458: 27.0.50; Gnus's nnimap truncates password Amin Bandali
2019-06-22 13:01 ` Lars Ingebrigtsen
2019-06-22 13:04 ` Lars Ingebrigtsen
2019-06-29 18:32 ` Amin Bandali
2019-07-04 13:23 ` Lars Ingebrigtsen [this message]
2019-07-12 23:49 ` Lars Ingebrigtsen
2019-07-13 3:20 ` Amin Bandali
2019-07-13 3:34 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wogy6ihg.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=34458@debbugs.gnu.org \
--cc=bandali@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.