Can QML files be obfuscated before bundling it in a sis file
Page |
1 |
I noticed that on opening a sis file you can get the qml files as its is. Can it be obfuscated? or is there any plans for that in future.
28 replies
I guess it’d be the same as distributing any non binary. Use your C++ wrapper to decode the qmls. Before you load the main source.Use a somewhat safe algorithm, though. And rename the file extensions.
Yes that option is always open. But if built in to Qt Creator everyone will benefit from it.
But then it is also easier to break.
I wiull never forget the Astraware Superpatcher for Palm.- If every developer rolls his own scheme, well, not all of them will get hit. There is security in numbers here
I guess it’d be the same as distributing any non binary. Use your C++ wrapper to decode the qmls. Before you load the main source.Use a somewhat safe algorithm, though. And rename the file extensions.
Yes that option is always open. But if built in to Qt Creator everyone will benefit from it.
But then it is also easier to break.
I wiull never forget the Astraware Superpatcher for Palm.- If every developer rolls his own scheme, well, not all of them will get hit. There is security in numbers here
What if you can generate a binary out of qml files instead of just obfuscating it?
As a quick solution just pack them as resource and apply some crypto on it. At loading simply uncrypto it and load as resource. Or as quickest solution simply use as internal resources (inside binary).
Even I had thought of that but in that case I thought there might be a resource decompiler already present. But then this should work good as a quick solution. thank you.
If it doesn’t already exist, it will soon. Where there’s a will, there is a way. Unfortunately it seems you’re stuck in a game of cat and mouse. However, if you make it too difficult, the cat may not bother to chase.
Don’t challenge me.
It would seriously be a cool project . Qt Resource Decompiler.
The only issue I see is that every compiler aligns his C arrays differently into the binary. So such a decompiler would always be limited to one or two configurations at a time.
You must log in to post a reply. Not a member yet? Register here!





