servnest/pg-view/ns/sshfp.php

32 lines
919 B
PHP
Raw Normal View History

2023-07-17 19:15:18 +00:00
<?php declare(strict_types=1); ?>
2021-05-16 23:19:59 +00:00
<form method="post">
<?php require ROOT_PATH . '/pg-view/ns/form.ns.php'; ?>
2022-04-18 14:05:00 +00:00
<label for="algo"><?= _('Algorithm') ?></label>
2022-04-18 14:05:00 +00:00
<br>
<select required="" name="algo" id="algo">
<option value="1">1 (RSA)</option>
<option value="2" disabled="">2 (DSA)</option>
<option value="3">3 (ECDSA)</option>
<option value="4" selected="">4 (ED25519)</option>
</select>
<br>
<label for="type"><?= _('Hash type') ?></label>
2022-04-18 14:05:00 +00:00
<br>
<select required="" name="type" id="type">
<option value="1" disabled="">1 (SHA-1)</option>
<option value="2" selected="">2 (SHA-256)</option>
</select>
2022-04-18 14:05:00 +00:00
<br>
<label for="fp"><?= _('Fingerprint') ?></label>
2022-04-18 14:05:00 +00:00
<br>
<input required="" id="fp" size="65" minlenght="64" maxlength="64" placeholder="26e6bbb4796c4fb78632e737d31a8acaba43c3a92d9c047031f04e9b70826e1d" name="fp" type="text">
<br>
<input type="submit" value="<?= _('Apply') ?>">
2021-05-16 23:19:59 +00:00
</form>