Skip to Content.
Sympa Menu

Built-in authentication

See also "Authentication on web interface".

The built-in authentication mechanism provides authentication for user of web interface (WWSympa) using their e-mail addresses and passwords. It is enabled by default.

Requirements

Sympa configuration

In sympa.conf, following parameters are available:

Upgrading password storage on earlier version

If you are planning to upgrade Sympa, you may have to upgrade password storage. Check "Upgrading notes" to know if upgrading is possible.

To perform upgrade, basically:

  1. Stop web interface (See also "Stopping services").

  2. Update Sympa configuration. See "Sympa configuration" and "Requirements" for details.

  3. Run upgrade_sympa_password.pl:

    # upgrade_sympa_password.pl
    
  4. Restart web interface (See also "Starting services").

Upgrading on large site

A note for sites with thousands of users that intend to upgrade to the bcrypt password hashes.

The bcrypt algorithm is designed to be CPU-intensive as a defense against password hash cracking. The default bcrypt_cost setting of 12 has been measured to consume approximately 250 milliseconds of CPU time on a typical 3.2GHz CPU. At that speed a site with 1000 users would take 250 seconds to upgrade hashes, while a site with 100,000 users would take nearly 7 hours.

If the estimated time required to upgrade passwords is a concern, it is possible to precalculate hashes in advance. (This process is only advised for large Sympa installations with small upgrade windows.)

History of password storage format of Sympa

On very early versions of Sympa, passwords of users were stored in database table as plain text.

As of Sympa 3.1 (2001), passwords were stored as encrypted form with RC4 reversible encryption algorithm.

Sympa 6.0 (2009) adopted MD5 digest algorithm for newly created password.

Sympa 6.2.26 (2018) adopted bcrypt hash function using randomly generated salt.

Top of Page