#8029 ipa host-find --pkey-only includes SSH keys in output
Closed: fixed by cheimes. Opened by rcritten.

Issue

When the --pkey-only option is used on the primary key should be returned. In the case of host-find it is also including the SSH keys.

Steps to Reproduce

  1. ipa host-find --pkey-only

Reproducible in master branch. I think this was added in commit 14ee02dcbd6cbb6c221ac7526e471a9fc58fcc82 so applies pretty far back.

Propose fixing it back to ipa-4-6.


Metadata Update from @rcritten:
- Issue assigned to rcritten

master:

  • 73c32dbfeb9a67a476243540dc724784b1a007aa Don't return SSH keys with ipa host-find --pkey-only

ipa-4-7:

  • bdbc918724275e19c81e2e8fa6edfa1972e63f95 Don't return SSH keys with ipa host-find --pkey-only

ipa-4-8:

  • e539a29d77dff5eedb0e3cf6e62fecefbdb17dce Don't return SSH keys with ipa host-find --pkey-only

ipa-4-6:

  • 643a1d6747e523ac456aefc4707772aebde5573a Don't return SSH keys with ipa host-find --pkey-only

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1749788

Issue linked to Bugzilla: Bug 1749788

master:

  • f0f2c2645ef5aa0a065e2b5a2063d57d85f74d56 Added a test to check if ipa host-find --pkey-only does not return SSH public key

ipa-4-8:

  • 2cd67d5a9a22c009f050e493d4b3e2882dbfd81f Added a test to check if ipa host-find --pkey-only does not return SSH public key

ipa-4-7:

  • f4fdfaac3bea3b1301222f6362275f34b1b710e9 Added a test to check if ipa host-find --pkey-only does not return SSH public key

ipa-4-6:

  • 189fc03a52c80dc675ea1015d97a4e4c357549b5 Added a test to check if ipa host-find --pkey-only does not return SSH public key
Metadata