Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitcaa977f

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parente0d08fe commitcaa977f

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed

‎content/v3/git/commits.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,35 @@ To receive signature verification data in commit objects you must provide a cust
8383
<%= headers 200 %>
8484
<%= json(:signed_git_commit) %>
8585

86+
###The`verification` object
87+
88+
The response will include a`verification` field whose value is an object describing the result of verifying the commit's signature. The following fields are included in the`verification` object:
89+
90+
Name | Type | Description
91+
-----|------|--------------
92+
`verified`|`boolean` | Does GitHub consider the signature in this commit to be verified?
93+
`reason`|`string` | The reason for`verified` value. Possible values and their meanings are enumerated in the table bellow.
94+
`signature`|`string` | The signature that was extracted from the commit.
95+
`payload`|`string` | The value that was signed.
96+
97+
####The`reason` field
98+
99+
The following are possible`reason`s that may be included in the`verification` object:
100+
101+
Value | Description
102+
------|------------
103+
`expired_key` | The key that made the signature is expired.
104+
`not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature.
105+
`gpgverify_error` | There was an error communicating with the signature-verification service.
106+
`gpgverify_unavailable` | The signature-verification service is currently unavailable.
107+
`unsigned` | The object does not include a signature.
108+
`unkown_signature_type` | A non-PGP signature was found in the commit.
109+
`no_user` | No user was associated with the`committer` email address in the commit.
110+
`unverified_email` | The`committer` email address in the commit was associated with a user, but the email address is not verified on her/his account.
111+
`bad_email` | The`committer` email address in the commit is not included in the identities of the PGP key that made the signature.
112+
`unknown_key` | The key that made the signature has not been registered with any user's account.
113+
`malformed_signature` | There was an error parsing the signature.
114+
`invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature.
115+
`valid` | None of the above errors applied, so the signature is considered to be verified.
116+
86117
{% endif %}

‎content/v3/git/tags.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,35 @@ To receive signature verification data in tag objects you must provide a custom
8787
<%= headers 200 %>
8888
<%= json(:signed_gittag) %>
8989

90+
###The`verification` object
91+
92+
The response will include a`verification` field whose value is an object describing the result of verifying the tag's signature. The following fields are included in the`verification` object:
93+
94+
Name | Type | Description
95+
-----|------|--------------
96+
`verified`|`boolean` | Does GitHub consider the signature in this tag to be verified?
97+
`reason`|`string` | The reason for`verified` value. Possible values and their meanings are enumerated in the table bellow.
98+
`signature`|`string` | The signature that was extracted from the tag.
99+
`payload`|`string` | The value that was signed.
100+
101+
####The`reason` field
102+
103+
The following are possible`reason`s that may be included in the`verification` object:
104+
105+
Value | Description
106+
------|------------
107+
`expired_key` | The key that made the signature is expired.
108+
`not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature.
109+
`gpgverify_error` | There was an error communicating with the signature-verification service.
110+
`gpgverify_unavailable` | The signature-verification service is currently unavailable.
111+
`unsigned` | The object does not include a signature.
112+
`unkown_signature_type` | A non-PGP signature was found in the tag.
113+
`no_user` | No user was associated with the`tagger` email address in the tag.
114+
`unverified_email` | The`tagger` email address in the tag was associated with a user, but the email address is not verified on her/his account.
115+
`bad_email` | The`tagger` email address in the tag is not included in the identities of the PGP key that made the signature.
116+
`unknown_key` | The key that made the signature has not been registered with any user's account.
117+
`malformed_signature` | There was an error parsing the signature.
118+
`invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature.
119+
`valid` | None of the above errors applied, so the signature is considered to be verified.
90120

91121
{% endif %}

‎content/v3/repos/commits.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,35 @@ To receive signature verification data in commit objects you must provide a cust
109109
<%= headers 200 %>
110110
<%= json(:signed_commit) %>
111111

112+
###The`verification` object
113+
114+
The response will include a`verification` field whose value is an object describing the result of verifying the commit's signature. The following fields are included in the`verification` object:
115+
116+
Name | Type | Description
117+
-----|------|--------------
118+
`verified`|`boolean` | Does GitHub consider the signature in this commit to be verified?
119+
`reason`|`string` | The reason for`verified` value. Possible values and their meanings are enumerated in the table bellow.
120+
`signature`|`string` | The signature that was extracted from the commit.
121+
`payload`|`string` | The value that was signed.
122+
123+
####The`reason` field
124+
125+
The following are possible`reason`s that may be included in the`verification` object:
126+
127+
Value | Description
128+
------|------------
129+
`expired_key` | The key that made the signature is expired.
130+
`not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature.
131+
`gpgverify_error` | There was an error communicating with the signature-verification service.
132+
`gpgverify_unavailable` | The signature-verification service is currently unavailable.
133+
`unsigned` | The object does not include a signature.
134+
`unkown_signature_type` | A non-PGP signature was found in the commit.
135+
`no_user` | No user was associated with the`committer` email address in the commit.
136+
`unverified_email` | The`committer` email address in the commit was associated with a user, but the email address is not verified on her/his account.
137+
`bad_email` | The`committer` email address in the commit is not included in the identities of the PGP key that made the signature.
138+
`unknown_key` | The key that made the signature has not been registered with any user's account.
139+
`malformed_signature` | There was an error parsing the signature.
140+
`invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature.
141+
`valid` | None of the above errors applied, so the signature is considered to be verified.
142+
112143
{% endif %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp