Geoffrey Frogeye
931a6ae2b3
Well, here we are. New set of scripts that is meant to improve security of my machines by using an unique SSH key per host and not to carry them using .dotfile synchronisation. Might be even less secure than before if there are any flaw, that's why I kept this repository secret for now.
12 lines
433 B
Plaintext
12 lines
433 B
Plaintext
<?php
|
|
$DOMAIN = 'machines.frogeye.fr';
|
|
$TOTP = new TOTP(
|
|
'newcommer@machines.frogeye.fr', // The label (string)
|
|
'EUPJMTU6M7XPHG5P', // The secret encoded in base 32 (string)
|
|
10, // The period (int)
|
|
'sha512', // The digest algorithm (string)
|
|
8 // The number of digits (int)
|
|
);
|
|
$TOTP->setIssuer('Machines Frogeye');
|
|
?>
|