Feature #7516

Create encryption hash if none was defined

Added by Robert Lemke over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Security
Start date:
2010-06-23
Due date:
% Done:

100%

Estimated time:
2.00 h
PHP Version:
Has patch:
Complexity:

Description

Currently you'll get an exception if you didn't define an encryption hash:

#1258991855: You must configure an encryption key for the HashService

Most people won't see this message though because there's a default encryption key defined in the Base distibution. A bad idea, because many people will just leave it like it is.

Therefore we should:

  • not provide a default encryption key
  • let the HashService generate a random key if none exists and save it into the global Settings.yaml file

Also available in: Atom PDF