Input encrypted password manually

Question

Is it possible to manually input an encrypted password into "TimelinePI.xml" file?

What type of encryption should be used?

Answer

You can put the encrypted password using the steps below:

  1. Stop Timeline service (Administrator terminal, sc stop timelinepi)
  2. Open TimelinePi.xml file
  3. Change the MAIL_SERVER_PASSWORD with the base64 encrypted password
  4. Change IS_MAIL_SERVER_PASSWORD_ENCRYPTED to "true"
  5. Save TimelinePi.xml file
  6. Restart the Timeline service (Administrator terminal, sc start timelinepi)

As an example, there are 2 possible ways to encrypt a password:

1. If you have nodejs installed:
Run the following command in a terminal (nodejs has to be in the PATH):

node -e "console.log(Buffer.from('MyPasswordToBeStored').toString('base64'))"


2. You can also use browser developer tools (in Google Chrome opened by F12):

Run the following line in the console

btoa('MyPasswordToBeStored')

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.