Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Developer Tips

Allan Juhanson edited this page Dec 3, 2015 · 2 revisions

Tips for developers and testers

This page offers some tips for those who plan to develop, test or debug the plugins.

Logging

Want to see what's going on under the hood? Plugins start logging to esteid.log file if the file exists.

  • Windows
  • Create a new file at %TEMP%\Low\esteid.log (for example C:\Users\rainer\AppData\Local\Temp\Low\esteid.log)
    • For IE the log file location depends on privileges that IE has when run. If you get nothing in the above location use: %TEMP%\esteid.log (for example C:\Users\rainer\AppData\Local\Temp\esteid.log)
  • Make sure the file has all the necessary read/write permissions
  • Open the file with your favorite text editor
  • Unix
  • Create a new file at /tmp/esteid.log (touch /tmp/esteid.log)
  • Make sure the file has all the necessary read/write permissions (chmod ugo+rwx /tmp/esteid.log)
  • Open the file (tail -f /tmp/esteid.log)

Building

  • Get the source: git clone https://github.com/open-eid/browser-token-signing.git
  • Move to the source dir cd browser-token-signing
  • Building IE BHO plugin on Windows
  • Note that you must have Visual Studio 2013 installed (with msbuild in your path)
  • For building 32 bit binaries, execute msbuild /t:rebuild /p:Configuration="Release";Platform="Win32" ie\esteid-plugin-ie.vcxproj
  • The 32 bit BHO plugin DLL is created at ie\Release\esteid-plugin-ie.dll
  • For building 64 bit binaries, execute msbuild /t:rebuild /p:Configuration="Release";Platform="x64" ie\esteid-plugin-ie.vcxproj
  • The 64 bit BHO plugin DLL is created at ie\x64\Release\esteid-plugin-ie.dll

Clone this wiki locally