1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-09 21:28:51 +01:00

doc: Improve documentation about VALIDSIG

--

The claim that VALIDSIG is the same as GOODSIG is simply wrong.
Attempt to clarify it.  Also, the paragraph about primary-key-fpr and
sig-version was weirdly re-ordered during the org-mode conversion in
65eb98966a569a91c97d0c23ba5582a9a7558de0; repair it.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor 2015-07-07 12:00:16 -04:00 committed by Werner Koch
parent 90f029e869
commit 194c25d59f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -408,12 +408,15 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
- <sig-class> - <sig-class>
- [ <primary-key-fpr> ] - [ <primary-key-fpr> ]
This status indicates that the signature is good. This is the same This status indicates that the signature is cryptographically
as GOODSIG but has the fingerprint as the argument. Both status valid. This similar to GOODSIG or EXPSIG or EXPKEYSIG or REVSIG
lines are emitted for a good signature. All arguments here are on (depending on the date and the state of the signature and signing
one long line. sig-timestamp is the signature creation time in key) but has the fingerprint as the argument. Multiple status
seconds after the epoch. expire-timestamp is the signature lines (VALIDSIG and the other appropriate *SIG status) are emitted
expiration time in seconds after the epoch (zero means "does not for a valid signature. All arguments here are on one long line.
sig-timestamp is the signature creation time in seconds after the
epoch. expire-timestamp is the signature expiration time in
seconds after the epoch (zero means "does not
expire"). sig-version, pubkey-algo, hash-algo, and sig-class (a expire"). sig-version, pubkey-algo, hash-algo, and sig-class (a
2-byte hex value) are all straight from the signature packet. 2-byte hex value) are all straight from the signature packet.
PRIMARY-KEY-FPR is the fingerprint of the primary key or identical PRIMARY-KEY-FPR is the fingerprint of the primary key or identical
@ -421,8 +424,8 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
key without running gpg again for this purpose. key without running gpg again for this purpose.
The primary-key-fpr parameter is used for OpenPGP and not The primary-key-fpr parameter is used for OpenPGP and not
class is not defined for CMS and currently set to 0 and 00.
available for CMS signatures. The sig-version as well as the sig available for CMS signatures. The sig-version as well as the sig
class is not defined for CMS and currently set to 0 and 00.
Note, that *-TIMESTAMP may either be a number of seconds since Note, that *-TIMESTAMP may either be a number of seconds since
Epoch or an ISO 8601 string which can be detected by the presence Epoch or an ISO 8601 string which can be detected by the presence