Package: sbsigntool Version: 0.6-2 Severity: important Given a valid certificate, key and UEFI executable (cert.pem, priv.pem and vmlinuz), and an output filename that can't be opened, sbsign prints an error message (though it doesn't show the relevant filename):
$ sbsign --cert cert.pem --key priv.pem --output foo/bar vmlinuz open: No such file or directory However it still returns 0: $ echo $? 0 Ben -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sbsigntool depends on: ii libc6 2.22-4 ii libssl1.0.2 1.0.2g-1 ii libuuid1 2.27.1-6 sbsigntool recommends no packages. sbsigntool suggests no packages. -- no debconf information