mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Clarify GPG binary check (#14832)
fixes #14817 Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -32,13 +32,17 @@ chmod +x gitea
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Verify GPG signature
 | 
					## Verify GPG signature
 | 
				
			||||||
Gitea signs all binaries with a [GPG key](https://keys.openpgp.org/search?q=teabot%40gitea.io) to prevent against unwanted modification of binaries. To validate the binary, download the signature file which ends in `.asc` for the binary you downloaded and use the gpg command line tool.
 | 
					Gitea signs all binaries with a [GPG key](https://keys.openpgp.org/search?q=teabot%40gitea.io) to prevent against unwanted modification of binaries.
 | 
				
			||||||
 | 
					To validate the binary, download the signature file which ends in `.asc` for the binary you downloaded and use the gpg command line tool.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```sh
 | 
					```sh
 | 
				
			||||||
gpg --keyserver keys.openpgp.org --recv 7C9E68152594688862D62AF62D9AE806EC1592E2
 | 
					gpg --keyserver keys.openpgp.org --recv 7C9E68152594688862D62AF62D9AE806EC1592E2
 | 
				
			||||||
gpg --verify gitea-{{< version >}}-linux-amd64.asc gitea-{{< version >}}-linux-amd64
 | 
					gpg --verify gitea-{{< version >}}-linux-amd64.asc gitea-{{< version >}}-linux-amd64
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Look for the text `Good signature from "Teabot <teabot@gitea.io>"` to assert a good binary,
 | 
				
			||||||
 | 
					despite warnings like `This key is not certified with a trusted signature!`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Recommended server configuration
 | 
					## Recommended server configuration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
**NOTE:** Many of the following directories can be configured using [Environment Variables]({{< relref "doc/advanced/environment-variables.en-us.md" >}}) as well!
 | 
					**NOTE:** Many of the following directories can be configured using [Environment Variables]({{< relref "doc/advanced/environment-variables.en-us.md" >}}) as well!
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user