Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent invalid combinations of encryption algo and port #639

Closed
wants to merge 1 commit into from

Conversation

ozzi-
Copy link

@ozzi- ozzi- commented Feb 24, 2016

Added a check that prevents invalid combinations of encryption algorithm and port by throwing a critical exception.

@Synchro
Copy link
Member

Synchro commented Feb 24, 2016

This isn't a reasonable thing to do as while it's unlikely, none of these combinations are set in stone and all are legitimate - it's not our job to prevent anyone using SSL on 587 and TLS on 465 if they want to. I'd suggest generating a warning if debug mode is enabled instead, and it would be a good thing to include in #612.

@Synchro Synchro closed this Feb 24, 2016
@ozzi- ozzi- deleted the ozzi--enc-port-check branch February 24, 2016 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants