[Bug 298383] uefisign: exit codes do not distinguish failure from unsigned file

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Sep 2026 01:03:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298383

            Bug ID: 298383
           Summary: uefisign: exit codes do not distinguish failure from
                    unsigned file
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: quentin.thebault@defenso.fr

uefisign(8) currently conflates an unsigned file detection with various errors
(malformed file, wrong invocation, crypto lib error...) making it difficult to
use in scripts.

Distinguishing error codes would help, for instance with
https://reviews.freebsd.org/D58990

-- 
You are receiving this mail because:
You are the assignee for the bug.