nmh-workers
[Top] [All Lists]

Re: [nmh-workers] Problem With inc Not Sending Passwords After Upgrade To 1.7.1

2018-07-01 16:20:20
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

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>