Bug 3402 - hostkey-agent.sh doesn't filter SK certtypes
Summary: hostkey-agent.sh doesn't filter SK certtypes
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Regression tests (show other bugs)
Version: 8.9p1
Hardware: Other Windows 10
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-12 07:58 AEDT by balu
Modified: 2022-03-12 07:58 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description balu 2022-03-12 07:58:21 AEDT
hostkey-agent.sh assumes there is SK provider all the time and doesn't filter the SK certtypes.

SSH_CERTTYPES=`ssh -Q key-sig | grep 'cert-v01@openssh.com' 

     should be modified to 

SSH_CERTTYPES=`ssh -Q key-sig | grep 'cert-v01@openssh.com' | maybe_filter_sk`