This repository has been archived on 2023-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
machines-serv/config.inc.php.example
Geoffrey Frogeye 931a6ae2b3 Initial commit
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.
2016-12-10 18:02:14 +01:00

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');
?>