这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@zdohnal
Copy link
Member

@zdohnal zdohnal commented Nov 18, 2021

Earlier we applied DigestOptions only for devices which implement RFC
2617 or RFC 7616, this commit applies it even for RFC 2069 support.

This issue came up during CentOS Stream/RHEL 9 development, where MD5
digest is marked as insecure for authentication/authorization, so it
should be turned off in default configurations to prevent security
issues.

This PR is a preview how the fix should look if accepted - more I'm
looking for discussion whether we should tackle MD5 usage for devices
supporting only RFC 2069.

@zdohnal zdohnal added enhancement New feature or request priority-medium labels Nov 18, 2021
@zdohnal zdohnal added this to the v2.4 milestone Nov 18, 2021
Copy link
Member

@michaelrsweet michaelrsweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a coding style perspective, I'd prefer the check after the comment block.

From a backwards-compatibility perspective, you need to be prepared for customer support requests when their otherwise working printers break. I don't believe this will be a major impact (most people don't password protect regular printers and cupsd hasn't supported Digest authentication for quite a while now) but enterprise customers will likely have high expectations... :)

@zdohnal
Copy link
Member Author

zdohnal commented Nov 19, 2021

From a coding style perspective, I'd prefer the check after the comment block.

Thx, I'll move it.

From a backwards-compatibility perspective, you need to be prepared for customer support requests when their otherwise working printers break. I don't believe this will be a major impact (most people don't password protect regular printers and cupsd hasn't supported Digest authentication for quite a while now) but enterprise customers will likely have high expectations... :)

I have my finger crossed...

Earlier we applied DigestOptions only for devices which implement RFC
2617 or RFC 7616, this commit applies it even for RFC 2069 support.

This issue came up during CentOS Stream/RHEL 9 development, where MD5
digest is marked as insecure for authentication/authorization, so it
should be turned off in default configurations to prevent security
issues.
@zdohnal zdohnal force-pushed the digestoptions_rfc2069 branch from 305b863 to 887041a Compare November 19, 2021 11:23
@zdohnal zdohnal merged commit 0816a6e into OpenPrinting:master Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority-medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants