Skip to content
ph7tiPublic
forked from nuxsmin/sysPass

About

Systems Password Manager

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

sysPass — fork ph7ti (v4.0.0)

This repository is a fork of sysPass, maintained at https://github.com/ph7ti/sysPass. It is based on upstream sysPass 3.2.11 and is distributed under the same GNU GPLv3 license (see COPYING).

Important: version 4.0 requires PHP 8.2. PHP 7.4 is no longer supported.


What's new in 4.0.0

The most important and user-observable changes in this release:

  • PHP 8.2 runtime. The application and all main dependencies were updated to a supported runtime. This is a breaking change for environments still running PHP 7.4.
  • Absolute session timeout. Sessions now expire after a maximum of 8 hours (configurable in Settings → General), even while the user remains active. The existing inactivity timeout (300 seconds by default) is unchanged.
  • Complete logout. Logout now destroys the session on the server and expires the session and auxiliary cookies. A cookie captured before logout can no longer be reused.
  • Hardened session cookies. Cookies are sent with HttpOnly and SameSite=Lax, and with Secure when the application is accessed over HTTPS.
  • Stronger form encryption. The RSA key used to protect passwords sent by forms was raised from 1024 to 2048 bits. The key pair is regenerated automatically on first start when an old 1024-bit key is found.
  • Structured logs. File logs are now written as one JSON object per line, which makes them easier to collect and search.
  • Container and CI assets. A multi-stage php:8.2-fpm + Nginx image with a non-root user and healthcheck is available in build/, together with a sample docker-compose.yml and a GitHub Actions workflow.
  • Automated test baseline. The PHPUnit suite was upgraded and is green on PHP 8.2 (1,468 tests in the core suite).

Foundations included (not yet user-facing)

The release also adds internal building blocks for the next features: a cancellable pre-authentication event (login.before, to support SSO and MFA without opening the vault too early), feature flags, and a migration planning/rollback harness.

Not included in this release

SSO/OIDC, core MFA/TOTP, multiple groups per user, versioned credential history, backup scheduling, and API service accounts are planned but not available yet.


Upgrade notes from 3.2.x

  1. Back up the database and the application configuration before upgrading.
  2. Make sure the host/container meets the new requirements: PHP 8.2 with the extensions listed in composer.json, and MySQL/MariaDB.
  3. The RSA key pair is regenerated automatically when it is still 1024 bits. This only affects passwords being submitted by a form at that moment; stored account data is not affected.
  4. Existing sessions are invalidated after the upgrade; users will need to log in again.
  5. The new sessionTimeoutAbsolute setting defaults to 28800 seconds (8 hours). Set it to 0 in the configuration to disable the absolute limit temporarily.

Running with containers

docker build -f build/Dockerfile -t syspass:4.0.0 .
# or, with the sample database service:
cd build && docker compose up --build

The application listens on port 8080. The image includes a healthcheck at /health.

Tests

composer install
vendor/bin/phpunit -c tests/phpunit.xml --testsuite Core

The Modules suite requires a running sysPass instance configured for API tests.


Original sysPass features

PHP web based Password Manager for business and personal use.

  • AES-256 encryption in CTR mode
  • RSA for sending passwords from forms
  • Two-factor authentication support through compatible plugins
  • HTML5 and Ajax interface
  • Users, groups and profiles management with up to 29 access levels
  • MySQL, OpenLDAP and Active Directory authentication
  • Tags, custom fields, public links, private accounts, favorites, history, etc.
  • Activity notifications by email and in-app, and event log
  • Multilanguage
  • JSON-RPC API

Installation instructions and documentation: https://doc.syspass.org


This software is published under the GNU GPLv3 license. For details, see the COPYING file.


Upstream project:

This fork:

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]


Though it would be preferable to ask or report issues through GitHub's website, you can reach the upstream author by email (e.g. CVEs, contribution): nuxsmin[a_t]syspass[d_o_t]org

About

Systems Password Manager

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages