WUPI (WIBU Universal Protection Interface) represents a standardized tool used at runtime to decrypt specified segments protected by IxProtector.

Universal

The software protection API WUPI (Wibu Universal Protection Interface) has been designed to cover all existing and all future licensing systems of Wibu-Systems, such as WibuKey and CodeMeter with CmDongle and CmActLicense. Any extension, for example, from CmDongle to CmActLicense, is possible with few modifications. You can use several protection technologies at the same time.

For example, you can protect your application to be used either with WibuKey (e.g. Firm Code 842, User Code 12) or with CodeMeter (e.g. Firm Code 100002, Product Code 42, Feature Map 7). Both devices will perform the same tasks for protecting the software.

The WUPI calls refer only to a list of licenses and IxProtector tries to access the licenses you have specified. Thus inside the application you need not to take care about the used license. But of course you can also obtain information on a used license, e.g. the license type (WibuKey or CodeMeter) or the value of a Limit Counter / Unit Counter.

If some functionality you need, is not available in the WUPI API, you can get the native handle to use a specific API that is closer to the hardware level. Using this you can, for example, read out data entries (WibuKey) or data options (CodeMeter).

Protection

Staying ahead of the hackers takes a lot of time, money, and resources. WUPI shifts the security implementation tasks from your software development process to the IxProtector component. You need to develop your software as you originally intended, then add the functions. The enhancement of security in IxProtector is done by the experts of Wibu-Systems: Simply downloading and using a newer version of AxProtector / IxProtector increases the security of your application without any change of the software or recompilation. Only the protection step is added to the development process.

Using the software protection API WUPI allows you to increase the security of your software regularly with little effort and ensures your software is always protected.

Simulation of encryption during development for the project types Win 32/62, macOS and Linux

Up to AxProtector version 10.40, WUPI functionalities could only be used and tested with IxProtector if the application to be protected was actually encrypted. This required the integration of the WUPI engine into the application by the developer and the use of a dummy library (WupiDummy.lib, *.so), which could partially provide functionalities. For example, WupiCheckLicense only returned True.

information_weiss_klein26

Starting with AxProtector version 10.40 this behavior has changed by default.

Now WUPI calls are also possible in the unencrypted state of the application.

The calls are not supported: WupiCheckDebugger, WupiRead... and WriteData....

Encryption is now simulated and allows developers to test WUPI implementation functionality using valid license information in test environments, e.g. by calling WupiQeryInfo. For this purpose, the WUPI engine now imitates a normal behavior of the encrypted state of an application.

In order to tell the WUPI Engine which information belongs to which application, the corresponding WBC file(s) are searched. To do this, the WBC files must be located in the same directory at runtime, i.e. the execution path for an application or storage location in the case of plugins.

The WBC files are searched for the original file name of the application, i.e. not for the file name specified with the '-o:' option. If the original file name of the application matches in several WBC files, the WBC file in which this name was found for the first time is used. This also applies to a deactivated simulation (Active then has a value of 0).

The search parameters function independently of upper and lower case and, in the case of several files, according to alphabetical order.

In addition, the WBC file can be told whether the simulation should be activated or deactivated. This is done via the new Topic [Simulation]:

[Simulation]

Active = 0 or 1

By default, simulation is enabled and Active has a value of 1

information_weiss_klein26

All users who want to continue working with WUPI must set the Topic [Simulation] and set Active to a value of 0.

Interface

The goal was to provide an easy yet powerful interface which enables faster integration into existing software. WUPI consists of only twelve simple API functions that are easy to understand, having at most two parameters.

The arguments of WUPI functions are only of type integer, ensuring that it can be used in almost any programming language.

In the past, there were two different kinds of software protection APIs, the pointer based WUPI and the index based WUPI. The pointer based WUPI is now deprecated and is no longer recommended. The index based WUPI is easier to handle and covers all programming languages. Therefore this help file only is about the index based WUPI. See History of WUPI for more details.