';
_g('Warning !', null, 'h4');
_g('This file is obsolete, please download the latest version.', 'href="../" class="alert-link"', 'p');
echo '
';
}
echo
sprintf(_r('Your download of %s should start within a few seconds'), '
' . ($torrent ? ' (torrent)' : '')),
' ', sprintf(_r('(download size is about %s).'), $product_size[1]),
' ', sprintf(_r('If the download does not start,
.'), $download, $download),
sprintf( '%s', ($product['magnet'] && $torrent ? ' |
array('md5sum', _r('md5 hash of the contents of the iso image')),
'sha1' => array('sha1sum', _r('sha1 512 bit hash')),
'sha512'=> array('sha512sum', _r('sha2 512 bit hash')),
'sha3' => array('sha3-512sum', _r('sha3 512 bit hash'))
);
$sum_links = array();
$chksm_cmd = '';
$chksm_cmd_2 = '';
$sig_links = array();
foreach (array_keys($checksum_specifics) as $checksum) {
if (isset($product[$checksum])) {
$each_checksum = "
" . basename($download) . '.' . $checksum . ' (' . $checksum_specifics[$checksum][1] . ')';
$sum_links[] = $each_checksum;
$chksm_cmd_pre_text = "$ # " . _r('You need both iso and checksum file in the same folder') . "\n";
$chksm_cmd .= "$ " . $checksum_specifics[$checksum][0] . ' -c ' . basename($download) . '.' . $checksum;
$chksm_cmd .= "\n
" . basename($download) . ": " . _r("OK") . " \n" . PHP_EOL;
$chksm_cmd_mid_text = "$ # " . _r('You can also compare checksum directly from this web page without checksum file') . "\n";
$chksm_cmd_2 .= "$ " . $checksum_specifics[$checksum][0] . ' ' . basename($download);
$chksm_cmd_2 .= "\n
" . $product[$checksum] . ' ' . basename($download) . " \n" . PHP_EOL;
if (isset($product["$checksum.gpg"])) {
$sig_links[] = "
" . basename($download) . ".$checksum.gpg";
}
}
}
?>
0 && !$torrent) {
_g('As soon as your download is complete, you should check that the checksums match:', null, 'p');
$checksum_links = array_to_list($sum_links, ' ' . _r('and', ' '), _r(',', ' '));
_g('Checksums are available for download as files:', null, ' ');
echo "$checksum_links.";
echo PHP_EOL . '
' . PHP_EOL;
echo '
' . PHP_EOL;
echo $chksm_cmd_pre_text . $chksm_cmd . $chksm_cmd_mid_text . $chksm_cmd_2;
echo '
' . PHP_EOL . '
';
_g('If checksums do not match, DO NOT use this ISO. Double-check and try to download again.', null, ' ');
$signature_links = array_to_list($sig_links, ' ' . _r('and', ' '), _r(',', ' '));
?>
0) { // only output if there are any signatures files present ?>
PGP Public Key Server:'), 'https://keyserver.ubuntu.com/'); ?>
$ gpg --keyserver keyserver.ubuntu.com --recv-keys EDCA7A90
gpg: key EDCA7A90: public key "Mageia Release <release@mageia.org>" imported
gpg: key EDCA7A90: "Mageia Release <release@mageia.org>" not changed
$ gpg --verify
gpg: Good signature from "Mageia Release <release@mageia.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: B210 76A0 CBE4 D93D 66A9 D08D 835E 41F4 EDCA 7A90