mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Backport #30174 by @KN4CK3R Fixes #30119 Include the encoding in the signature payload. before  after  --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
		| @@ -84,6 +84,8 @@ readLoop: | ||||
| 				commit.Committer = &Signature{} | ||||
| 				commit.Committer.Decode(data) | ||||
| 				_, _ = payloadSB.Write(line) | ||||
| 			case "encoding": | ||||
| 				_, _ = payloadSB.Write(line) | ||||
| 			case "gpgsig": | ||||
| 				_, _ = signatureSB.Write(data) | ||||
| 				_ = signatureSB.WriteByte('\n') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user