@@ -13,6 +13,22 @@ Signatures always begin with `-----BEGIN PGP SIGNATURE-----`
13
13
and end with `-----END PGP SIGNATURE-----`, unless gpg is told to
14
14
produce RFC1991 signatures which use `MESSAGE` instead of `SIGNATURE`.
15
15
16
+ Signatures sometimes appear as a part of the normal payload
17
+ (e.g. a signed tag has the signature block appended after the payload
18
+ that the signature applies to), and sometimes appear in the value of
19
+ an object header (e.g. a merge commit that merged a signed tag would
20
+ have the entire tag contents on its "mergetag" header). In the case
21
+ of the latter, the usual multi-line formatting rule for object
22
+ headers applies. I.e. the second and subsequent lines are prefixed
23
+ with a SP to signal that the line is continued from the previous
24
+ line.
25
+
26
+ This is even true for an originally empty line. In the following
27
+ examples, the end of line that ends with a whitespace letter is
28
+ highlighted with a `$` sign; if you are trying to recreate these
29
+ example by hand, do not cut and paste them---they are there
30
+ primarily to highlight extra whitespace at the end of some lines.
31
+
16
32
The signed payload and the way the signature is embedded depends
17
33
on the type of the object resp. transaction.
18
34
78
94
committer C O Mitter <
[email protected] > 1465981137 +0000
79
95
gpgsig -----BEGIN PGP SIGNATURE-----
80
96
Version: GnuPG v1
81
-
97
+ $
82
98
iQEcBAABAgAGBQJXYRjRAAoJEGEJLoW3InGJ3IwIAIY4SA6GxY3BjL60YyvsJPh/
83
99
HRCJwH+w7wt3Yc/9/bW2F+gF72kdHOOs2jfv+OZhq0q4OAN6fvVSczISY/82LpS7
84
100
DVdMQj2/YcHDT4xrDNBnXnviDO9G7am/9OE77kEbXrp7QPxvhjkicHNwy2rEflAA
@@ -128,13 +144,13 @@ mergetag object 04b871796dc0420f8e7561a895b52484b701d51a
128
144
type commit
129
145
tag signedtag
130
146
tagger C O Mitter <
[email protected] > 1465981006 +0000
131
-
147
+ $
132
148
signed tag
133
-
149
+ $
134
150
signed tag message body
135
151
-----BEGIN PGP SIGNATURE-----
136
152
Version: GnuPG v1
137
-
153
+ $
138
154
iQEcBAABAgAGBQJXYRhOAAoJEGEJLoW3InGJklkIAIcnhL7RwEb/+QeX9enkXhxn
139
155
rxfdqrvWd1K80sl2TOt8Bg/NYwrUBw/RWJ+sg/hhHp4WtvE1HDGHlkEz3y11Lkuh
140
156
8tSxS3qKTxXUGozyPGuE90sJfExhZlW4knIQ1wt/yWqM+33E9pN4hzPqLwyrdods
0 commit comments