|
|
b8b9f4 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
a8c91d |
From: Peter Jones <pjones@redhat.com>
|
|
|
a8c91d |
Date: Tue, 2 Sep 2014 11:27:58 -0400
|
|
|
b8b9f4 |
Subject: [PATCH] Fix some man page errors.
|
|
|
a8c91d |
|
|
|
a8c91d |
Resolves: rhbz#948850
|
|
|
a8c91d |
|
|
|
a8c91d |
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
|
a8c91d |
---
|
|
|
a8c91d |
src/pesign-client.1 | 6 +++---
|
|
|
a8c91d |
src/pesign.1 | 17 ++++++++++++++---
|
|
|
a8c91d |
2 files changed, 17 insertions(+), 6 deletions(-)
|
|
|
a8c91d |
|
|
|
a8c91d |
diff --git a/src/pesign-client.1 b/src/pesign-client.1
|
|
|
664c67 |
index 1ccfbb3..9dae89b 100644
|
|
|
a8c91d |
--- a/src/pesign-client.1
|
|
|
a8c91d |
+++ b/src/pesign-client.1
|
|
|
664c67 |
@@ -39,15 +39,15 @@ When using \fB-\-unlock\fR, read the token's PIN from the file \fIpinfile\fR.
|
|
|
a8c91d |
Sign the binary specified by \fIinfile\fR.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
-\fB-\-detached\fR
|
|
|
a8c91d |
+\fB-\-export\fR
|
|
|
a8c91d |
When used with \fB-\-sign\fR, write the signature to \fIoutfile\fR.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
-\fB-\-in\fR=\fIinfile\fR
|
|
|
a8c91d |
+\fB-\-infile\fR=\fIinfile\fR
|
|
|
a8c91d |
When used with \fB-\-sign\fR, specify the input binary.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
-\fB-\-out\fR=\fIoutfile\fR
|
|
|
a8c91d |
+\fB-\-outfile\fR=\fIoutfile\fR
|
|
|
a8c91d |
When used with \fB-\-sign\fR, specify output file. If \fB-\-detached\fR
|
|
|
a8c91d |
is specified, this will be a DER-formatted signature. Otherwise, the
|
|
|
a8c91d |
output will be the signed PE binary.
|
|
|
a8c91d |
diff --git a/src/pesign.1 b/src/pesign.1
|
|
|
664c67 |
index 0a62e36..03603ca 100644
|
|
|
a8c91d |
--- a/src/pesign.1
|
|
|
a8c91d |
+++ b/src/pesign.1
|
|
|
a8c91d |
@@ -5,7 +5,8 @@ pesign \- command line tool for signing UEFI applications
|
|
|
a8c91d |
.SH SYNOPSIS
|
|
|
a8c91d |
\fBpesign\fR [--in=\fIinfile\fR | -i \fIinfile\fR]
|
|
|
a8c91d |
[--out=\fIoutfile\fR | -o \fIoutfile\fR]
|
|
|
a8c91d |
- [--token=\fItoken\fR | -t \fItoken\fR]
|
|
|
a8c91d |
+ [--certdir=\fIcertdir/fR | -n \fIcertdir\fR]
|
|
|
a8c91d |
+ [--nss-token=\fItoken\fR | -t \fItoken\fR]
|
|
|
a8c91d |
[--certificate=\fInickname\fR | -c \fInickname\fR]
|
|
|
a8c91d |
[--force | -f] [--sign | -s] [--hash | -h]
|
|
|
a8c91d |
[--digest_type=\fIdigest\fR | -d \fIdigest\fR]
|
|
|
a8c91d |
@@ -13,6 +14,7 @@ pesign \- command line tool for signing UEFI applications
|
|
|
a8c91d |
[--export-pubkey=\fIoutkey\fR | -K \fIoutkey\fR]
|
|
|
a8c91d |
[--export-cert=\fIoutcert\fR | -C \fIoutcert\fR]
|
|
|
a8c91d |
[--ascii-armor | -a] [--daemonize | -D] [--nofork | -N]
|
|
|
a8c91d |
+ [--signature-number=\fIsignum\fR | -u \fIsignum\fR]
|
|
|
a8c91d |
|
|
|
a8c91d |
.SH DESCRIPTION
|
|
|
a8c91d |
\fBpesign\fR is a command line tool for manipulating signatures and
|
|
|
a8c91d |
@@ -28,7 +30,11 @@ Specify input binary.
|
|
|
a8c91d |
Specify output binary.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
-\fB-\-token\fR=\fItoken\fR
|
|
|
a8c91d |
+\fB-\-certdir\fR=\fIcertdir\fR
|
|
|
a8c91d |
+Specify nss certificate database directory.
|
|
|
a8c91d |
+
|
|
|
a8c91d |
+.TP
|
|
|
a8c91d |
+\fB-\-nss-token\fR=\fItoken\fR
|
|
|
a8c91d |
Use the specified NSS token's certificate database.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
@@ -51,7 +57,8 @@ Display the cryptographic digest of the input binary on standard output.
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
\fB-\-digest_type\fR=\fIdigest\fR
|
|
|
a8c91d |
Use the specified digest in hashing and signing operations. By default,
|
|
|
a8c91d |
-this value is "sha256". Use "--digest=help" to list the available digests.
|
|
|
a8c91d |
+this value is "sha256". Use "--digest_type=help" to list the available
|
|
|
a8c91d |
+digests.
|
|
|
a8c91d |
|
|
|
a8c91d |
.TP
|
|
|
a8c91d |
\fB-\-show-signature\fR
|
|
|
b8b9f4 |
@@ -61,6 +68,10 @@ Show information about the signature of the input binary.
|
|
|
b8b9f4 |
\fB-\-remove-signature\fR
|
|
|
a8c91d |
Remove the signature section from the binary.
|
|
|
a8c91d |
|
|
|
b8b9f4 |
+.TP
|
|
|
a8c91d |
+\fB-\-signature-number\fR=\fIsignum\fR
|
|
|
a8c91d |
+Specify which signature to operate on. This field is zero-indexed.
|
|
|
a8c91d |
+
|
|
|
b8b9f4 |
.TP
|
|
|
a8c91d |
\fB-\-export-pubkey\fR=\fIoutkey\fR
|
|
|
a8c91d |
Export the public key specified by --certificate to \fIoutkey\fR
|