Bug #378
opensecurity.dll
100%
Description
On MS Windows 7, the dll is correctly loaded and it works :
Log File of Scol Virtual Machine Version: 5.4.10 -------------------------------- (...) ################################################################ [INFOS] Loading plugins/security.dll plugin. [INFOS] plugins/security.dll plugin successfully loaded. ################################################################
On Wine 1.2.2, the same dll is not loaded, the entry point is not found :
Log File of Scol Virtual Machine Version: 5.4.10 -------------------------------- (...) ################################################################ [INFOS] Loading plugins/security.dll plugin. [ERROR] An error occurs while loading plugins/security.dll plugin, the symbol entry point "ScolLoadPlugin" was not found! ################################################################
Others standard dlls are correctly loaded.
This bug prevents the use of the Openspace3d (editor and player) because the API is not available :
>>>>> Compilation error : File : C:\Program Files\Scol Voyager\Partition_LockedApp\tools\os3dlib\netcomlib.pkg (!) Line #424: let if (flag & iComFlagAES) then ??_AESencryptMessage data netstr.NC_aesServerKey else strtoweb data -> data in link error '_AESencryptMessage' unknown
Files
Updated by iri over 12 years ago
In fact, the usm.ini file is different between these two versions (because, under Wine, it is a new installation, but under seven, it was an updated version (by the updating interface) ... The update doesn't change the plugin lines if it already exists !)
An updated Scol version kept the old syntax :
plugin plugins/security.dll SCOLloadSECURITY SCOLFreeSECURITY
A new Scol installation has the new syntax :
plugin plugins/security.dll
A new Scol waits ScolLoadPlugin / ScolUnloadPlugin to load / free the library but the security library has SCOLloadSECURITY / SCOLFreeSECURITY yet in its source code.
I think you should recompile security after this change :
SCOLloadSECURITY replaced by ScolLoadPlugin
SCOLFreeSECURITY replaced by ScolUnloadPlugin
I try it, but your library doesn't compile on gcc (mingw) nor on vc++2010 express (i ignore some parameters and some headers miss me) :/
Updated by arkeon over 12 years ago
- Status changed from New to Feedback
- Assignee set to arkeon
- % Done changed from 0 to 100
should be ok now
Updated by arkeon over 12 years ago
- Target version changed from SCOL voyager 6.0.117a to SCOL voyager 6.0.3
Updated by Anonymous about 12 years ago
Apparently, it crashes on algorithms initials tests, in file "scol/plugins/security/cryptopp/fiptest.cpp", line 430:
// algorithm tests X917RNG_KnownAnswerTest<AES>( "2b7e151628aed2a6abf7158809cf4f3c", // key "000102030405060708090a0b0c0d0e0f", // seed "00000000000000000000000000000001", // time vector "D176EDD27493B0395F4D10546232B0693DC7061C03C3A554F09CECF6F6B46D945A"); // output
I did not checked the content of "X917RNG_KnownAnswerTest<AES>()" function yet, but it seems to be a good candidate concerning the bug you are facing.
Maybe you could try to comment this part, and re-compile cryptopp, and give us feedback about this modified version.
Updated by arkeon almost 12 years ago
- Target version changed from SCOL voyager 6.0.3 to SCOL voyager 6.0.4
Updated by Anonymous almost 12 years ago
Could you use this tool (dependency walker, http://www.dependencywalker.com/) on the dll, from Wine, and post me a screenshot of the exposed dll functions?
I think that security.dll >maybe< links to a MsWindows dll that shall not be fully implemented in Wine...
Updated by arkeon over 11 years ago
- Target version changed from SCOL voyager 6.0.4 to SCOL voyager 6.0.5
Updated by arkeon over 10 years ago
- Target version changed from SCOL voyager 6.0.5 to SCOL voyager 6.5.0
Updated by arkeon about 6 years ago
Can you give it a try with the last OS3D release ?
I removed some checks that could resolve the issue.
Updated by iri about 6 years ago
arkeon wrote:
Can you give it a try with the last OS3D release ?
I removed some checks that could resolve the issue.
With the last Scol release and WINE 3.0.2 (last stable release at this time), the security dll is not yet loaded :
[INFOS] Loading plugins/security.dll plugin. [ERROR] An error occurs while loading plugins/security.dll plugin, the symbol entry point "ScolLoadPlugin" was not found!