Bug 1161607
| Summary: | virt-who not able to decrypt encrypted password | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Radek Novacek <rnovacek> |
| Component: | virt-who | Assignee: | Radek Novacek <rnovacek> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | kmurugad, liliu, ovasik, rbalakri, rnovacek, sgao, shihliu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-who-0.11-4.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
virt-who did not decode hexadecimal representation of the password before decrypting.
Consequence:
Decrypted password did not match the original password, so connecting with the password failed.
Fix:
Properly decode encrypted password.
Result:
Encrypted passwords can be used for storing credentials.
|
Story Points: | --- |
| Clone Of: | 1161604 | Environment: | |
| Last Closed: | 2015-03-05 10:23:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1161604 | ||
| Bug Blocks: | |||
|
Description
Radek Novacek
2014-11-07 13:18:04 UTC
Fixed in virt-who-0.11-4.el7. The latest RHEL7.1 build with virt-who-0.11-3.el7.noarch, need to wait for a new rhel7.1 build with virt-who-0.11-4.el7 to verify this bug. Verified it on virt-who-0.11-4.el7.noarch.
Version-Release number of selected component (if applicable):
subscription-manager-1.13.9-1.el7.x86_64
python-rhsm-1.13.8-1.el7.x86_64
virt-who-0.11-4.el7.noarch
katello-headpin-1.4.3.28-1.el6sam_splice.noarch
candlepin-0.9.6.5-1.el6sam.noarch
Verified process:
1.Register system to SAM server
[root@hp-z220-05 libvirt-test-API]# subscription-manager register --username=admin --password=admin
The system has been registered with ID: e3abf301-1772-4e9c-b4f2-b24a7acef326
2.Configure virt-who run at esx mode and with encrypted password
[root@hp-z220-05 system]# virt-who-password
Password:
Use following as value for encrypted_password key in the configuration file:
43f282d679adb816f2bb1cf9c18949ec
# cat /etc/virt-who.d/virt-who
[test-esx1]
type=esx
server=10.66.79.89
username=Administrator
encrypted_password=43f282d679adb816f2bb1cf9c18949ec
owner=ACME_Corporation
env=Library
3. Restart virt-who service, virt-who can send host/guest associate to SAM server.
2014-11-28 16:51:14,806 [DEBUG] @virtwho.py:83 - Using config named 'test-esx1'
2014-11-28 16:51:14,807 [INFO] @virtwho.py:460 - Using configuration "test-esx1" ("esx" mode)
2014-11-28 16:51:14,807 [DEBUG] @virtwho.py:170 - Starting infinite loop with 5 seconds interval
2014-11-28 16:51:20,233 [INFO] @subscriptionmanager.py:116 - Sending update in hosts-to-guests mapping: {aee4ff00-8c33-11e2-994a-6c3be51d959a: [4229e196-30de-9b6b-d31b-f22b22166548, 564d30c2-464f-81ad-1db6-6ec620dd7465], 44454c4c-4200-1034-8039-b8c04f503258: [422929f3-8ade-7dcc-6119-4904c7e1b8eb]}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0430.html |