<?php
/**
* TOTP Encryption Configuration
*
* SECURITY WARNING: DO NOT COMMIT THIS FILE.
* Recommended permissions: 0400
*
* PREFERRED APPROACH: Store these values in your .env file instead:
* TOTP_ENC_KEY=XXXXXXXXXXXXXXXXXXXXXXXX
* TOTP_CRYPTO_ENGINE=sodium
*
* This file is designed to be used when an env file is not possible.
* If you have an env file, you should delete this file and load your
* constants from your .env file instead.
* We've automatically added this file to your .gitignore (if one exists).
*
* --------------------------------------------------------------------
* EXAMPLE: Loading constants from a .env file
* --------------------------------------------------------------------
* If you are using a library like 'vlucas/phpdotenv', you can load
* the constants in your application's bootstrap file like this:
*
* require_once '/path/to/vendor/autoload.php';
* $dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
* $dotenv->load();
*
* // Define constants from environment variables
* define('TOTP_ENC_KEY', $_ENV['TOTP_ENC_KEY']);
* define('TOTP_CRYPTO_ENGINE', $_ENV['TOTP_CRYPTO_ENGINE']);
*
* // Then delete the constants from this file
* --------------------------------------------------------------------
*
* Generated: [[regtime_]]
*/
const TOTP_ENC_KEY = '[[b64Key]]';
const TOTP_CRYPTO_ENGINE = '[[cryptoEngine]]';
// To migrate servers, you may define TOTP_FORCE_CRYPTO_ENGINE
// const TOTP_FORCE_CRYPTO_ENGINE = 'sodium'; // or 'openssl'| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| php82 | Folder | 0755 |
|
|
| _clone.php | File | 2.94 KB | 0644 |
|
| _edit.php | File | 3.47 KB | 0644 |
|
| _edit.xml | File | 447 B | 0644 |
|
| extend.php | File | 8.31 KB | 0644 |
|
| fileindex.php | File | 95 B | 0644 |
|
| gen_totp_key.php | File | 1.21 KB | 0644 |
|
| import.php | File | 3.03 KB | 0644 |
|
| info.xml | File | 2.4 KB | 0644 |
|
| init.php | File | 3.11 KB | 0644 |
|
| install.js | File | 921 B | 0644 |
|
| install.php | File | 5.63 KB | 0644 |
|
| install.xml | File | 1.98 KB | 0644 |
|
| md5 | File | 3.29 KB | 0644 |
|
| notes.txt | File | 1.13 KB | 0644 |
|
| totp_key.php | File | 1.47 KB | 0644 |
|
| totp_requirements.php | File | 2.33 KB | 0644 |
|
| update_pass.php | File | 517 B | 0644 |
|
| user_manager_columns.php | File | 6 KB | 0644 |
|
| userspice.sql | File | 53.55 KB | 0644 |
|
| userspice.zip | File | 5.87 MB | 0644 |
|