Bug 2715

Summary: for more flexibility, please support a comma ',' separated list of patterns to add to/remove from the defaults
Product: Portable OpenSSH Reporter: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: enhancement CC: djm
Priority: P5    
Version: 7.5p1   
Hardware: Other   
OS: Linux   

Description Cristian Ionescu-Idbohrn 2017-05-08 20:34:20 AEST
What I'm thinking of would look like this:

Macs=-umac-64*,-hmac-sha1*


Cheers,

-- 
Cristian
Comment 1 Cristian Ionescu-Idbohrn 2017-05-08 20:57:10 AEST
By accident, I just discovered a list of this form:

Macs=-umac-64*,hmac-sha1*

is supported (the '-' operates on the whole list).

This form:

Macs=-umac-64*,-hmac-sha1*

('-' in front of each pattern) is not supported.

Ideally, a mix like this:

Macs=-umac-64*,+foo*,-hmac-sha1*

offers the best flexibility, IMO.


Cheers,

-- 
Cristian
Comment 2 Damien Miller 2017-05-16 02:08:46 AEST
I don't think extra flexibility is worth the complexity needed to implement it. If you have a need to select algorithms that goes beyond simply adding or removing some from the default set then it's easy just to specify the list.
Comment 3 Damien Miller 2021-04-23 15:02:27 AEST
closing resolved bugs as of 8.6p1 release