Katello/katello — pull request #46 by lzap (2012-04-26 16:17:54+00:00)
Title: Encryption

So I am adding support for plain text passwords encryption.

1) There is a new utility called katello-passwd (see man page or help option) to encrypt a password.

2) It starts with $1$ (1 is for version 1) and it can only be used for database-password setting (we do not have any plaintext passwords in Katello yet)

3) Katello can also read unencrypted passwords from this field (if it does not start with $1$)

4) I will raise a RFE against Candlepin to do the same for database password. Pulp is fine (no passwords there).

5) I modified katello-configure to use the function to encrypt database password during installation

More on the demo.