Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1356142

Summary: host-find, host-show do not show ssh fingerprint by default
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WORKSFORME QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: mbasti, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-20 15:26:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Vobornik 2016-07-13 13:19:05 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/6042

It is expected that in output of host-find and host-show the fingerprint of all SSH keys should be shown.

Got:
{{{
ipa host-show vm-058-188.abc.idm.lab.eng.brq.redhat.com
  Host name: vm-058-188.abc.idm.lab.eng.brq.redhat.com
  Principal name: host/vm-058-188.abc.idm.lab.eng.brq.redhat.com.IDM.LAB.ENG.BRQ.REDHAT.COM
  Password: False
  Member of host-groups: ipaservers
  Keytab: True
  Managed by: vm-058-188.abc.idm.lab.eng.brq.redhat.com
}}}

Expected:
{{{
ipa host-show vm-058-188.abc.idm.lab.eng.brq.redhat.com
  Host name: vm-058-188.abc.idm.lab.eng.brq.redhat.com
  Principal name: host/vm-058-188.abc.idm.lab.eng.brq.redhat.com.IDM.LAB.ENG.BRQ.REDHAT.COM
  Password: False
  Member of host-groups: ipaservers
  Keytab: True
  Managed by: vm-058-188.abc.idm.lab.eng.brq.redhat.com
  SSH fingerprint: B5:AE:22:61:9A:2E:B3:11:15:35:8C:90:60:FE:78:49 (ssh-rsa), E0:A7:72:95:43:93:22:91:B2:E6:F9:7D:B1:22:9B:7F (ecdsa-sha2-nistp256), 3A:C5:EC:89:FE:C2:46:7B:D3:9D:92:9F:CC:BC:61:EA (ssh-ed25519)
}}}

Actually API call returns fingeprints, only on client side they are not shown.
{{{
    "result": {
        "result": {
            "dn": "fqdn=vm-058-188.abc.idm.lab.eng.brq.redhat.com,cn=computers,cn=accounts,dc=dom-012,dc=abc,dc=idm,dc=lab,dc=eng,dc=brq,dc=redhat,dc=com", 
            "fqdn": [
                "vm-058-188.abc.idm.lab.eng.brq.redhat.com"
            ], 
            "has_keytab": true, 
            "has_password": false, 
            "krbprincipalname": [
                "host/vm-058-188.abc.idm.lab.eng.brq.redhat.com.IDM.LAB.ENG.BRQ.REDHAT.COM"
            ], 
            "managedby_host": [
                "vm-058-188.abc.idm.lab.eng.brq.redhat.com"
            ], 
            "memberof_hostgroup": [
                "ipaservers"
            ], 
            "sshpubkeyfp": [
                "B5:AE:22:61:9A:2E:B3:11:15:35:8C:90:60:FE:78:49 (ssh-rsa)", 
                "E0:A7:72:95:43:93:22:91:B2:E6:F9:7D:B1:22:9B:7F (ecdsa-sha2-nistp256)", 
                "3A:C5:EC:89:FE:C2:46:7B:D3:9D:92:9F:CC:BC:61:EA (ssh-ed25519)"
            ]
        }, 
        "summary": null, 
        "value": "vm-058-188.abc.idm.lab.eng.brq.redhat.com"
}}}

Probably caused by think client feature.

Comment 1 Martin Bašti 2016-07-20 15:26:57 UTC
I cannot reproduce this anymore