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:
Kui59AV7LdZ7WHlscM8-FAKE-9l3sAv6yxBh7kh1RA3qE=
The encrypted result the ‘password’ attribute of the ‘_Auth’ table looks something like this :
gAAAAABeGxrTwncTxegBtBnCa4HVDMIEp3CFGpx80oWBnSxM2KIhRQS-fSa1Ofw0NeV9FbAJ0=
Is the encryption done by Python or by MariaDb. What’s the command?