core-jgi/org.adempiere.install
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
..
.settings IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
Adempiere IDEMPIERE-166 Rebranding of logo and product name 2014-04-02 22:19:47 -05:00
META-INF IDEMPIERE-4618 Obfuscate ADEMPIERE_KEYSTOREPASS as suggested by jetty (#494) 2020-12-31 10:04:39 +08:00
schema
src/org IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#498) 2021-01-03 22:19:49 +08:00
.classpath IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with … (#486) 2020-12-27 15:07:36 +01:00
.myumldata
.project IDEMPIERE-3531:add maven tycho configuration 2018-02-10 16:42:06 +07:00
build.properties IDEMPIERE-3531:some plugin don't include class on output maven when export 2018-02-11 00:37:05 +07:00
build.xml Idempiere-4492 update library (eclipse-4.17, jasper 6-15, jetty-9.4.33, atmosphere-2.6.4) (#331) 2020-10-31 06:53:36 +08:00
install.app.launch IDEMPIERE-4618 Obfuscate ADEMPIERE_KEYSTOREPASS as suggested by jetty (#494) 2020-12-31 10:04:39 +08:00
install.console.app.launch IDEMPIERE-4618 Obfuscate ADEMPIERE_KEYSTOREPASS as suggested by jetty (#494) 2020-12-31 10:04:39 +08:00
install.silent.app.launch IDEMPIERE-4620 Improvements for Setup programs (#493) 2021-01-03 20:06:34 +08:00
plugin.xml IDEMPIERE-4620 Improvements for Setup programs (#493) 2021-01-03 20:06:34 +08:00
pom.xml IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with Bouncy Castle (#488) 2020-12-28 10:33:04 +01:00