Max JWK size of 1024.

This commit is contained in:
Jacob Hoffman-Andrews 2015-05-27 16:08:04 -07:00
parent 343920cfe3
commit 714432e9d7
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (ssa *SQLStorageAuthority) SetSQLDebug(state bool) {
func (ssa *SQLStorageAuthority) initTables() {
regTable := ssa.dbMap.AddTableWithName(core.Registration{}, "registrations").SetKeys(true, "ID")
regTable.SetVersionCol("LockCol")
regTable.ColMap("Key").SetMaxSize(512).SetNotNull(true)
regTable.ColMap("Key").SetMaxSize(1024).SetNotNull(true)
pendingAuthzTable := ssa.dbMap.AddTableWithName(pendingauthzModel{}, "pending_authz").SetKeys(false, "ID")
pendingAuthzTable.SetVersionCol("LockCol")