Set example key_size to 1024.

Updates the default key_size and config file example to 1024.
Using the previous value of 2048 would cause database truncation
and/or column size errors because the 'id' column isn't big enough
to hold that much data.

Works around LP Bug #1031191.

Change-Id: Ic28bf0945a65fb80a4b610a4de7afa485d09e2bb
This commit is contained in:
Dan Prince 2012-07-30 23:22:21 -04:00
parent 0f77f75144
commit bc12215b2f
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@
#certfile = /etc/keystone/ssl/certs/signing_cert.pem
#keyfile = /etc/keystone/ssl/private/signing_key.pem
#ca_certs = /etc/keystone/ssl/certs/ca.pem
#key_size = 2048
#key_size = 1024
#valid_days = 3650
#ca_password = None

View File

@ -133,7 +133,7 @@ register_str('keyfile', group='signing',
default="/etc/keystone/ssl/private/signing_key.pem")
register_str('ca_certs', group='signing',
default="/etc/keystone/ssl/certs/ca.pem")
register_int('key_size', group='signing', default=2048)
register_int('key_size', group='signing', default=1024)
register_int('valid_days', group='signing', default=3650)
register_str('ca_password', group='signing', default=None)