We must allow applications to define their own verification function for the TLS handshake. The built-in verification is not enough. Split connector's handshake handler, and added a method for setting a user verify function.
Created attachment 33391 [details] [review] Split connector's handshake handler, and added a method for setting a user verify function.
http://git.collabora.co.uk/?p=user/eitan/wocky.git;a=summary branch: tls_wocky_inline
Created attachment 33394 [details] [review] Split connector's handshake handler, and added a method for setting a user verify function.
Comment on attachment 33391 [details] [review] Split connector's handshake handler, and added a method for setting a user verify function. Added docstrings.
I would probably recommend changing Wocky API to match the GIO one, as we eventually want to use that. It already supports this feature through a signal on GTlsConnection.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.