Skip to content

Releases: yahesh/shared-secrets

improve mobile usability

18 Aug 09:47
Compare
Choose a tag to compare

Changelog

  • improve mobile usability
  • disable error logs in NGINX config

Migration

New repository structure

The application files are now located in the ./html/ folder.

During a manual setup you only need to deploy the contents of that folder.

Alternatively, you can set that folder as the root directory of your webserver's virtual host.

New execution flag

In case you still have

  if (!defined("SYS11_SECRETS")) { die(""); }

in your configuration file then please change this to

  if (!defined("SHARED_SECRETS")) { die(""); }

The constant SYS11_SECRETS is deprecated and will be removed in the future.

New configuration function

In case you still define the configuration values in your configuration file with

  define(...);

then please change this to

 config(...);

which is needed to support the configuration via environment variables.

IMPRINT_TEXT

You cannot set the IMPRINT_TEXT configuration value to null anymore. Please set a value like

  config("IMPRINT_TEXT", "Who provides this service?");

Alternatively, you can comment out the configuration value to use the default value.

SECRET_SHARING_URL

The SECRET_SHARING_URL configuration value has been renamed to SERVICE_URL. Please set a value like

  config("SERVICE_URL", "http://127.0.0.1/");

The SECRET_SHARING_URL configuration value is deprecated and will be removed in the future.

improve environment variable handling

17 Aug 12:10
Compare
Choose a tag to compare

Changelog

  • fix non-greedyness of RegExes
  • rewrite environment variable handling
  • introduce placeholder support for configuration
  • drop require-sri-for from Content-Security-Policy

Migration

New repository structure

The application files are now located in the ./html/ folder.

During a manual setup you only need to deploy the contents of that folder.

Alternatively, you can set that folder as the root directory of your webserver's virtual host.

New execution flag

In case you still have

  if (!defined("SYS11_SECRETS")) { die(""); }

in your configuration file then please change this to

  if (!defined("SHARED_SECRETS")) { die(""); }

The constant SYS11_SECRETS is deprecated and will be removed in the future.

New configuration function

In case you still define the configuration values in your configuration file with

  define(...);

then please change this to

 config(...);

which is needed to support the configuration via environment variables.

IMPRINT_TEXT

You cannot set the IMPRINT_TEXT configuration value to null anymore. Please set a value like

  config("IMPRINT_TEXT", "Who provides this service?");

Alternatively, you can comment out the configuration value to use the default value.

SECRET_SHARING_URL

The SECRET_SHARING_URL configuration value has been renamed to SERVICE_URL. Please set a value like

  config("SERVICE_URL", "http://127.0.0.1/");

The SECRET_SHARING_URL configuration value is deprecated and will be removed in the future.

overhauled the whole codebase

17 Aug 00:00
Compare
Choose a tag to compare

Changelog

  • reorganized the whole sourcecode
  • rewrote the configuration handling
  • containerized the application
  • cleaned up PEM-formatted key handling
  • migrated from Bootstrap 3 to Bootstrap 5
  • introduced SQLite support as the default
  • introduced copy-to-clipboard buttons
  • fixed usability bugs in JavaScript
  • fixed URI handling for duplicate slashes
  • improved styling
  • replaced unnecessary hex2bin() calls
  • updated the shell examples on the how page
  • updated shell examples in ENCRYPTION.md
  • updated README.md to reflect the changes

Migration

New repository structure

The application files are now located in the ./html/ folder.

During a manual setup you only need to deploy the contents of that folder.

Alternatively, you can set that folder as the root directory of your webserver's virtual host.

New execution flag

In case you still have

  if (!defined("SYS11_SECRETS")) { die(""); }

in your configuration file then please change this to

  if (!defined("SHARED_SECRETS")) { die(""); }

The constant SYS11_SECRETS is deprecated and will be removed in the future.

New configuration function

In case you still define the configuration values in your configuration file with

  define(...);

then please change this to

 config(...);

which is needed to support the configuration via environment variables.

IMPRINT_TEXT

You cannot set the IMPRINT_TEXT configuration value to null anymore. Please set a value like

  config("IMPRINT_TEXT", "Who provides this service?");

Alternatively, you can comment out the configuration value to use the default value.

SECRET_SHARING_URL

The SECRET_SHARING_URL configuration value has been renamed to SERVICE_URL. Please set a value like

  config("SERVICE_URL", "http://127.0.0.1/");

The SECRET_SHARING_URL configuration value is deprecated and will be removed in the future.