Changes between Version 2 and Version 3 of GuiRpcProtocol


Ignore:
Timestamp:
Mar 31, 2008, 10:46:31 AM (16 years ago)
Author:
Nicolas
Comment:

XML syntax highlighting

Legend:

Unmodified
Added
Removed
Modified
  • GuiRpcProtocol

    v2 v3  
    1212Authentication on the RPC protocol is based on a challenge-response system. To initiate the authentication process, send an <code><auth1/></code> command:
    1313{{{
     14#!xml
    1415<boinc_gui_rpc_request>
    1516    <auth1/>
     
    1920The response will be the authentication challenge:
    2021{{{
     22#!xml
    2123<boinc_gui_rpc_reply>
    2224    <nonce>1198959933.057125</nonce>
     
    2628The value of `nonce` is to be used as a salt with the password. It is randomly generated for each request. To calculate the response, concatenate the nonce and the password (nonce first), then calculate the MD5 hash of the result, i.e: {{{md5(nonce+password)}}}. Finally, send an `<auth2>` request with the calculated hash, in hexadecimal format.
    2729{{{
     30#!xml
    2831<boinc_gui_rpc_request>
    2932    <auth2>