79 | | == Client functionality == |
80 | | |
81 | | The BOINC client uses the following files to keep track of account manager information. |
82 | | |
83 | | |
84 | | acct_mgr_url.xml |
85 | | This file identifies the account manager. |
86 | | It is typically bundled with the BOINC client in an installer package. |
87 | | Its format is: |
88 | | {{{ |
89 | | <acct_mgr> |
90 | | <name>Name of BOINC account management system</name> |
91 | | <url>http://acctmgr.com/</url> |
92 | | [ <send_gui_rpc_info/> ] |
93 | | <signing_key> |
94 | | 1024 |
95 | | ae843acebd4c7250b0fa575d14971b17a56a386a6bb1733d98f4b00460c26159 |
96 | | c8b3217e6cdff938ec0454330c70553fbe3d1f0d0184d8c628db2e093121ee98 |
97 | | 8ddbda6e8991879317afccab41f84e9de4903a656f4d3f3e4e7dbc0af9362a05 |
98 | | 6ece5ff401a380f3a1d1254d477f7bc84fdcebcca6cb035e776452d3d6d21471 |
99 | | 0000000000000000000000000000000000000000000000000000000000000000 |
100 | | 0000000000000000000000000000000000000000000000000000000000000000 |
101 | | 0000000000000000000000000000000000000000000000000000000000000000 |
102 | | 0000000000000000000000000000000000000000000000000000000000010001 |
103 | | . |
104 | | </signing_key> |
105 | | </acct_mgr> |
106 | | }}} |
107 | | The URL is that of the account manager's web site. |
108 | | |
109 | | If the <send_gui_rpc_info/> tag is present, |
110 | | account manager RPCs will include the client's GUI RPC port and password hash (see below). |
111 | | acct_mgr_login.xml |
112 | | This file contains meta-account information. Its format is: |
113 | | {{{ |
114 | | <acct_mgr_login> |
115 | | <login>name</login> |
116 | | <password_hash>xxx</password_hash> |
117 | | </acct_mgr_login> |
118 | | }}} |
119 | | The password is stored as MD5(password_lowercase(login)). |
120 | | |
121 | | If the client finds acct_mgr_url.xml but not acct_mgr_login.xml, |
122 | | it prompts for a name and password, stores them in acct_mgr_login.xml, and makes an account manager RPC. |
123 | | The client offers menu items for making an account manager RPC, and for changing the name/password. |
| 79 | |
| 303 | == Client configuration files == |
| 304 | |
| 305 | The BOINC client uses the following files to keep track of account manager information. |
| 306 | These files can be included with installer packages if desired. |
| 307 | |
| 308 | '''acct_mgr_url.xml''': |
| 309 | This file identifies the account manager. |
| 310 | It is typically included in an installer package. |
| 311 | Its format is: |
| 312 | {{{ |
| 313 | <acct_mgr> |
| 314 | <name>Name of BOINC account management system</name> |
| 315 | <url>http://acctmgr.com/</url> |
| 316 | [ <send_gui_rpc_info/> ] |
| 317 | <signing_key> |
| 318 | 1024 |
| 319 | ae843acebd4c7250b0fa575d14971b17a56a386a6bb1733d98f4b00460c26159 |
| 320 | c8b3217e6cdff938ec0454330c70553fbe3d1f0d0184d8c628db2e093121ee98 |
| 321 | 8ddbda6e8991879317afccab41f84e9de4903a656f4d3f3e4e7dbc0af9362a05 |
| 322 | 6ece5ff401a380f3a1d1254d477f7bc84fdcebcca6cb035e776452d3d6d21471 |
| 323 | 0000000000000000000000000000000000000000000000000000000000000000 |
| 324 | 0000000000000000000000000000000000000000000000000000000000000000 |
| 325 | 0000000000000000000000000000000000000000000000000000000000000000 |
| 326 | 0000000000000000000000000000000000000000000000000000000000010001 |
| 327 | . |
| 328 | </signing_key> |
| 329 | </acct_mgr> |
| 330 | }}} |
| 331 | The URL is that of the account manager's web site. |
| 332 | |
| 333 | If the <send_gui_rpc_info/> tag is present, |
| 334 | account manager RPCs will include the client's GUI RPC port and password hash (see below). |
| 335 | |
| 336 | '''acct_mgr_login.xml''': |
| 337 | This file contains meta-account information. Its format is: |
| 338 | {{{ |
| 339 | <acct_mgr_login> |
| 340 | <login>name</login> |
| 341 | <password_hash>xxx</password_hash> |
| 342 | </acct_mgr_login> |
| 343 | }}} |
| 344 | The password is stored as MD5(password_lowercase(login)). |
| 345 | |
| 346 | If the client finds acct_mgr_url.xml but not acct_mgr_login.xml, |
| 347 | it prompts for a name and password, stores them in acct_mgr_login.xml, and makes an account manager RPC. |
| 348 | The client offers menu items for making an account manager RPC, and for changing the name/password. |