[Interest] QSslCertificate verify unimplemented on iOS ?

ekke ekke at ekkes-corner.org
Fri Feb 28 10:25:54 CET 2020


thanks for the info - so I'll exclude verify from my encrpyt() code for 
iOS and rely on sslErrors() for the errorlist
in encrypt() I still can do some checks on certificate chain by myself
ekke

Am 28.02.20 um 10:12 schrieb Mårten Nordheim:
>
> Yes, it’s not implemented. Not 100% sure on the details but I believe 
> there’s some missing API, so it hasn’t been seen as feasible to implement.
>
> https://github.com/qt/qtbase/blob/5.15/src/network/ssl/qsslsocket_mac.cpp#L629
>
> Now Secure transport is “considered legacy” from Apple’s side. What 
> this means is not certain, but we’re probably not getting new API :(
>
> https://developer.apple.com/documentation/security/secure_transport
>
> Mårten
>
> *From: *ekke <mailto:ekke at ekkes-corner.org>
> *Sent: *fredag 28. februar 2020 09:26
> *To: *interest at qt-project.org <mailto:interest at qt-project.org>
> *Subject: *[Interest] QSslCertificate verify unimplemented on iOS ?
>
> I'm using QSslCertificate::verify successfully on Android
>
>
>       QList <https://doc.qt.io/qt-5/qlist.html><QSslError
>       <https://doc.qt.io/qt-5/qsslerror.html>>
>       QSslCertificate::verify(QList
>       <https://doc.qt.io/qt-5/qlist.html><QSslCertificate
>       <https://doc.qt.io/qt-5/qsslcertificate.html#QSslCertificate>>
>       /certificateChain/, const QString
>       <https://doc.qt.io/qt-5/qstring.html> &/hostName/ = QString())
>
> Doing the same on iOS I'm getting "Unimplemented Code" logged and the 
> list contains one entry "unknown error"
>
> is this expected behaviour ?
>
> thx
>
> ekke
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200228/14eca809/attachment.html>


More information about the Interest mailing list