unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34458: 27.0.50; Gnus's nnimap truncates password
@ 2019-02-12 16:49 Amin Bandali
  2019-06-22 13:01 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Amin Bandali @ 2019-02-12 16:49 UTC (permalink / raw)
  To: 34458

It seems that when the combined length of username + password for an
imap login exceeds certain length, nnimap tries to log into the server
with a truncated password.

Example:

Say I have the following line in ~/.authinfo.gpg:

machine mymchn login myuserid@hereis.alongaddr.ca password VAdlmhgtPX3RQpV2bfr8ilj6Qptr0Omz

I was wondering why Gnus wasn’t able to log into the server, though I
had made sure I was using the correct username and password.  Upon
looking into server logs, I noticed that the login attempts were made
using VAdlmhgtPX3RQpV2bfr8ilj6Qpt as the password (notice that r0Omz is
missing at the end) instead of the correct full password.

Then I tried with a shorter username like below and it worked just fine:

machine mymchn login myuserid@hereis.ca password VAdlmhgtPX3RQpV2bfr8ilj6Qptr0Omz

If I recall correctly, this issue also happens without adding a machine
entry to ~/.authinfo.gpg (i.e. by filling out the username and password
prompt); which leads me to think that the issue is not with auth-source.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-13  3:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2019-07-12 23:49       ` Lars Ingebrigtsen
2019-07-13  3:20         ` Amin Bandali
2019-07-13  3:34           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).