.Op Fl d
.Op Fl E Ns Ar num : Ns Ar file
.Op Fl e
+.Op Fl H Ns Op Ar sha1 | Ar sha256
.Op Fl h
.Op Fl I Ns Ar name
.Op Fl K Ns Ar key.p12 Op Fl U Ns Ar password
.Op Fl M
.Op Fl P
+.Op Fl Q Ns Ar requirements.xml
.Op Fl q
.Op Fl r | Fl S Ns Ar file.xml | Fl s
.Op Fl T Ns Ar timestamp
.Fl A ,
to
.Ar stdout .
+.It Fl H Ns Op Ar sha1 | Ar sha256
+Disable the hash not specified.
+This is useful to replicate the default behavior of
+.Xr codesign 1 ,
+which only provides an sha256 signature.
.It Fl h
Print information about the signature, such as
hash types, flags, CDHash, and CodeDirectory version to
handful of binaries.
.It Fl P
Mark the Mach-O as a platform binary.
-.It Fl Q Ns Ar file
+.It Fl Q Ns Ar requirements.xml
Embed the requirements found in
-.Ar file .
+.Ar requirements.xml .
.It Fl q
Print embedded requirements of the binaries.
.It Fl r
do_sha1 = false;
do_sha256 = false;
-
- fprintf(stderr, "WARNING: -H is only present for compatibility with a fork of ldid\n");
- fprintf(stderr, " you should NOT be manually specifying the hash algorithm\n");
}
if (false);