generate 2048 bits keys instead of 384 bits keys when needed. Fixes #7036

This commit is contained in:
Yann Leboulanger 2011-11-06 11:46:00 +01:00
parent 712ca88d6c
commit c467e44370
1 changed files with 1 additions and 1 deletions

View File

@ -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()