mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 13:28:25 +00:00 
			
		
		
		
	Merge pull request #1519 from haoyixin/develop
Modify minimumKeySize of RSA to 1024 for old keys.
This commit is contained in:
		@@ -123,7 +123,7 @@ var minimumKeySizes = map[string]int{
 | 
				
			|||||||
	"(NTRU)":    1087,
 | 
						"(NTRU)":    1087,
 | 
				
			||||||
	"(MCE)":     1702,
 | 
						"(MCE)":     1702,
 | 
				
			||||||
	"(McE)":     1702,
 | 
						"(McE)":     1702,
 | 
				
			||||||
	"(RSA)":     2048,
 | 
						"(RSA)":     1024,
 | 
				
			||||||
	"(DSA)":     1024,
 | 
						"(DSA)":     1024,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user