Sandro Bonazzola has posted comments on this change. Change subject: packaging: setup: hardening postgresql password ......................................................................
Patch Set 3: (1 comment) http://gerrit.ovirt.org/#/c/27615/3/packaging/setup/ovirt_engine_setup/postgres.py File packaging/setup/ovirt_engine_setup/postgres.py: Line 465: ) Line 466: ) Line 467: Line 468: def generatePassword(self): Line 469: rand = random.SystemRandom() > why temp variable? avoiding to create the same object 22 times in the following for loop... Line 470: return ''.join([rand.choice(self._PASSWORD_CHARS) for i in range(22)]) Line 471: Line 472: def applyEnvironment(self): Line 473: for k in ('user', 'database', 'port', 'secured', 'hostValidation'): -- To view, visit http://gerrit.ovirt.org/27615 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I76769e7eb65df35f982b1ef9e36bc81d1f42b79a Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Michael Samuel <[email protected]> Gerrit-Reviewer: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Yedidyah Bar David <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
