[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] Script to generate / update Tryton master password against
From: |
Luis Falcon |
Subject: |
[Health-dev] Script to generate / update Tryton master password against cracklib |
Date: |
Wed, 29 Oct 2014 13:56:54 +0000 |
Hi team
I have created a basic python script ("serverpass.py"), that allows to
generate or update the Tryton master password, and validate it against
cracklib[1].
The goal is to harden the security, as well as to facilitate its
generation without editing manually the configuration file.
It's done for GNU Health. Starting GNU Health 2.8, it will be called in
the standard installation program (gnuhealth_install.sh), but it is
also a stand-alone program, to update the password
You can check the latest version at the GNU Health mercurial
repository[2], in the default branch, browsing under
"tryton/scripts/security" directory .
I hope it can be useful to general Tryton installations, so I'm copying
it to tryton-contrib list. It's just starting, so expect
bugs, backup your configuration file, and don't use it in production
environments yet :)
Next should be checking for bad passwords at user level.
Suggestions are most welcome.
1.- Cracklib : http://sourceforge.net/projects/cracklib/
2.- GNU Health Repo @ Savannah : http://hg.savannah.gnu.org/hgweb/health
Best,
--
Luis Falcon, MD
GNU Health
Freedom and Equity in Healthcare
http://health.gnu.org
signature.asc
Description: PGP signature
- [Health-dev] Script to generate / update Tryton master password against cracklib,
Luis Falcon <=