[Debian bug 781107] ssh-keygen -F return code has changed and is not documented
Matthew Vernon
matthew at debian.org
Thu Mar 26 02:31:27 AEDT 2015
On 24/03/15 22:53, Damien Miller wrote:
> On Tue, 24 Mar 2015, Matthew Vernon wrote:
>> Less controversially, could the return values of ssh-keygen and their
>> meanings be documented (and flagged when they change), please?
>
> Sure, someone has to do the work though.
I had a look; ssh-keygen either exits 1 or 255 (via fatal). It's not
clear to me from reading the code what the rationale is for picking 1 or
255; what is the intended difference in meaning between these two errors
(or alternatively, how do you decide whether to call fatal or print and
error and exit(1))?
Thanks,
Matthew
More information about the openssh-unix-dev
mailing list