Closed exwtsaikaimemes closed 2 months ago
I'm honestly not sure what to do here, you would prolly have to add a salt-less MessageDigest CryptoProvider
I'm honestly not sure what to do here, you would prolly have to add a salt-less MessageDigest CryptoProvider
Thanks for the quick reply, yeah, I have no idea how to do this but I'll search a bit. Have a good night!
Hello, I've been trying to write a migration module for this plugin NexAuth
Although, it seems they don't use salt? I've been digging through their code and can't find what they use for salt. (I am a a bit of a java newbie, I've been programming though for quite a while in Nodejs and Vue)
This is the module I wrote, I will also attach a pictures of the DB schema.
I had to transform the big int from the row set to timestamps since for some reason NexAuth stores it as a big int.
Everything is properly connected an I've created the readProvider in AuthenticLibreLogin to trigger in the config when using nexauth-mysql. So that triggers the migration normally.
PS: All uuids are in offline mode
Here's a cherry picked row with scrambled data. I've tampered with the password just to be safe. It really seems that they are not using any salt and I am kind of stuck on this migration.
"id","uuid","name","dateCreated","last_online","ip","password","encrypt","secretKey" 7,"429c64a2-1b92-373f-817f-645623177ce6",SampleExportUser,1712489040050,1714493991781,"0.0.0.0",d81221547bcabd23d50ba873720ba5ca820f7b5b782d08ff73a3a684ae46920a866294ad26d75e15807a9f5dafb1fc5c084020babe0be68388596e73ab8a17c6,SHA512,"{ ""question"": """", ""answer"": """" }"
The schema:
The error of my migration module: