Fabian Deutsch has submitted this change and it was merged.

Change subject: Add console.size, and shorten the password message on a small 
term
......................................................................


Add console.size, and shorten the password message on a small term

If we don't have enough rows, keep the message shorter, but still
warn that it's a weak password.

Also add a convenience function to check the rows/columns of the
terminal in case it's useful anywhere else.

Change-Id: Ifa580235f545e41dd25236b5dca2e6310b68ccca
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1214611
Signed-off-by: Ryan Barry <[email protected]>
---
M src/ovirt/node/utils/console.py
M src/ovirt/node/utils/security.py
2 files changed, 30 insertions(+), 7 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/45457
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa580235f545e41dd25236b5dca2e6310b68ccca
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <[email protected]>
Gerrit-Reviewer: Fabian Deutsch <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to