[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Problem With inc Not Sending Passwords After Upgrade T
From: |
Ken Hornstein |
Subject: |
Re: [nmh-workers] Problem With inc Not Sending Passwords After Upgrade To 1.7.1 |
Date: |
Sun, 01 Jul 2018 17:19:56 -0400 |
>> Password ([machine]:[name]): [PASSWORD]
>> => PASS (null)
>...
>> It works if the password is put in a netrc file; it doesn't work if
>> the password is typed at the prompt.
>
>This is my fault from 2016-10-16. In sbr/ruserpass.c's ruserpass(), the
>last interesting statement should be
>[...]
Ralph,
Is there a way we could write a test for this? Since currently
ruserpass() reads from stdin rather than opening /dev/tty (I'm neutral
on whether or not that is a good idea) we shouldn't have to muck with
a pseudo-tty to create a test.
--Ken