Default the key length for batch files to 4096.

feature/documentation-builds-html
Isis Lovecruft 2013-04-10 21:44:59 +00:00
parent c47968c47a
commit a873c1172a
1 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ class GPGTestCase(unittest.TestCase):
## XXX will GPG just use it's defaults? does it have defaults if ## XXX will GPG just use it's defaults? does it have defaults if
## we've just given it a homedir without a gpg.conf? ## we've just given it a homedir without a gpg.conf?
key_type = 'RSA'if key_type is None else key_type key_type = 'RSA'if key_type is None else key_type
key_length = 2048 if key_length is None else key_length key_length = 4096 if key_length is None else key_length
batch = {'Key-Type': key_type, batch = {'Key-Type': key_type,
'Key-Length': key_length, 'Key-Length': key_length,