Bug 3402

Summary: hostkey-agent.sh doesn't filter SK certtypes
Product: Portable OpenSSH Reporter: balu <balu.gajjala>
Component: Regression testsAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement CC: balu.gajjala
Priority: P5    
Version: 8.9p1   
Hardware: Other   
OS: Windows 10   

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`