#8029 ipa host-find --pkey-only includes SSH keys in output
Closed: fixed 2 years ago by cheimes. Opened 2 years ago 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 14ee02d so applies pretty far back.

Propose fixing it back to ipa-4-6.


Metadata Update from @rcritten:
- Issue assigned to rcritten

2 years ago

master:

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

ipa-4-7:

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

ipa-4-8:

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

ipa-4-6:

  • 643a1d6 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)

2 years ago

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

2 years ago

master:

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

ipa-4-8:

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

ipa-4-7:

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

ipa-4-6:

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

Login to comment on this ticket.

Metadata