-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
Regarding the SSL issues as mentioned:
#163
#148 (comment)
The suggested solution of disabling peer verification is unsafe.
Would it be possible to add an overload to the smtp::authenticate() method and for other classes that takes an externally created ssl::context?
std::string authenticate(const std::string& username, const std::string& password, auth_method_t method, std::shared_ptr<ssl::context> ctx);
This would allow users to setup certificate stores etc. before the connection is made.
Another option could be a callback after the ssl context is initialised that allows the user to modify the context before the socket gets initialised.
Metadata
Metadata
Assignees
Labels
No labels