mirror of https://github.com/BOINC/boinc.git
42 lines
1.9 KiB
PHP
42 lines
1.9 KiB
PHP
<?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/>.
|
|
|
|
require_once('../inc/util_ops.inc');
|
|
require_once("../inc/account_ownership.inc");
|
|
|
|
admin_page_head("Account Ownership Keys");
|
|
|
|
if (!file_exists($account_ownership_private_key_file_path)) {
|
|
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>";
|
|
} else {
|
|
echo "<p>The account ownership private key '" . $account_ownership_private_key_file_name . "' exists.</p>";
|
|
}
|
|
|
|
if (!file_exists($account_ownership_public_key_file_path)) {
|
|
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>";
|
|
} else {
|
|
echo "<p>The account ownership public key '" . $account_ownership_public_key_file_name . "' exists.</p>";
|
|
}
|
|
|
|
echo "<p>For more info see the related wiki page: <a href=\"https://github.com/BOINC/boinc/wiki/ProofOfOwnership\">ProofOfOwnership</a></p>";
|
|
|
|
admin_page_tail();
|
|
|
|
?>
|