I discovered it "supported" https but didn't start the encryption. Checked in a fix that actually makes it work yesterday, however, after actually doing some encryption exchange with the other side (it seem to work fine so far), I encounter the error below.
It seems like the client_rsa member is nowhere to be initialised. Where was this supposed to take place?
Indexing the NULL value with "raw_sign". /usr/local/pike/7.7.34/lib/modules/SSL.pmod/Cipher.pmod:243: SSL.Cipher->rsa_sign(SSL.context(),"\1\0\0/\3\1G<v\231""3\r.\20\353>\351\3 12W\337\5\343-\200\202S\370j\214\375\16\260\305\364\362\371""8\351\0\0\b\0 \a\0\5\0\4\0\n" "\1\0\2\0\0F\3\1\23\4\331\335,\213\f\253""0.\207\233\324tn'0\226\215\226X\ 21_/\264pV\35`\6g\367 \360""0:\374\27\214a\31=\243\t\b\35\f\206""7\f\276\3 30N\267\241\343\270\20Q\217\v\26\330\234\264\0\n" "\0\v\0\6{\0\6x\0\3K0\202\3G0\202\2\260\240\3\2\1\2\2\20(L\222!\201\250\30 2\272!2`0r\242G\245""0\r\6\t*"+[1756],ADT.struct()) /usr/local/pike/7.7.34/lib/modules/SSL.pmod/handshake.pike:268: SSL.connection({ })->certificate_verify_packet() /usr/local/pike/7.7.34/lib/modules/SSL.pmod/handshake.pike:1320: SSL.connection({ })->handle_handshake(14,"","\16\0\0\0") /usr/local/pike/7.7.34/lib/modules/SSL.pmod/connection.pike:379: SSL.connection({ })->got_data("") /usr/local/pike/7.7.34/lib/modules/SSL.pmod/sslfile.pike:1469: SSL.sslfile(Fd(11))->ssl_read_callback(0,"\26\3\1\0\4\16\0\0\0") src/backend.cmod:2790: Pike.Backend(1)->`()(0) /usr/local/pike/7.7.34/lib/modules/SSL.pmod/sslfile.pike:1445: SSL.sslfile(Fd(11))->direct_write() /usr/local/pike/7.7.34/lib/modules/SSL.pmod/sslfile.pike:492: SSL.sslfile(Fd(11))->create(Stdio.File("socket", "145.221.55.1:443", 777 / * fd=11 */),SSL.context(),1,1) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:213: Protocols.HTTP.Session()->SessionQuery()->connect("145.221.55.1",443,1) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:702: Protocols.HTTP.Session()->SessionQuery()->sync_request("145.221.55.1",443, "GET /internetbankieren/SesamLoginServlet?sessie=zakelijk HTTP/1.1",,,1) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:156: Request("https://mijn.postbank.nl/internetbankieren/SesamLoginServlet?sess ie=zakelijk" - connected - failed)->do_sync(({"mijn.postbank.nl",443,"GET /internetbankieren/SesamLoginServlet?sessie=zakelijk HTTP/1.1",mapping[3], UNDEFINED})) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:763: Protocols.HTTP.Session()->do_method_url("GET","https://mijn.postbank.nl/in ternetbankieren/SesamLoginServlet?sessie=zakelijk",UNDEFINED,UNDEFINED,UND EFINED) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:783: Protocols.HTTP.Session()->get_url("https://mijn.postbank.nl/internetbankie ren/SesamLoginServlet?sessie=zakelijk",UNDEFINED) /usr/local/pike/7.7.34/lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:828: Protocols.HTTP.Session()->get_url_nice("https://mijn.postbank.nl/internetb ankieren/SesamLoginServlet?sessie=zakelijk",UNDEFINED) pbapp:122: /main()->main(1,({"/tmp/pbapp"}))
That should be fixed now. There is no client_rsa if you're not using certificates.
On Thu, 15 Nov 2007, Stephen R. van den Berg wrote:
I discovered it "supported" https but didn't start the encryption. Checked in a fix that actually makes it work yesterday, however, after actually doing some encryption exchange with the other side (it seem to work fine so far), I encounter the error below.
It seems like the client_rsa member is nowhere to be initialised. Where was this supposed to take place?
Indexing the NULL value with "raw_sign". /usr/local/pike/7.7.34/lib/modules/SSL.pmod/Cipher.pmod:243: SSL.Cipher->rsa_sign(SSL.context(),"\1\0\0/\3\1G<v\231""3\r.\20\353>\351\3
On Thu, 15 Nov 2007, Stephen R. van den Berg wrote:
Fixed since?
H. William Welliver III wrote:
An hour or two ago, I'd guess. Your repository is out of date :)
You are my hero for the day :-). Thanks, works like a charm.
P.S. In case anyone from the Netherlands is listening, I'm creating a scriptable connection to the Dutch mijn.postbank.nl
pike-devel@lists.lysator.liu.se