These are my setup notes for SimpleID on my Uberspace.
I'm still using simpleid v1.0.2, as there doesn't seem to exist a stable v2.0 release.
SimpleID 1.x Docs for reference.
Download release 1.0.2 to ~/simpleid/
.
wget http://downloads.sourceforge.net/simpleid/simpleid-1.0.2.tar.gz
tar -xvzf simpleid-1.0.2.tar.gz
Move ~/simpleid/www
to your desired public docroot, i.e. ~/www/html/id
, and
link from its previous destination.
mv ~/simpleid/www ~/www/html/id
ln -s ~/www/html/id ~/simpleid/www
cd ~/simpleid/www
mv config.php.dist config.php
mv .htaccess.dist .htaccess
Edit config.php
:
// base url
define('SIMPLEID_BASE_URL', 'https://simbo.libra.uberspace.de/id');
// clean urls (needs mod_rewrite/htaccess)
define('SIMPLEID_CLEAN_URL', true);
// paths
define('SIMPLEID_IDENTITIES_DIR', '/home/simbo/simpleid/identities');
define('SIMPLEID_CACHE_DIR', '/home/simbo/simpleid/cache');
define('SIMPLEID_STORE_DIR', '/home/simbo/simpleid/store');
// logfile
define('SIMPLEID_LOGFILE', '/home/simbo/simpleid/simpleid.log');
Edit .htaccess
:
# set respective rewrite base
RewriteBase /id
# not necessary on uberspace and leading to error
#php_value register_globals 0
cd ~/simpleid/identities
# copy from example
cp example.identity.dist simbo.identity
Set identity url:
; identifier url
identity="https://simbo.libra.uberspace.de/id/simbo"
When generating your hash, concatenate password and salt using a colon:
sha1("password:salt")
Set the value in the identity file using the following format:
; hashed password using sha1
pass="hash:sha1:salt"
After logging in, enable Login Verification using i.e. authy.