Skip to content

elabftw/secret-key-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secret-key-generator

Description

Standalone repository to generate a secret key suitable for the SECRET_KEY config of eLabFTW.

Note: it is recommended to use one of these two other approaches:

  1. curl "https://get.elabftw.net?key"
  2. docker run --rm -t --entrypoint '/bin/sh' elabftw/elabimg -c "php -d memory_limit=10M -d open_basedir='' bin/init tools:genkey"

Usage

git clone https://github.com/elabftw/secret-key-generator
cd secret-key-generator
composer install
php generate.php

Decrypt

php decrypt $KEY $CIPHERTEXT

About

Generate secret key for eLabFTW usage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages