NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/41911: A bug in veriexecgen(8)

>Number:         41911
>Category:       bin
>Synopsis:       A bug in veriexecgen(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 20 18:45:00 +0000 2009
>Originator:     Jukka Ruohonen
>Release:        NetBSD 5.0_STABLE
System: NetBSD marx.bitnet 5.0_STABLE NetBSD 5.0_STABLE (GENERIC_LOCAL) #0:
Thu Aug 13 22:16:41 EEST 2009
Architecture: i386
Machine: i386


Both the manual page veriexecgen(8) and the corresponding source file
document an option (-T) to put a timestamp on the generated fingerprint
file. This option is not however recognized by the program.


veriexecgen -T
veriexecgen -T  -D -o /etc/signatures -t sha256

man veriexecgen
$EDITOR veriexecgen.c


A quick glance through veriexecgen.c reveals that the fix could be as simple
as adding the missing "T" to the getopt(3)-options in the while-loop of

Nota bene: also the usage() function lacks the option -T.

Home | Main Index | Thread Index | Old Index