I am preparing a suite of data migration scripts from a legacy system to ErpNext.
There are values in the old system that must be encrypted in ErpNext. I want to avoid entering them manually via the user interface and instead write them directly into the
_Auth data table in MariaDb.
Unfortunately I can’t figure out what encryption is used.
My encryption key in
site_config.json looks something like this:
The encrypted result the ‘password’ attribute of the ‘_Auth’ table looks something like this :
Is the encryption done by Python or by MariaDb. What’s the command?