Katello/katello — pull request #50 by lzap (2012-04-27 09:26:05+00:00)
Title: Encryption2

So I am adding support for plain text passwords encryption (please note this is encryption for passwords we need to keep - obscurity not security).

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.