Archive of category ‘Programming’



Sunday 20 December, 2015 om 14.45 door Ad  

Prevent and detect source code tampering

hackerThese days the security professionals are upset about two malicious vulnerabilities found in the firewalls of ScreenOS, a product of Juniper. Wild speculations are put forward as to who did it, when it was done, how it was done and where it was it done. The two problems appear to be of the form of a backdoor. Exactly the type of backdoor security agencies like NSA want to have installed by US software companies. >> >>

Wednesday 9 December, 2015 om 12.44 door Ad  

Compiling OpenSSL on Windows (msvc)

visual_studiolpngThe present post is a recipe for building the static and dynamic OpenSSL libraries for all versions of OpenSSL on the Windows platform, viz. msvc32 and msvc64. We are using the Microsoft Visual Studio 2013 C++ compiler. In another posts we treat the mingw (Minimal GNU for Windows) toolchain. Our goal is to have in the end the following libraries (each for 32bit and 64bit that all have 32 in their name even then 64bit versions): >> >>

Monday 7 December, 2015 om 13.40 door Ad  

Undefined reference to WinMain@16 when compiling OpenSSL

The error message as given in the title occurs regularly when compiling OpenSSL. In our case the cause was always the incorrect decompressing of file links of the source tarball with a Windows zip utility. Use the GNU tar and these problems will be gone. >> >>

Monday 7 December, 2015 om 13.21 door Ad  

Compiling OpenSSL on Windows (mingw32)

mingwThe present post is a recipe for building static and dynamic OpenSSL libraries for all versions of OpenSSL on the Windows platform, viz. mingw using the gnu c++ compiler. In another posts we treat the msvc (Microsoft Visual Studio C++ compiler) toolchain. Any mingw toolchain could be used for the present purpose. However, there are quite a number of mingw distributions around that differ in a not well-documented way. As in our company we build multi-platform (Windows, Mac and Linux) applications using the Qt IDE we will use the mingw distribution (version 492-32bit) that comes with the open source Qt package (version 5.5.1 at present). Our goal is to have in the end the following 2 static libraries: >> >>

Tuesday 27 October, 2015 om 11.38 door Ad  

Digitally signing a Mac App outside Xcode

gatekeeperWe develop a Mac app with Qt5, so outside Xcode. I want GateKeeper to allow my app to run on clients' computers rather than issuing the "Can't be opened because the identity of the developer cannot be confirmed" warning. This warning terrifies users. >> >>