Commit Graph

8 Commits

Author SHA1 Message Date
Carlos Ruiz 3f29970844
IDEMPIERE-4620 Improvements for Setup programs (#514)
Allow passing the log parameter from command line in setup programs
2021-01-06 20:07:05 +01:00
Carlos Ruiz 47aee6fb02
IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#498)
* backward compatible with the previous idempiere.properties and idempiereEnv.properties version
* when the setup/console-setup is executed again the secret keys are stored obfuscated in a different file .idpass
  * Secret keys are ADEMPIERE_DB_PASSWORD, ADEMPIERE_DB_SYSTEM, ADEMPIERE_MAIL_PASSWORD
  * to add more is just adding keys to array ConfigurationData.secretVars
* the previous (unobfuscated) approach is still preserved passing -DIDEMPIERE_SECURE_PROPERTIES=false to the JVM in setup and server
* the approach just run on Linux - as is implemented using shell script, windows is out of the initial scope, but could be possible to implement .bat files to do similar
* the default approach is to use getVar.sh and setVar.sh that writes in .idpass obfuscated
  * is possible to extend and use custom secret managers implementing customSetVar.sh and customGetVar.sh
  * samples for amazon AWS secretsmanager are included
* avoid the email sent on setup sending the secret keys
* enclose all variables in myEnvironment.sh within quotes (this avoids problems with variables containing spaces)
* add coreutils as required for debian installer (as we use base64 now to obfuscate passwords)
* swing client is not affected as it saves the idempiere.properties encrypted in user home folder
2021-01-03 22:19:49 +08:00
Carlos Ruiz 970936d08c
IDEMPIERE-4441 FreeBSD find utility requires a target directory in postgresql/SyncDB.sh (#245)
Verify all scripts with shellcheck
https://www.shellcheck.net/
2020-09-08 19:37:00 +02:00
Heng Sin Low 0b2fbe27ae IDEMPIERE-2245 Platform Upgrade for r3. 2014-10-13 11:05:19 +08:00
Heng Sin Low 668e61686f IDEMPIERE-166 Rebranding of logo and product name 2012-06-06 22:13:34 +08:00
Heng Sin Low c0bb5858c4 IDEMPIERE-114 Server installer broken. Fixed webstore servlet not loading. Improve consistency across all the setup shell script file.
(transplanted from 164ccb36b41f7f33f6d81b87f914c23cb10df409)
2012-02-02 11:49:17 +08:00
Heng Sin Low c2955c03ac Fixed platform specific build to include only script file that is relevant for that particular platform. Fixed folder layout and script for setup. 2010-11-04 18:05:01 +08:00
Heng Sin Low 153cc5df3c Server build and installation using buckminster. Added script for adempiere server startup and setup ( gui and console mode ). 2010-11-04 03:46:38 +08:00