Re: [Development] Playground: Crypto module

2013-01-11 Thread Ruslan Nigmatullin
QMessageAuthenticationCode is ready: https://codereview.qt-project.org/44512 11.01.2013, 02:51, "Richard Moore" : > On 10 January 2013 22:32, Ruslan Nigmatullin wrote: > >>  11.01.2013, 00:55, "Richard Moore" : >>>  On 10 January 2013 20:48, Ruslan Nigmatullin wrote:   2. HMAC is unsupporte

Re: [Development] Playground: Crypto module

2013-01-10 Thread Richard Moore
On 10 January 2013 22:32, Ruslan Nigmatullin wrote: > 11.01.2013, 00:55, "Richard Moore" : >> On 10 January 2013 20:48, Ruslan Nigmatullin wrote: >>> 2. HMAC is unsupported, so it's usually impossible to use OAuth with >>> hmac-authorization (like "hmac(sha256)") >> >> Adding support for HMAC t

Re: [Development] Playground: Crypto module

2013-01-10 Thread Ruslan Nigmatullin
11.01.2013, 00:55, "Richard Moore" : > On 10 January 2013 20:48, Ruslan Nigmatullin wrote: > >>  Qt misses some core features connected with TLS/hashing: >>  1. it's impossible to create "unencrypted" connection to server and >> initialize TLS encyption sometime afterwards (common usecase: conn

Re: [Development] Playground: Crypto module

2013-01-10 Thread Peter Kümmel
On 10.01.2013 19:56, Ruslan Nigmatullin wrote: > Botan, as I see is C++ wrapper around OpenSSL itself. Are you sure? It looks different on their site: http://botan.randombit.net/index.html > Qt already has OpenSSL dependency. What's are benefits of using it if Botan > is just additional dependa

Re: [Development] Playground: Crypto module

2013-01-10 Thread Richard Moore
On 10 January 2013 20:54, Giuseppe D'Angelo wrote: > On 10 January 2013 21:48, Ruslan Nigmatullin wrote: >> 1. it's impossible to create "unencrypted" connection to server and >> initialize TLS encyption sometime afterwards (common usecase: connection to >> jabber server). > > Isn't it what QSs

Re: [Development] Playground: Crypto module

2013-01-10 Thread Richard Moore
On 10 January 2013 20:48, Ruslan Nigmatullin wrote: > Qt misses some core features connected with TLS/hashing: > 1. it's impossible to create "unencrypted" connection to server and > initialize TLS encyption sometime afterwards (common usecase: connection to > jabber server). That's incorrect,

Re: [Development] Playground: Crypto module

2013-01-10 Thread Giuseppe D'Angelo
On 10 January 2013 21:48, Ruslan Nigmatullin wrote: > 1. it's impossible to create "unencrypted" connection to server and > initialize TLS encyption sometime afterwards (common usecase: connection to > jabber server). Isn't it what QSslSocket::startClientEncryption do? -- Giuseppe D'Angelo __

Re: [Development] Playground: Crypto module

2013-01-10 Thread Ruslan Nigmatullin
Qt misses some core features connected with TLS/hashing: 1. it's impossible to create "unencrypted" connection to server and initialize TLS encyption sometime afterwards (common usecase: connection to jabber server). 2. HMAC is unsupported, so it's usually impossible to use OAuth with hmac-author

Re: [Development] Playground: Crypto module

2013-01-10 Thread Richard Moore
On 10 January 2013 17:03, Ruslan Nigmatullin wrote: > Hi all, > > With Qt5 there are no Qt-based cryptographic interfaces now. There was an QCA > for Qt3/Qt4, but it had over-engineered interface and a lot of bugs. So I > would like to start Crypto module for Qt5 with convience crypto-methods >

Re: [Development] Playground: Crypto module

2013-01-10 Thread Laszlo Papp
On Thu, Jan 10, 2013 at 6:03 PM, Ruslan Nigmatullin wrote: > Hi all, > > With Qt5 there are no Qt-based cryptographic interfaces now. There was an QCA > for Qt3/Qt4, but it had over-engineered interface > and a lot of bugs. > I have been a happy QCA client for several years, but it does not nece

Re: [Development] Playground: Crypto module

2013-01-10 Thread Ruslan Nigmatullin
Botan, as I see is C++ wrapper around OpenSSL itself. Qt already has OpenSSL dependency. What's are benefits of using it if Botan is just additional dependancy? Also neither Botan or OpenSSL have SASL and GPG support. 10.01.2013, 22:31, "Konstantin Tokarev" : > 10.01.2013, 21:03, "Ruslan Nigmatu

Re: [Development] Playground: Crypto module

2013-01-10 Thread Konstantin Tokarev
10.01.2013, 21:03, "Ruslan Nigmatullin" : > Hi all, > > With Qt5 there are no Qt-based cryptographic interfaces now. There was an QCA  > for Qt3/Qt4, but it had over-engineered interface and a lot of bugs. So I > would like to start Crypto module for Qt5 with convience crypto-methods > (Qt-base

Re: [Development] Playground: Crypto module

2013-01-10 Thread Thiago Macieira
On quinta-feira, 10 de janeiro de 2013 21.03.42, Ruslan Nigmatullin wrote: > Hi all, > > With Qt5 there are no Qt-based cryptographic interfaces now. There was an QC > A for Qt3/Qt4, but it had over-engineered interface and a lot of bugs. So I > would like to start Crypto module for Qt5 with convi

[Development] Playground: Crypto module

2013-01-10 Thread Ruslan Nigmatullin
Hi all, With Qt5 there are no Qt-based cryptographic interfaces now. There was an QCA  for Qt3/Qt4, but it had over-engineered interface and a lot of bugs. So I would like to start Crypto module for Qt5 with convience crypto-methods (Qt-based wrappers for TLS/SSL encryption, SASL, AES/etc encryp