generate 2048 bits keys instead of 384 bits keys when needed. Fixes #7036
This commit is contained in:
		
							parent
							
								
									712ca88d6c
								
							
						
					
					
						commit
						c467e44370
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -87,7 +87,7 @@ class Secrets: | |||
|         try: | ||||
|             pk = self.privkeys[account] | ||||
|         except KeyError: | ||||
|             pk = Crypto.PublicKey.RSA.generate(384, crypto.random_bytes) | ||||
|             pk = Crypto.PublicKey.RSA.generate(2048, crypto.random_bytes) | ||||
| 
 | ||||
|             self.privkeys[account] = pk | ||||
|             self.save() | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue