[SR-Users] Size of passwords fields in db

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 5 16:25:58 CEST 2016


Hello,

writing here to decide on a topic opened by pull request 779:

  - https://github.com/kamailio/kamailio/pull/779

what would be a fair size for db column storing a password that one
would like to have for proper security?

I would like to make it consistent over all tables that have a password
column by defining a xml entity for the size of these columns. The pull
request suggests 64 chars, has anyone other opinions on making it larger
or smaller?

If they are defined varchar, then should not be a problem of allocated
size, so we can go with 128 if someone feels it worth doing larger now
so we don't have to change it again in the near future.

This change is about db schema, the modules I expect to work with
allocated strings (or have length checks) in this case and should not be
affected.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.com




More information about the sr-users mailing list