![]() Sudo chown -R root:Remove permissions on sensitive data for everyone elseĬhmod o-rwx /opt/keepass4web/config*.yml /var/log/keepass4web/ The directory the app lives in has to be readable by the user running the web server, e.g. Running this app on a web server with mod_perl2 or fcgi is recommended but running as standalone app is possible as well (with Dancer2's capabilities).Ĭreate the log directory (as defined in config_local.yml) Settings in config_local.yml override those in config.ymlĬhange session_cookie_key to a long and random value if using Cookie in session, e.g. with-feature Dropbox -with-feature LDAP -with-recommendsĬopy or rename config.yml to config_local.ymlĭo changes in config_local.yml. with-all-features -with-recommends -with-suggestsĪlternatively, install dependencies with selected backends onlyĬpanm -sudo -installdeps. Install dependencies with all backends, the recommended modules (for performance) and the suggested session engine ( Cookie)Ĭpanm -sudo -installdeps. Install distro packages, if you haven't already Output will be a file, which includes all files required to run the app but without the development/build filesįollow BUILDING first, then run the perl make file The minified, bundled file will be written to public/scripts/bundle.jsĬp node_modules/bootstrap/fonts/* public/fonts/ Optionally rename it to keepass4web (for consistency with this README)įollow MODULE INSTALLATION, CONFIGURATION, DEPLOYMENT in that orderįollow BUILDING, MODULE INSTALLATION, CONFIGURATION, DEPLOYMENT in that order Make changes to /etc/keepass4web/config_local.yml Sudo apt-get install build-essential libkeyutils-dev libkeyutils1 libmagic1 libmagic-dev libapache2-mod-perl2 cpanminus Install dependencies (also for module installation further below) Make config changes to /etc/keepass4web/config_local.yml Sudo apt-get install apache2 libapache2-mod-perl2 libnet-ldap-perl libdancer2-session-cookie-perl keepass4web Sudo add-apt-repository ppa:lixmal/keepass4web To build the JavaScript part you will also need npm (version 3+ recommended, else your node_modules directory will explode!) and therefore Node.js INSTALLĬhoose one of the following installation methods (from easiest to most difficult):Īdd the repository, update and install the package (and packages for default backends) Authen::Htpasswd (md5, sha1, crypt, plain). ![]() Dancer2::Session::Cookie (default session engine, Cookie in config).libapache2-mod-perl2 (if running mod_perl2 with apache2).The instructions assume a Linux environment.īelow is a list of required packages and modules to run the application.įor installation follow INSTALL. This will probably only run under some flavour of Linux. Web interface offers entry search and access to files stored inside the database.Server revokes encryption keys after a configurable user idle time, effectively removing access to the cached database.This way other passwords don't stay in memory in plain text and don't leave the server The web server only decrypts requested information. Passwords, protected fields and files are encrypted separately (also the ones in history).Encryption key is stored in the kernel keyring and therefore doesn't swap to disk.Caches encrypted databases in shared memory (so it works with multiple web server workers).Doesn't save master password, uses a new and unique encryption key to cache the database.Either all users get access to the same database or each user gets access to his/her own.Server can fetch databases from various locations (Filesystem, Seafile, Dropbox.Users need to authenticate with one of the auth backends (LDAP, Htpasswd, SQL.Refer to Dancer2::Manual::Deployment for more options.Ī mobile-friendly web application which serves KeePass database entries on a web frontend. Running apache2 using mod_perl2/Plack with TLS:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |