Project

General

Profile

Bug #378

security.dll

Added by iri over 6 years ago. Updated about 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
VM_Security
Target version:
Start date:
12/30/2011
Due date:
% Done:

100%

Estimated time:

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

History

#1 Updated by iri over 6 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) :/

#2 Updated by iri over 6 years ago

i've retried to compile this, unsuccessfully

#3 Updated by arkeon over 6 years ago

  • Status changed from New to Feedback
  • Assignee set to arkeon
  • % Done changed from 0 to 100

should be ok now

#4 Updated by arkeon over 6 years ago

  • Target version changed from SCOL voyager 6.0.117a to SCOL voyager 6.0.3

#5 Updated by Anonymous about 6 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.

#6 Updated by arkeon almost 6 years ago

  • Target version changed from SCOL voyager 6.0.3 to SCOL voyager 6.0.4

#7 Updated by Anonymous almost 6 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...

#8 Updated by arkeon over 5 years ago

  • Target version changed from SCOL voyager 6.0.4 to SCOL voyager 6.0.5

#9 Updated by arkeon about 4 years ago

  • Target version changed from SCOL voyager 6.0.5 to SCOL voyager 6.5.0

#10 Updated by arkeon about 2 months ago

Can you give it a try with the last OS3D release ?
I removed some checks that could resolve the issue.

#11 Updated by iri about 2 months 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!

#12 Updated by arkeon about 2 months ago

Doh...

Also available in: Atom PDF