2019-05-08 16:20:03 +00:00
< ? php
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// BOINC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
2019-05-10 19:36:18 +00:00
require_once ( '../inc/util_ops.inc' );
2019-05-08 16:20:03 +00:00
require_once ( " ../inc/account_ownership.inc " );
2019-05-10 19:36:18 +00:00
admin_page_head ( " Account Ownership Keys " );
2019-05-08 16:20:03 +00:00
if ( ! file_exists ( $account_ownership_private_key_file_path )) {
2019-05-30 13:28:55 +00:00
echo " <p>The account ownership private key ' " . $account_ownership_private_key_file_name . " ' <b>doesn't</b> exist. Please run the 'generate_account_ownership_keys.php' script from the command line in the BOINC web server ops directory.</p> " ;
2019-05-08 16:20:03 +00:00
} else {
2019-05-10 19:36:18 +00:00
echo " <p>The account ownership private key ' " . $account_ownership_private_key_file_name . " ' exists.</p> " ;
2019-05-08 16:20:03 +00:00
}
if ( ! file_exists ( $account_ownership_public_key_file_path )) {
2019-05-30 13:28:55 +00:00
echo " <p>The account ownership public key ' " . $account_ownership_public_key_file_name . " ' <b>doesn't</b> exist. Please run the 'generate_account_ownership_keys.php' script from the command line in the BOINC web server ops directory.</p> " ;
2019-05-08 16:20:03 +00:00
} else {
2019-05-10 19:36:18 +00:00
echo " <p>The account ownership public key ' " . $account_ownership_public_key_file_name . " ' exists.</p> " ;
2019-05-08 16:20:03 +00:00
}
2023-05-25 19:59:56 +00:00
echo " <p>For more info see the related wiki page: <a href= \" https://github.com/BOINC/boinc/wiki/ProofOfOwnership \" >ProofOfOwnership</a></p> " ;
2019-05-10 19:36:18 +00:00
admin_page_tail ();
2019-05-08 16:20:03 +00:00
?>