openssh_keypair: make fingerprint result a string (#57295)

The extant documentation says that the fingerprint return value is a
single string, but it is currently being returned as a split list.
Convert the returned value to a string as documented, and add some
basic test-case coverage for the return values.
This commit is contained in:
Ian Wienand
2019-06-06 15:58:51 +10:00
committed by Felix Fontein
parent c6097a268c
commit 6f06fc9945
4 changed files with 36 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- openssh_keypair - The fingerprint return value was incorrectly returning a list of ssh-keygen output; it now returns just the fingerprint value as a string