On Wed, 2009-06-24 at 14:45 +0000, Emmanuel Dreyfus wrote:
> I have been playing with some exotic authentication scheme with Dovecot
> and PAM. That involves sending really large base64 encoded data as 
> the IMAP password, and I have hit a line limit in Dovecot, with
> AUTH_WORKER_MAX_LINE_LENGTH set to 1024.
..
> I had to make the patch attached below to get my authentication working. 
> I can live with this local patch, but given the much more liberal limits 
> of MAX_INBUF_SIZE at 4096 makes we wonder if this 1024 limit on
> AUTH_WORKER_MAX_LINE_LENGTH could not be a bug. Or is there a security
> concern at using more than 1kB?

There's no real reason to keep it at 1 kB. I probably didn't even think
about it much when I added it. I increased it to 8192 now.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to