Коды ошибок hasp






0 Operation successful.
1 The IPX, NetBIOS or TCP/IP protocols have not been installed properly. Act accordingly.
2 Communication error. Unable to get socket number. Applies to IPX and TCP/IP.Verify that the protocol is installed properly.
3 Communication error.
— NetBIOS: Unable to establish session. Verify that the protocol is installed properly.
— IPX: Unable to get immediate address of HASP License Manager. Verify that the protocol is installed properly.
— TCP/IP: Unable to connect to the server. Verify that the server address is correct in the INI file.
4 No HASP License Manager was found. Check whether your software has a path and read permission to the address file.
5 Cannot read the HASP License Manager address file.
6 Cannot close the HASP License Manager address file.
7 Communication error. Failed to send packet.Verify that the protocol is installed properly.
8 No answer from the HASP License Manager.IPX — The network is busy or incorrect address files found. In the latter case, delete all copies of the HASPADDR.DAT and NEWHADDR.DAT files. NetBIOS — the network is busy.TCP/IP — If the TCP method is used then the network is busy. If the UDP method is used then the network is busy or there is an incorrect address in the INI file.
10 You called a function without first calling the Login function.
11 Communication error. Adapter error. Applies only to NetBIOS. This error can also happen when the NetBIOS protocol is not installed.Verify that the protocol is installed properly.
15 No active HASP License Manager was found.
18 Cannot perform HASP network login because the SetServerByName call was not successful.
19 Syntax error in the configuration file (LastStatus service returns the line number in which the error occurred in Par2).
If LastStatus returns 0 in par2, either there is an environment variable with an illegal setting, or no IP address was found (when working with TCP/IP or UDP to host).
20 Error handling the configuration file. A file operation like «open file» or «read file» failed. A possible reason can be that the system has run out of file handles. The LastStatus service returns the OS system error code in Par2.
21 HASP network key did not succeed in allocating memory. This error is unique to HASP network key interfaces for Microsoft Windows applications and DOS extenders.Try to free DOS memory.
22 HASP network key did not succeed in freeing memory. This error is unique to HASP network key interfaces for Microsoft Windows applications and DOS extenders.
23 Invalid HASP network key memory address.
25 Failed to load the DLL (winsock.dll or w32sock.dll). Applies only to TCP/IP or IPX.
26 Failed to unload the DLL (winsock.dll or w32sock.dll). Applies only to TCP/IP or IPX.
28 Winsock.dll start-up error. Applies only to TCP/IP.
30 Failed to close the socket. Applies to TCP/IP only.
33 Protocol already set. Returned only when you attempt to set the protocol without having logged out completely from the API.
34 Access to key prohibited because the application is running on Citrix Winframe or Windows Terminal Server.
129 The correct HASP network key is not connected to the HASP License Manager.
130 The Program Number (ProgNum) specified is not in the Program List of the HASP key’s memory.
131 Error reading from HASP key memory.
132 Error writing to HASP key memory.
133 The current Login request exceeds the number of stations that may run the software concurrently.
134 The current Login request exceeds the number of authorized activations for the software.
135 You called the Logout function without first calling the Login function. This can happen when the License Manager was reloaded or you have been logged out from the License Manager.
136 The HASP License Manager is busy.
137 There is no space in the HASP network key user list.
138 The Number of Authorized Stations is larger than the maximum number designated by the HASP model.
139 You called a function without first calling the Login function.
140 The HASP Licence Manager does not serve your station’s network.
141 Invalid service, or new version of the HASP API is communicating with an older version of the HASP License Manager.
142 Cannot find the HASP License Manager matching the name specified in the HASP configuration file.
150 No HASP License Manager with the assigned name was found.
151 Two or more different HASP License Managers with the assigned name were found.
152 The decode operation failed because the service was not supported by the hardware.
155 An old version of the License Manager has been found. The API used required a newer version of the License Manager to be installed.
157 Buffer size too small for requested function.
158 HASP License Manager running on machine with old HASP driver installed.
159 HASP License Manager running on machine with no HASP driver installed.

Error code

Description

Solution

4

HASP_TMOF

Too many open sessions.

Displayed hasp_srm_view message:

«Sentinel HASP key not found or of improper type (4).

Warning! Program running on a terminal server, license access might be limited!»

This error occurs when trying to create a .c2v file via a remote connection.

Possible workaround on Windows: See How to read a HASP key over RDP on Windows.

Possible workaround on Linux: Run the command via ssh to localhost, for example:

ssh localhost /opt/charon/bin/hasp_srm_view -c2v <filename>

7

HASP_HASP_NOT_FOUND

Sentinel protection key not available.

Displayed hasp_srm_view message:

«Sentinel HASP key not found or of improper type (7).»

Connect the license dongle or install a software license.

Due to a software bug, this error can also occur when the license is connected. Please refer to Charon-AXP and Charon-VAX license not found error for a detailed description and a workaround.

18

HASP_KEYID_NOT_FOUND

Sentinel protection key with the specified key ID not found.

Displayed hasp_srm_view message:

«Sentinel HASP key not found or of improper type (50).»

Connect the license dongle with the correct key ID or correct the parameter specifying the key ID. 19 HASP_INV_UPDATE_DATA
Required XML tags not found, or
contents in binary data are missing or invalid
If this error occurs when trying to apply a V2C file to a system, the most likely cause is a corruption of the V2C file content. For example, an XML tag may be invalid. In some cases it is possible to edit the V2C file and fix the problem. Please refer to Unable to apply license file, V2C file data is invalid for more details. 27

HASP_TS_DETECTED

Program running on a terminal server.

Displayed hasp_srm_view message:

Sentinel HASP key not found or of improper type (27).
Warning! Program running on a terminal server, license access might be limited!

The Sentinel key content cannot be displayed when connected via a remote connection.

Possible workaround on Windows: See How to read a HASP key over RDP on Windows.

Possible workaround on Linux: Run the command via ssh to localhost, for example:

ssh localhost /opt/charon/bin/hasp_srm_view

31

HASP_FEATURE_NOT_FOUND

Requested Feature not found

In addition to a required feature missing on the key, this error can also occur if proper connection to the key is lost. Removing and reinserting solves the problem in this case. A solution without removing the dongle is described in Charon for Linux — Detected removal of the license whereas dongle is connected.

33

HASP_LOCAL_COMM_ERR

Communication error between API and local Sentinel License Manager

This error code indicates that the Sentinel license manager software is not running.

38 HASP_TOO_MANY_USERS

Too many users are currently connected. This error occurs, when more than the allowed number of license clients try to connect to a license (typically a network license).

Workarounds:

  • Define the correct license key to use in the emulator configuration. This should work in most cases. As this is different for different products, please refer to the user’s guide of your product.
  • If the above does not work for some reason, block access to the license for unauthorized license clients (via Sentinel ACC or firewall entries).
39

HASP_BROKEN_SESSION

Session was interrupted.

This can occur when certain updates are applied to the license while a session is active. For example:

  • A Feature required by the session was deleted.
  • The license was canceled.
  • The network (remote license) support setting for a required Feature was changed. (In this case, all sessions will be interrupted, including local sessions.)

This may also indicate that the protection key is not available.

42

HASP_OLD_LM

The Sentinel License Manager version is too old.

There is a version mismatch. Check if your Sentinel Runtime version is the correct one for your Charon product. In case of questions, contact your VAR or your Stromasys representative for guidance. 43

HASP_DEVICE_ERR

For a Sentinel SL key, an input/output error occurred in the secure storage area.
OR
For a Sentinel HL key, a USB communication error occurred.

For a hardware dongle, verify the USB connection. If the USB port works and the aksusbd is running, consider a possible failure of the dongle.

For a software license, this very likely indicates a software license problem caused by a change on the host system. You can try to revert any changes, but this will not necessarily make the license operational again (see Software Licensing restrictions).

48

HASP_NO_VLIB

Unable to find Vendor library.

If this error occurs when you try to install a software license with the Sentinel Admin Control Center, refer to the following document for a possible workaround: HASP_NO_VLIB error 48 message when installing a software license. 50

HASP_SCOPE_RESULTS_EMPTY

Unable to locate any Feature matching scope.

This error can occur when you have specified a license key id in the configuration file and this license key cannot be read (unplugged)

Configuration file example:

set session license_key_id[0]=367006676

set session license_key_id[1]=1619329274

Log file example:

20151210:161139:INFO :0:000003BB:ll_sentine( 736):  Looking for regular license key 367006676 ...

20151210:161139:ERROR:2:000003E8:ll_sentine( 379):  Sentinel HASP RunTime Error 50.

20151210:161139:INFO :0:000003BC:ll_sentine( 736):  Looking for backup license key 1619329274 ...

Possible solutions:

  • Reconnect the missing license
  • Update the configuration file by either removing the faulty license key id (in the case above, id 367006676) or by updating with the new one (this requires Charon to be restarted)
54

HASP_UPDATE_TOO_OLD

Trying to install a V2C (vendor to customer) file with an update counter that is out of sequence with the update counter on the Sentinel protection key. The update counter value in the V2C file is lower than the value in Sentinel protection key.

Apply all other license key updates, even if they have expired, then attempt to reapply the failed update. If this still does not resolve the problem, contact Stromasys Orders Administration with a new C2V (customer to vendor) file. 55

HASP_UPDATE_TOO_NEW

Trying to install a V2C file with an update counter that is out of sequence with update counter in the Sentinel protection key.

The first value in the V2C file is greater than the value in the Sentinel protection key.

Apply the V2C files in the correct sequence or request an update which disregards the unapplied update. See also Sentinel Admin Control Center — Attach/Update errors. 64

HASP_CLONE_DETECTED

Cloned Sentinel SL storage was detected. Feature is unavailable.

Indicates that the system on which the fingerprint was created was changed in a way that affects the validity of the license (e.g., cloning a VM).

For more, see:

  • Software Licensing restrictions
  • Cloned Software License Removal
65

HASP_UPDATE_ALREADY_ADDED

The message indicates you are trying to update the license with a V2C file that has already been applied, either the V2C format file ( _fmt ) or the update file.

Check the current applied license or request for new V2C files. See also License Update Service utility reports «update was already installed». 78

HASP_SECURE_STORE_ID_MISMATCH

A secure storage ID mismatch occurred. If a software license is used, this error can occur if host system hardware characteristics are changed.

To avoid the problem, do not change any hardware characteristics of a host system when using software licenses. If the error occurs, try to revert any changes. However, this may not solve the problem. In this case, contact your partner or Stromasys support. 84

HASP_SHARING_VIOLATION

An HL key is being shared between several systems. When this error occurs, a «sharing violation» message is also displayed on the relevant page in Admin Control Center.

This error can happen, for example, if a license key is passed through to a virtual machine and used by the Hypervisor system at the same time.






0 Operation successful.
1 The IPX, NetBIOS or TCP/IP protocols have not been installed properly. Act accordingly.
2 Communication error. Unable to get socket number. Applies to IPX and TCP/IP.Verify that the protocol is installed properly.
3 Communication error.
— NetBIOS: Unable to establish session. Verify that the protocol is installed properly.
— IPX: Unable to get immediate address of HASP License Manager. Verify that the protocol is installed properly.
— TCP/IP: Unable to connect to the server. Verify that the server address is correct in the INI file.
4 No HASP License Manager was found. Check whether your software has a path and read permission to the address file.
5 Cannot read the HASP License Manager address file.
6 Cannot close the HASP License Manager address file.
7 Communication error. Failed to send packet.Verify that the protocol is installed properly.
8 No answer from the HASP License Manager.IPX — The network is busy or incorrect address files found. In the latter case, delete all copies of the HASPADDR.DAT and NEWHADDR.DAT files. NetBIOS — the network is busy.TCP/IP — If the TCP method is used then the network is busy. If the UDP method is used then the network is busy or there is an incorrect address in the INI file.
10 You called a function without first calling the Login function.
11 Communication error. Adapter error. Applies only to NetBIOS. This error can also happen when the NetBIOS protocol is not installed.Verify that the protocol is installed properly.
15 No active HASP License Manager was found.
18 Cannot perform HASP network login because the SetServerByName call was not successful.
19 Syntax error in the configuration file (LastStatus service returns the line number in which the error occurred in Par2).
If LastStatus returns 0 in par2, either there is an environment variable with an illegal setting, or no IP address was found (when working with TCP/IP or UDP to host).
20 Error handling the configuration file. A file operation like «open file» or «read file» failed. A possible reason can be that the system has run out of file handles. The LastStatus service returns the OS system error code in Par2.
21 HASP network key did not succeed in allocating memory. This error is unique to HASP network key interfaces for Microsoft Windows applications and DOS extenders.Try to free DOS memory.
22 HASP network key did not succeed in freeing memory. This error is unique to HASP network key interfaces for Microsoft Windows applications and DOS extenders.
23 Invalid HASP network key memory address.
25 Failed to load the DLL (winsock.dll or w32sock.dll). Applies only to TCP/IP or IPX.
26 Failed to unload the DLL (winsock.dll or w32sock.dll). Applies only to TCP/IP or IPX.
28 Winsock.dll start-up error. Applies only to TCP/IP.
30 Failed to close the socket. Applies to TCP/IP only.
33 Protocol already set. Returned only when you attempt to set the protocol without having logged out completely from the API.
34 Access to key prohibited because the application is running on Citrix Winframe or Windows Terminal Server.
129 The correct HASP network key is not connected to the HASP License Manager.
130 The Program Number (ProgNum) specified is not in the Program List of the HASP key’s memory.
131 Error reading from HASP key memory.
132 Error writing to HASP key memory.
133 The current Login request exceeds the number of stations that may run the software concurrently.
134 The current Login request exceeds the number of authorized activations for the software.
135 You called the Logout function without first calling the Login function. This can happen when the License Manager was reloaded or you have been logged out from the License Manager.
136 The HASP License Manager is busy.
137 There is no space in the HASP network key user list.
138 The Number of Authorized Stations is larger than the maximum number designated by the HASP model.
139 You called a function without first calling the Login function.
140 The HASP Licence Manager does not serve your station’s network.
141 Invalid service, or new version of the HASP API is communicating with an older version of the HASP License Manager.
142 Cannot find the HASP License Manager matching the name specified in the HASP configuration file.
150 No HASP License Manager with the assigned name was found.
151 Two or more different HASP License Managers with the assigned name were found.
152 The decode operation failed because the service was not supported by the hardware.
155 An old version of the License Manager has been found. The API used required a newer version of the License Manager to be installed.
157 Buffer size too small for requested function.
158 HASP License Manager running on machine with old HASP driver installed.
159 HASP License Manager running on machine with no HASP driver installed.

This page contains a list of errors message observed during installation and while running the software.

Please find the error message that you see in your screen below.

Contents

  • 1 List of Common OLI Error Messages
  • 2 Common Error Messages Classified by Type
    • 2.1 Connectivity/Network
    • 2.2 Run-time
    • 2.3 Installation
    • 2.4 Login Errors
  • 3 Security Errors
  • 4 List of Uncommon OLI Error Messages
    • 4.1 OLI Legacy Software
    • 4.2 OLI Studio Errors
    • 4.3 OLI Chemistry Wizard Errors
  • 5 Full list of Error Codes from the security device

List of Common OLI Error Messages

OLI Error Message
Could not connect to license server ‘ncacn_ip_tcp:…’ Please check your network connection and settings and ensure that the license server is running.
Could not connect to the network hardlock server. Check your network settings and that the server is functioning.
An error occurred during the installation of assembly component
Login Error: Could not find a valid protection key with ID: PA…
Login Error: Could not find a valid protection key with ID: PS…
Login Error: Could not find a valid protection key with ID: LS…
Opening Service Control Manager (Failed)
Your system date was reset. Key invalidated
Security provider failed to initialize. RpcNsBindingImportNext Failed
Security provider failed to initialize. The security method used in this serial number is not longer supported.
Sentinel HASP Run-time installation — Error when starting the hasplms service with parameters…
Serial Number Provided (V2-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX) has options that the license server does not support
Server License has expired. Please contact your administrator
Simultaneous user count reached
There was an error configuring the trial license. The installation process cannot continue and will now exit
Unable to determine a valid product login for serial number
Unable to initialize engine security
Error initializing database Cause =» Terminating application.
Error Code Vendor Error Message OLI Error Message
0 API call was successful No Error, call to device was successful
1 DONGLE not initialized Dongle not programmed, contact OLI
2 Already initialized No Error
3 NotEnoughMemory The computer hosting the HASP has run out of memory, reboot recommended
4 Function not supported You are using an OLI dongle with a non-OLI program using the same drivers. Use the proper key
5 Not used
6 HL-Server login table full Not used, was used for v1.0 server
7 HASP key not found Login Error: HASP Error (7): HASP Key not found
8 A network error occurred Can not find your network, please check settings
9 No device available Can not read device
10 A wrong parameter occurred Invalid argument passed to key, Contact OLI
11 HL-Server not API version Not used by OLI
12 Error on memory allocation Programming on key invalid, contact OLI
13 Not used
14 Can not open driver (NT,UNIX) Missing drivers, re-installed with full admin
15 Invalid environment string Login Error: Hardlock Error(15): Invalid environment string.
16 Unable to get a function entry Not used by OLI
17 No valid license info (LM) Not used by OLI
18 Key with specified ID was not found HASP Error (18): Key with specified ID was not found.
19 Port Busy Can not acquire port, is the port set correctly
20 No Device Not used by OLI
21 Invalid License Not used by OLI
22 Sync Error Not used by OLI
23 Not used
24 Buffer too small Not used by OLI
25 Unknown hardware descriptor Not used by OLI
26 Unknown fixed block position Not used by OLI
27 HASP Error (27): Terminal services (remote terminal) detected Error Terminal Services are not supported with local protection key
28 Date fake detected User attempted to roll back date on host computer
29 Dead counter limit reached Not used by OLI
30 Vendor key is invalid Not used by OLI
31 No license file found Not used by OLI
32 Invalid variable block Not used by OLI
33 Error updating license file Not used by OLI
34 No info there Not used by OLI
35 Can not TLV encode data Not used by OLI
36 Write license failed Not used by OLI
37 Expiration Date Reached Key has expired
38 Term. Server/ Citrix Server detected Virtual environment detected. Exit program
39 Invalid updated data Not used by OLI
40 Update data has expired Not used by OLI
41 The feature has expired Login Error — HASP Error (41): The feature has expired
43 HASP SL secure storage I/O error or USB request error HASP Error (43): HASP SL secure storage I/O error or USB request error
48 Vendor library cannot be found HASP error (48) vendor library cannot be found
51 Virtual Machine Detected Login Error: HASP Error (51): Virtual machine detected
52 HASP Update incompatible HASP ERROR (52): HASP Update incompatible with this hardware…
58 Invalid XML «recipient» parameter HASP Error (58): Invalid XML «recipient» parameter
64 Cloned HASP SL secure storage detected HASP Error (64): Cloned HASP SL secure storage detected
65 HSpecified V2C update already installed in the LLM HASP Error (65): Specified V2C update already installed in the LLM
256 Login table full (remote) Not used by OLI, was used with v1.0 server
257 Printer not On-line Used by parallel port key when printer attached
258 Serial ID not readable or n/a Device corrupted, contact OLI
2-78 HASP Error: Hardware Changes detected C2V/V2C pairing invalid due to hardware changes
0-4005 Unable to connect to key() No hardware device (PA or PH type) is connected to the USB port

HASP codes from the manufacturer

Common Error Messages Classified by Type

Connectivity/Network

  • Could not connect to license server ‘ncacn_ip_tcp:…’ Please check your network connection and settings and ensure that the license server is running.
  • Could not connect to the network hardlock server. Check your network settings and that the server is functioning.

Run-time

  • Error in DBController:convertPrivate():
  • Simultaneous user count reached — please try again later.
  • Security Check Failed

Installation

  • File in Use
  • Key Not Detected
  • OLI ScaleChem 9.3 is not enabled by this serial number.

Login Errors

Login Errors

Security Errors

  • An error occurred during the installation of assembly component
  • ERROR_SERVICE_DEPENDENCY_DELETED
  • Failed to delete fridge token
  • Login Error: Could not find a valid protection key with ID: PA…
  • Login Error: Could not find a valid protection key with ID: PS…
  • Login Error: HASP Error (7): HASP Key not found
  • Login Error: Hardlock Error(15): Invalid environment string.
  • Login Error — HASP Error (41): The feature has expired
  • Login Error: HASP Error (51): Virtual machine detected
  • Hardlock/softkey drivers apparently fail to install properly — this results in the program starting and just quitting without an error message
  • HASP ERROR (52): HASP Update incompatible with this hardware…
  • HASP Error (64): Cloned HASP SL secure storage detected
  • Opening Service Control Manager (Failed)
  • Your system date was reset. Key invalidated
  • Security provider failed to initialize. RpcNsBindingImportNext Failed
  • Security provider failed to initialize. The security method used in this serial number is not longer supported.
  • Sentinel HASP Run-time installation — Error when starting the hasplms service with parameters…
  • Serial Number Provided (V2-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX) has options that the license server does not support
  • Server License has expired. Please contact your administrator
  • There was an error configuring the trial license. The installation process cannot continue and will now exit
  • Unable to determine a valid product login for serial number
  • Unable to initialize engine security

List of Uncommon OLI Error Messages

On this page, we list uncommon error messages that are encountered by the OLI Software. Many of these errors are due to drivers and other factors outside of OLI’s control.

OLI Legacy Software

***ERROR: Unable to acquire ESP, CSP and toolkit license

OLI Studio Errors

Error in DBController

OLI Chemistry Wizard Errors

GENDBS Failed (Error Code = 36).

Full list of Error Codes from the security device

  • Error codes from the manufacturer of the OLI security device
  • 1 Что такое серия разработчика (или код ключей) и что такое Vendor ID?
  • 2 Обновление прошивки (firmware) ключа HASP HL до версии 3.25
  • 3 Процедура установки/удаления драйвера ключа
  • 4 Работа с ключом на виртуальных машинах
  • 5 Ошибка: «HASP not found (-10), (-11), (Error 27), (H0027), Terminal services detected»
  • 6 Ошибка «HASP not Found (-3), (Error 7), (H0007)»
  • 7 Какие существуют утилиты для мониторинга доступа к ключу и занятых лицензий?
  • 8 Два ключа защиты ПО Sentinel (HASP) на одном компьютере
  • 9 Автозагрузка приложения, использующего ключ защиты Sentinel (HASP)
  • 10 Порядок обращения в техническую поддержку
  • 11 Какой срок гарантии на ключи Sentinel (HASP)?
  • 12 В чём различия между технологиями HASP4, HASP HL и Sentinel LDK (SRM)?
  • 13 Есть ли совместимость у ключей Sentinel (HASP) с предыдущими версиями, если есть, то какая?
  • 14 Какие документы нужны для отправки ключа за границу?
  • 15 Как узнать версию комплекта разработчика?
  • 16 Как узнать, какой системой защиты вы пользуетесь?
  • 17 Где взять документацию к комплекту разработчика?
  • 18 Какие варианты защиты существуют?

Что такое серия разработчика (или код ключей) и что такое Vendor ID?

Серия разработчика = Batch code = код разработчика = серия ключей – равнозначные понятия.

За каждым разработчиком при первоначальной покупке ключей закрепляется уникальная серия разработчика. В дальнейшем ключи данной серии продаются только данному конкретному разработчику.

Ключи разных серий разработчика обладают различным криптоповедением, благодаря чему ключи от одной серии не подходят для работы с приложением, защищённым на ключи другой серии разработчика.

При последующей покупке ключей разработчик в заказе указывает ту серию разработчика, под которую ему необходимо приобрести ключи (за разработчиком могут быть закреплены несколько различных серий).

Batch code нанесён на корпус каждого ключа (как пользовательского, так и служебного) и выглядит как последовательность из нескольких латинских символов, вида: «CDQDR», «DEMOMA» и т.д.

DEMOMA — серия разработчика, присвоенная демонстрационным ключам. Серия DEMOMA интегрирована в комплект разработчика и предназначена для тестирования функционала комплекта разработчика. Для работы с ключами серии DEMOMA не требуется наличие Sentinel (HASP) HL Master ключа.

Vendor ID – числовой эквивалент серии разработчика, отображается в Sentinel Admin Control Center на вкладке Sentinel Keys в столбце Vendor для подключенного ключа. Исключение – служебные ключи Sentinel (HASP) HL Master и Sentinel (HASP) HL Developer. Для этих ключей Vendor ID всегда одинаковый – «64294» и отличен от Vendor ID серии разработчика клиента.

Vendor ID содержится в именах всех кастомизированных под данную конкретную серию разработчика библиотек Sentinel LDK Licensing API из комплекта разработчика.

Обновление прошивки (firmware) ключа HASP HL до версии 3.25

Обновление микропрошивки в стандартном режиме производится автоматически при соблюдении двух условий:

  1. Наличия на ПК актуальной версии установленного драйвера для ключей Sentinel (HASP);
  2. Наличия на ПК активного интернет соединения.

При подключении к ПК ключа с микропрошивкой версии ниже 3.25 (за исключением 2.17), например версии 2.16, ключ сам должен обновиться. Визуально это сопровождается миганием светодиода ключа с момента начала и до момента окончания процедуры обновления микропрошивки. Обычно эта процедура занимает несколько секунд. В ходе обновления микропрошивки ни в коем случае не следует отключать ключ от порта!

Если же обновление микропрошивки не было произведено в автоматическом режиме, то есть возможность выполнить это вручную. Сделать это можно двумя способами:

  • Обновление USB-ключей HASP HL до функциональности HASP SRM с помощью утилиты Firmware Update: ftp://ftp.cis-app.com/pub/hasp/Sentinel_HASP/Firmware_Update/HASP_HL_Firmware_Update.zip
  • Обновление USB-ключей HASP HL до функциональности HASP SRM с помощью файла* V2C: ftp://ftp.cis-app.com/pub/hasp/Sentinel_HASP/Firmware_Update/HASP_HL_Firmware_Update_v2c.zip

*Файл применяется к ключу с помощью: стандартной утилиты RUS под данную серию разработчика, либо через интерфейс драйвера — Sentinel Admin Control Center.

Процедура установки/удаления драйвера ключа

Для OS Windows Vista и ниже необходимо выполнять оба раздела инструкции, для Windows 7 и выше только «Раздел II».

Перед установкой/удалением необходимо убедиться, что UAC отключен и после его отключения ПК был перезагружен.

Раздел I. Удаление драйверов версии 4.116 и ниже.

  1. Войти в систему как администратор.
  2. Если возможно, следует временно отключить любое защитное ПО (антивирус, брандмауэр).
  3. Отключить все локальные Sentinel (HASP) ключи.
  4. Загрузить драйвер 4.116: http://safenet-sentinel.ru/files/hasp4_driver_cmdline.zip для проверки, не установлено ли старых версий драйверов.
  5. Распаковать загруженный архив на диск и в командной строке перейти в директорию с файлами из архива.
  6. Запустить «hinstall –r –alldrv» для удаления версий, установленных ранее.
  7. Если возникли проблемы с удалением, обратитесь к пункту настоящей инструкции «ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА».

Раздел II. Установка/удаление драйверов версии 5.х и выше.

  1. Войти в систему как администратор.
  2. Если возможно, следует временно отключить любое защитное ПО (антивирус, брандмауэр).
  3. Скачать свежую консольную версию драйвера: https://thales-sentinel.ru/helpdesk/download-space/
  4. Отключить все локальные Sentinel (HASP) ключи.
  5. Разархивировать драйвер.
  6. Выполнить из командной строки «haspdinst.exe –fr –kp –purge» для удаления версий, установленных ранее.
  7. Выполнить «haspdinst.exe –i» для установки драйвера.
  8. Если возникли проблемы с удалением, следует обратиться к пункту инструкции «ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА».
  9. Открыть браузер и перейти по адресу http://localhost:1947; проверить, что ключ отображается на странице «Sentinel Keys».
  10. Проверить, что приложение работает. Если нет:
  • Использовать «MsConfig» для остановки всех служб, которые не относятся к Microsoft, перезагрузите компьютер и проверить снова.
  • В случае отказа системы необходимо сохранить «дамп памяти ядра».
  • В случае отказа Менеджера лицензий (HASP License Manager) необходимо сохранить лог (event log: Пуск -> Панель управления -> Администрирование -> Просмотр событий) и сохранить скриншот возникающей ошибки.
  • Удалить файл «C:Windowsaksdrvsetup.log», запустить «haspdinst –i –v», сохранить созданный файл aksdrvsetup.log
  • Запустить «MsInfo32» (Пуск -> выполнить -> msinfo32 -> Ввод), создать .NFO log и выслать его.

Все сохранённые данные по проблеме необходимо передать в службу технической поддержки, порядок обращения в техническую поддержку см. «Порядок обращения в техническую поддержку».

ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА

  • Удалить все компоненты HASP через «Установка/удаление программ».
  • Остановить все службы, которые содержат в названии «Hasp» или «HLServer».
  • Удалить все файлы aks*.*, «hardlock.sys» и «haspnt.sys» из папки c:windowssystem32drivers» (если они не используются другими приложениями).
  • Удаление драйверов в «Диспетчере устройств»:

o Зайти в «Панель управления»«Система».

o Перейти на вкладку «Оборудование» и откройте «Диспетчер устройств».

o Выбрать в меню «Показать скрытые устройства».

o Раскрыть пункт «Драйверы устройств не Plug and Play».

o Удалить каждый из следующих пунктов, если они присутствуют: «Hardlock», «Haspnt», «HASP fridge».

  • Еще раз удалить драйверы с помощью команды «haspdinst –purge», а затем установить с помощью «haspdinst –i».

Работа с ключом на виртуальных машинах

Работа на виртуальных машинах ограничивается двумя факторами:

  1. Используемой системой защиты.
  2. Используемой платформой виртуализации.

Для каждой системы защиты есть свой список официально поддерживаемых платформ виртуализации, посмотреть который можно либо на сайте sentinelcustomer.safenet-inc.com/platformsupport/, либо в документации к используемому комплекту разработчика.

Некоторые платформы виртуализации не поддерживают проброс USB устройств с реальной машины в виртуальную, например Microsoft Virtual Server + Hyper-V.

При использовании виртуальных сред с балансировкой нагрузки может происходить блокировка работы программных ключей Sentinel (HASP) SL, так как при балансировке нагрузки виртуальная машина фактически «перемещается» с одного физического ПК на другой, вследствие чего изменяется параметр привязки CPU ID, подробнее см. «Ошибка SL Clone detected».

Ошибка: «HASP not found (-10), (-11), (Error 27), (H0027), Terminal services detected»

Возникновение данной ошибки возможно в следующих случаях.

  1. При обнаружении программ терминального доступа типа Microsoft Terminal Server (в т.ч. служба RDP – Remote Desktop), Citrix Winframe/Metaframe и т.д. драйвер ключа блокирует доступ к ключу. Т.е. ключ не должен находиться на одной машине с активным терминальным ПО. Для систем защиты HASP HL и Sentinel HASP* разработчик защищенного приложения имеет возможность контролировать данную опцию, разрешая или запрещая работу на терминальном сервере. Для ключей HASP4 она задана жестко и не может быть отключена. Если вы являетесь пользователем защищенного ПО, то варианты решения данного вопроса следующие:
    • Остановить работу терминального сервера.
    • Разместить ключ на любом другом компьютере в сети, если ключ сетевой.
    • Обратиться к разработчику защищенного ПО.
  2. Ошибка «HASP not found (-10)» также может возникать при запуске приложений, защищенных с помощью HASP4 под Windows Vista/Windows 7.

* Для стандартной Feature 0, которая есть во всех ключах по умолчанию, лицензионные ограничения изменять нельзя. При этом для всех локальных ключей Sentinel HL для Feature 0 запрещена работа в терминальном режиме, а для сетевых ключей Sentinel (HASP) HL Net и сетевых ключей Sentinel (HASP) HL NetTime – разрешена. Соответственно, если защита программ осуществляется через Sentinel LDK Envelope на Feature 0 (например, используется DataHASP, который для своей работы использует Feature 0), то защищённое таким образом ПО может работать на терминальном сервере только с сетевым ключом, в котором для Feature 0 разрешён терминальный режим. С локальными ключами ПО будет выдавать ошибку «HASP_TS_DETECTED = 27».

Для локальных ключей рекомендуется использовать для защиты Feature отличную от Feature 0, в таком случае можно записать в локальный ключ требуемую Feature с разрешением работы на терминальном сервере (RDP). Однако следует учитывать, что при использовании локального ключа с Feature с разрешённой опцией RDP на терминальном сервере не будут ограничиваться одновременно запущенные копии ПО. Таким образом все запущенные на терминальном сервере экземпляры защищённого ПО будут потреблять одну лицензию с локального ключа, так как все копии ПО запущены на одной и той же машине (на RDP сервере) и система считает их за одну потребляемую лицензию. Таким образом в подобной ситуации пользователь сможет запустить столько экземпляров защищённого ПО, сколько подключений позволит создать сам терминальный сервер.

Для сетевых же ключей всегда можно для Feature, отличной от Feature 0, указать на какое количество сетевых мест рассчитана данная лицензия, а также можно изменить механизм подсчёта лицензий, указав что подсчёт лицензий требуется выполнять не по Станциям, а по Процессам, что позволит избежать ситуации аналогичной ситуации описанной выше (с локальными ключами).

!Update!: в системе защиты Sentinel LDK (в актуальной версии SDK LDK), для локальных моделей ключей Sentinel HL, работающих в Driverless режиме (для всех моделей кроме Sentinel HL Basic), есть возможность записывать сетевые лицензии с разрешённой / запрещённой работой RDP и с подсчётом подключений: по станциям, по процессам и по логинам. Благодаря чему любую, изначально локальную модель ключа можно превратить в сетевую. Но этот функционал требует приобретения дополнительных лицензий (HL seats) на Ваш Мастер ключ.

Ошибка «HASP not Found (-3), (Error 7), (H0007)»

Возникновение данной ошибки возможно в следующих случаях.

  • Ключ Sentinel (HASP) не подсоединен к компьютеру. Необходимо подсоединить ключ защиты.
  • Подсоединен ключ Sentinel (HASP) другой серии (ключ от другого ПО). Необходимо подсоединить ключ требуемой серии (ключ от данного приложения).
  • Сетевой ключ, подсоединенный к компьютеру в сети, на самом деле не является сетевым (сетевой ключ должен содержать в себе сетевую лицензию). Следует проверить установленный ключ и, в случае ошибки, подключить требуемый сетевой ключ Sentinel (HASP).
  • На компьютере, где установлен сетевой ключ Sentinel (HASP), не запущен менеджер лицензий. Следует установить и запустить менеджер лицензий.
  • На компьютере, где установлен ключ, или на компьютере, где запускается защищенное приложение, блокируется передача трафика по 475 или 1947 порту (активен firewall, брандмауэр windows, антивирусные программы также могут блокировать передачу по сети). Необходимо отключить все ПО, которое может блокировать доступ к ключу.

Какие существуют утилиты для мониторинга доступа к ключу и занятых лицензий?

  • Для систем защиты HASP4 и HASP HL в этих целях используется утилита Aladdin Monitor.
  • Для системы защиты Sentinel LDK (SRM) в этих целях используется менеджер лицензий Sentinel Admin Сontrol Center, встроенный в драйвер ключа и доступный по адресу: http://localhost:1947/

Два ключа защиты ПО Sentinel (HASP) на одном компьютере

При установке двух и более ключей защиты программного обеспечения Sentinel (HASP) на один компьютер следует учитывать, следующее:

  • Ключи, имеющие разные серии, будут работать нормально.
  • Для системы защиты HASP4: ключи одной серии будут работать, если такая возможность была реализована разработчиком защищенного ПО. Если же разработчиком данная возможность не была реализована, то ключи, относящиеся к одной серии, не будут работать совместно на одном компьютере, будет виден только один из них: либо ближний к порту (в случае с LPT-ключами), либо размещенный на порту с младшим адресом (в случае с USB-ключами защиты программ HASP).
  • Для системы защиты HASP HL: ключи, относящиеся к одной серии, не будут работать совместно на одном компьютере, будет виден только один из них: либо ближний к порту (в случае с LPT-ключами), либо размещенный на порту с младшим адресом (в случае с USB-ключами защиты программ Sentinel (HASP)).
  • Для системы защиты Sentinel LDK (SRM): ключи, относящиеся к одной серии, могут работать совместно на одном компьютере, будут видны все ключи. ПО будет работать с тем из них, на котором есть свободная лицензия, требуемая для работы защищённого приложения. Порядок опроса ключей, подключенных к ПК, определяется порядком размещения. Первым опрашивается ключ, размещенный на порту с младшим адресом, и т.д. по возрастанию адреса. Также для данной системы защиты можно контролировать, к какому ключу следует подключаться защищённому приложению. Реализуется это следующим образом:

Сначала используется функция hasp_get_info() для получения ID всех ключей. Далее выбирается нужный ID и при помощи функции hasp_login_scope открывается сессия с ключом. Более подробно можно посмотреть в утилите Sentinel LDK ToolBox (интерактивное руководство по функциям Sentinel LDK Licensing API), которая устанавливается в составе Sentinel LDK Vendor Suite.

Возможные решения данной проблемы:

  1. Замена нескольких ключей защиты программ Sentinel (HASP) на один, с большим количеством лицензий (необходимо обратиться к разработчику защищенного программного обеспечения).
  2. Установка ключей защиты на разные компьютеры с последующей установкой и настройкой менеджеров лицензий при каждом ключе, см. «Два и более менеджеров лицензий (HASP License Manager) в сети».
  3. Возможность обрабатывать наличие двух ключей на одном компьютере существует для систем защиты HASP4 (путем адресации запроса на конкретный порт) и Sentinel LDK (SRM) (с помощью функции hasp_get_info() и hasp_login_scope). Для системы защиты HASP HL данная возможность отсутствует.

Автозагрузка приложения, использующего ключ защиты Sentinel (HASP)

Приложение должно загружаться после того, как завершится инициализация драйвера ключа защиты ПО Sentinel (HASP). Это можно сделать как на уровне пользователя, так и на уровне разработчика защищенного ПО.

Если вы являетесь разработчиком защищенного приложения, то при установке защиты на приложение с помощью Sentinel LDK Envelope следует указать на необходимость дождаться окончания загрузки драйвера («Protection Details» — «Protection Settings» — «Run-time wait»). При защите с помощью Sentinel LDK Licensing API необходимо реализовать задержку вручную в коде приложения.

Если вы пользователь защищенного ПО, то задержку необходимо реализовать с помощью сторонних утилит. Также можно попробовать изменить порядок загрузки драйверов, однако результат в данном случае гарантировать нельзя.

Порядок обращения в техническую поддержку

Обращение в техническую поддержку осуществляется через партнёра, у которого приобретаются ключи (для всех клиентов, приобретающих решение через дистрибьюторов).

Конечные пользователи защищённого ПО должны обращаться за поддержкой к разработчику ПО, а он, при необходимости, заводит обращение в компанию Gemalto(SafeNet) через портал технической поддержки или к дистрибьютору (если ключи приобретаются через него).

Какой срок гарантии на ключи Sentinel (HASP)?

  • Гарантия на ключи Sentinel (HASP) – 2 год.
  • На батарейку в ключах моделей Sentinel (HASP) HL Time и Sentinel (HASP) HL NetTime – 4 года.

В чём различия между технологиями HASP4, HASP HL и Sentinel LDK (SRM)?

  1. HASP4 – устаревшая система защиты, была актуальна с 1996 по 2006 год и на данный момент полностью снята с поддержки.
    • Для работы с системой защиты используются два пароля.
  2. HASP HL – устаревшая система защиты, на данный момент снята с поддержки.
    • Для работы с системой защиты использовался белый HASP HL Master ключ. Реализована публичная криптография. Появилась поддержка удалённого обновления лицензий в ключах защиты.
  3. Sentinel LDK (SRM) / Sentinel HASP / HASP SRM – актуальная на данный момент система защиты, обладает обратной совместимостью с HASP4 и HASP HL.
    • Для защиты ПО используется синий Sentinel HL Master ключ. Появилась поддержка:
      • x64-битных ОС как для защищённых приложений, так и для самого комплекта разработчика.
      • Программных ключей защиты – Sentinel (HASP) SL.
      • Технологии AppOnChip – исполнения части кода приложения внутри ключа.
      • Технологии Driverless – работа с ключом без установки драйвера, ключ определяется как HID совместимое устройство.
      • Интеграции системы лицензирования с CRM системами по средствам API.
      • Актуальных версий ОС симейств Windows, Linux и Mac OS X.и т.д.
      • И т.д.

Есть ли совместимость у ключей Sentinel (HASP) с предыдущими версиями, если есть, то какая?

Ключ HASP4 может работать только с системой защиты HASP4 и не поддерживает работу с другими системами защиты.

Ключ Sentinel (HASP) HL обладает обратной совместимостью со старыми системами защиты. Чтобы использовать ключи Sentinel (HASP) HL со старыми системами защиты, необходимо применять инструменты из соответствующих версий комплектов разработчика (API / Envelope / утилиты для записи лицензий в ключи: HASP4 — HASPEdit, HASP HL — Factory, Sentinel LDK (SRM) — Business Studio / Sentinel LDK EMS).

Современная система защиты Sentinel LDK (SRM) обладает обратной совместимость с предыдущими системами защиты HASP HL и HASP4:

  • На уровне драйвера. Драйвер от современной системы защиты поддерживает работу ключей и от более старых систем защиты.
  • На уровне API. API от современной системы защиты поддерживает вызовы старых функций API от более старых систем защиты.
  • На уровне утилиты автоматической защиты Sentinel LDK Envelope. Sentinel LDK Envelope поддерживает защиту приложений в режиме системы защиты HASP HL, для защиты используются вызовы функций API от соответствующей системы защиты.

Какие документы нужны для отправки ключа за границу?

Достаточно номера нотификации:

  • Для ключей Sentinel HL – RU0000014501;
  • Для ключей Sentinel HASP – RU0000013379;
  • Для ключей Sentinel Drive – RU0000014400;
  • Для ключей Sentinel Developer, Master – RU0000015552;
  • Для ключей Sentinel SuperPro, UltraPro – RU0000009290;
  • Для ключей SHK – RU0000009291;
  • Для ключей Microdog – RU0000016432;
  • Для ключей Hardlock – RU0000014113.

Информацию о нотификации вы можете найти на сайте таможенного союза Евразийской экономической комиссии eurasiancommission.org либо запросить её в Представительстве компании Thales, по адресу: sm-ru@thalesgroup.com

Как узнать версию комплекта разработчика?

Версия комплекта разработчика пишется в заголовках окон утилит используемого комплекта разработчика, таких как: Vendor Suite, Envelope, Toolbox и т.д.

Достаточно посмотреть на версию Vendor Suite.

Как узнать, какой системой защиты вы пользуетесь?

Если для защиты или лицензирования своего ПО вы использовали:

  • Два пароля. – Система защиты HASP4.
  • Белый Master ключ. – Система защиты HASP HL.
  • Синий Master ключ. – Система защиты Sentinel LDK (SRM).

Также существуют другие косвенные признаки использования той или иной системы защиты, например:

  • Версия используемого комплекта разработчика 1.3 или ниже – система защиты HASP HL; выше 1.3 – система защиты Sentinel LDK (SRM);
  • Для лицензирования ПО используете утилиту Business Studio – система защиты Sentinel LDK (SRM) версии 5.хх и ниже;
  • Для лицензирования ПО используете утилиту Sentinel LDK EMS – система защиты Sentinel LDK (SRM) версии 6.х и выше;
  • Для лицензирования ПО используете утилиту Factory – система защиты HASP HL;
  • Для лицензирования ПО используете утилиту HASP Edit – система защиты HASP4;
  • Если вы используете утилиту Bistro – система защиты Hardlock;
  • Используете драйверы версии 4.102 или 4.116, и утилиты HASP License Manager и Aladdin Monitor – вероятнее всего либо система защиты HASP4, либо HASP HL (но для HASP HL более характерны драйверы версии 5.20).

Где взять документацию к комплекту разработчика?

Документация к комплекту разработчика есть на диске с самим комплектом разработчика, либо в образе диска. Она доступна на любом ПК с установленным комплектом разработчика.

  • Для системы защиты HASP4 документация доступна в Help файлах к утилитам из комплекта разработчика.
  • Для системы защиты HASP HL документация доступна примерно по такому пути: «C:Program FilesAladdinHASP HLDocs».
  • Для системы защиты Sentinel LDK (SRM) документация доступна примерно по такому пути: «C:Program Files (x86)Gemalto SentinelSentinel LDKDocs». Также можно воспользоваться онлайн документацией: sentinelcustomer.safenet-inc.com/Documentation_Information.aspx

Какие варианты защиты существуют?

Возможны три варианта защиты вашего ПО:

  1. С помощью утилиты автоматической защиты Envelope: скомпилированный файл «.exe», «.dll», «.jar» и т.д. (зависит от используемой системы защиты и комплекта разработчика) добавляется в проект защиты утилиты Envelope, для него указываются требуемые настройки защиты, после чего осуществляется автоматическая защита программного обеспечения. На выходе получается файл с таким же расширением, но только уже со встроенными механизмами защиты ПО, такими как:
    • Привязка к ключу защиты;
    • Шифрование кода приложения;
    • Обфускация кода приложения;
    • Борьба с отладчиками и многое другое, в зависимости от используемой системы защиты и версии используемого комплекта разработчика.
  2. С помощью API из комплекта разработчика: разработчику предоставляется набор функций API для работы с ключами защиты (проверка наличия ключа защиты с необходимой лицензией, чтение/запись в память ключа, шифрование данных с помощью криптопроцессора ключа и т.д.), на базе которых он должен самостоятельно реализовать требуемые механизмы защиты своего ПО и встроить их в код своего приложения. Данный вариант крайне гибок, так как реализация защиты целиком и полностью зависит от фантазии разработчика, но и гораздо более сложен, нежели вариант с автоматической защитой с помощью утилиты Envelope.
  3. Комбинация первых двух вариантов: часть функционала работы с ключом разработчик реализует в коде своего приложения с помощью API из комплекта разработчика, а потом скомпилированный файл обрабатывает утилитой Envelope. Данный метод наиболее гибок и надёжен в плане защиты ПО.

Компания Thales регулярно проводит бесплатные семинары по построению надёжной защиты на базе API на территории СНГ. Расписания мероприятий доступно на сайте: https://safenet-sentinel.ru/

0 Operation successful.

1 The IPX, NetBIOS, or TCP/IP protocols have not been installed properly — act accordingly.

2 Communication error — unable to get the socket number (applies to IPX and TCP/IP). Verify that the protocol is installed properly.

3 Communication error.
NetBIOS — unable to establish the session.
IPX — unable to get the immediate address of the HASP License Manager. Verify that the protocol is installed properly.
TCP/IP — unable to connect to the server. Verify that the server address is correct.

4 No HASP License Manager was found. Check whether your application has a path to the address file and read permission.

5 Cannot read the HASP License Manager address file.

6 Cannot close the HASP License Manager address file.

7 Communication error — failed to send packet. Verify that the protocol is installed properly.

8 The network is busy.
IPX — the network is busy or incorrect address files were found. In the latter case, delete all copies of the «haspaddr.dat» and «newhaddr.dat» files.

10 You called the hasp( ) routine with one of the services, without first calling the Login service.

11 Communication error — adapter error (applies only to NetBIOS).
Verify that the protocol is properly installed.

15 No active HASP License Manager was found.

18 Cannot perform a HASP4 Net login because of an unsuccessful SetServerByName call.

19 Syntax error in the configuration file. The LastStatus service returns the line number in which the error occurred in Par2. If LastStatus returns 0 in Par2, there is an environment variable with an illegal setting.

20 Error handling the HASP4 Net configuration file. A file operation such as «open file» or «read file» failed. One possible reason could be that the system is out of file handles. The LastStatus service returns the OS system error code in Par2.

21 HASP4 Net did not succeed in allocating memory. This error is unique to HASP4 Net interfaces under DOS extenders and Windows. Try to free DOS memory.

22 HASP4 Net did not succeed in freeing DOS memory. This error is unique to HASP4 Net interfaces under DOS extenders and Windows.

23 Invalid HASP4 Net memory address.

25 Failed to load winsock.dll (applies only to TCP/IP and IPX).

26 Failed to unload winsock.dll (applies only to TCP/IP and IPX).

28 Winsock.dll startup error (applies only to TCP/IP and IPX).

30 Failed to close socket (applies only to TCP/IP).

33 SetProtocol service requested without performing logout.

34 Access to key prohibited because the application is running on Citrix Winframe or Windows Terminal Server (service pack 4+ required to detect if this is running on the console screen).

129 The correct HASP4 Net is not connected to the HASP License Manager.

130 The program number specified is not in the program list of the HASP4 Net memory.

131 Error reading from HASP4 Net memory.

132 Error writing to HASP4 Net memory.

133 The current Login request exceeds the number of stations which may run the application at the same time.

134 The current login request exceeds the number of authorized activations for the application.

135 You called the hasp( ) routine with the Logout service without first calling the Login service.

136 The HASP License Manager is busy — this may occur if your HASP4 Net system is not well adapted to the network.

137 There is no space in the HASP4 Net log table.

138 Internal HASP4 Net error — the number of licensed stations is larger than the maximum number allowed by the HASP4 Net model.

139 The computer with the HASP4 Net crashed and was reactivated, or you called the hasp( ) routine with a service (not including 40, 85, or 96) without first calling the login service.

140 The HASP License Manager does not serve the network of your station.

141 Invalid service, or new version of the HASP API is communicating with an older version of the HASP License Manager.

142 The HASP License Manager matching the name specified in the HASP4 Net configuration file was not found.

150 No HASP License Manager with the assigned name was found. This error is returned by the SetServerByName service.

151 Two or more different HASP License Managers with the assigned name were found. This error is returned by the SetServerByName service.

152 The encode operation failed because the hardware does not support the service.

153 The decode operation failed because the hardware does not support the service.

155 An old version of the License Manager has been found. The API used requires a newer version of the License Manager to be installed.

Below is a flowchart to help identify which category your issue applies to. Troubleshooting sections for each category are below the flowchart.

 

Section 1 — Troubleshooting HASP errors

You may receive a HASP related error during the Intella installation process. Below you’ll find a list of the errors which have been reported to us, together with the solutions for these errors.

Error code 7 (H0007)
«HASP key not found (H0007)»

This error code might be caused by other HASP dongle protected programs. Please close down all HASP related programs (i.e. EnCase, Smart Mount) and reinstall Intella.

Error code 27 (H0027)
«Terminal services detected, cannot run without a dongle (H0027)»
NOTE: See No RDP access or Error H0027

This error code may be triggered because you are trying to use Intella via a remote desktop connection. Intella will only run via a RDP or terminal session with the dongle in place.

Error code 33 (H0033)
«Unable to access HASP SRM Run-Time Environment (H0033)»

HASP Error 33 means that the HASP license manager is not running, or the dongle driver has been blocked or deleted. 

1) Check the status of the HASP license manager service (hasplms) in Windows Task Manager. If it has been stopped for any reason, try starting the service to see if that fixes the issue.

2) If step 1 does not fix the issue, security software such as antivirus or the firewall may be getting in the way,  or they may have removed vital files.

In this case Intella will need to be reinstalled to fix the issue. You will need to turn off your security software and then reinstall Intella as the administrator. Also make sure that the Intella files and the Hasp files are added to the white list of any security software which you are running on the system.

Error code 37 (H0037)
This error code can be caused by other HASP dongle protected programs. Please close down all HASP related programs (i.e. EnCase, Smart Mount) and reinstall Intella.

If this problem persists, open a Command Prompt (as administrator) and run:

<intella-dir>binhaspdinst.exe -kp -i

and restart Intella.

If problem persists, open a Command Prompt (as administrator) and start the license manager by running:

Tip: To open a Command Prompt as an administrator, select Start > Accessories — Right click on Command Prompt and select «Run as administrator».

Error code 41 (H0041)
«Your Intella (trial) license has expired (H0041)»

This code is triggered if your trial license is expired. You can only keep on using Intella with a USB dongle.

If you are using a dongle, there can be two reasons why you may receive this error: 

1) The dongle is not being seen by the computer. Make sure it is plugged into the system and follow the troubleshooting steps shown for Error code 33 (H0033) above.

2) You don’t have the correct licenses on the dongle for the version of Intella that you are running. If you have downloaded, and installed the latest version of Intella on your system, this is likely the cause. You are running the latest version of the software, but your dongle does not have the latest license. You can update the dongle by running ‘Dongle Manager.exe’ (which is located in the Intella installation folder), and clicking on the ‘Check for updates’ button.

Error code 51 (H0051)
«Virtual machine detected, cannot run without a dongle (H0051)»

In order to protect our intellectual property, the evaluation version of Intella WILL NOT run in a virtual machine (VM) environment. A “stand-alone” physical machine is required. This is only true for the evaluation version and Intella P.I. Intella will run in a VM environment using a dongle.

Solution 1. Reconnect the USB dongle to your computer
Solution 2. Install the Intella evaluation version outside a virtual machine

Error codes (E1009) or (E0004) 
«Win32 Envelope — Data Loader Initialization Error» or «Cannot find HASP SRM Run-Time Environment DLL»

This error is shown when you are running an older driver for the dongle management system. It can happen when installing an older version of Intella or Connect. Try updating the driver to resolve the issue.

1) Stop Connect and any Intella instances that you may be running on this machine.

2) Visit https://sentinelcustomer.gemalto.com/sentineldownloads/
3) In the «Featured Downloads» section at the top, choose «Sentinel HASP/LDK — Windows GUI Run-time Installer» version 7.65 (this was the latest version at this writing).
4) Run this installer on your Connect machine.
5) Start Connect.

Section 2 — Troubleshooting dongle not being detected issues

You may experience an issue where the dongle has been working fine, but then is suddenly not detected by Intella. You may get the HASP key not found (H0007) error when this happens.

There are several causes for this issue. The first steps to take are to check whether there is a hardware issue:

1) Make sure that the dongle is plugged into the computer properly. If you are using a USB hub, try plugging the dongle directly into the computer.

2) Disconnect the dongle, pause a few seconds, then reconnect it again. If the LED lights up, the application should be able to access the dongle. You may need to wait a few seconds for the dongle to be completely installed by the operating system.

3) Check if the USB port is functioning correctly. Disconnect all other USB devices from their respective ports and connect the HASP dongle to a different USB port. You can also try using a different USB device in the port which the dongle was not accessible to verify that the port is actually working.

If you are still experience problems with the dongle not being detected and it is not a hardware issue, it may be a software issue. One of the most common causes for a dongle not being detected is when the dongle driver has been blocked or deleted. As mention above with Error Code 33 (H0033), this is usually because of security software such as antivirus software/firewall getting in the way or removing vital files. You may be able to uninstall and reinstall the HASP driver to solve your problem by following these steps:

1) Temporarily disable any security software you have running on the system.

2) Open a Command Prompt (as administrator)

3) Change the bin directory of the Intella installation directory for Intella (e.g. type cd c:Program FilesVoundIntellabin)

4) Once in the bin directory, run the following commands:

(i)   haspdinst -kp               (this stops the HASP service)

(ii)  haspdinst -r                 (this removes HASP)

(iii) haspdinst –purge          (this removes HASP completely)

(iv) haspdinst –I                 (this reinstalls HASP and starts the HASP service)

5) Add C:WINDOWSsystem32hasplms.exe in the Exception list of the antivirus and firewall applications, for example:

 

After you have done the steps above, you can check whether your dongle is detected by your system by following the steps below on the computer with the dongle plugged in:

1) Open a web browser.

2) Copy and paste or type http://localhost:1947/_int_/devices.html  into the URL field. The page that opens is called the Sentinel Admin Control Center or SACC. Note that no internet connection is needed as the SACC is local to your computer.

3) In the second row of the main screen you should see a picture of the dongle (a red, green or purple USB dongle, not the line showing the @ symbol in a key). Note: The Key ID is the serial number of your dongle.

If you see your dongle then Intella should work. If you do not have the SACC, or you do not see your dongle, you will need to reinstall Intella as a full administrator on the system.

It is also possible that something has changed in your environment such as the deployment of security software, group policies etc. Check with your IT team to see whether a change that they have made is causing the issue.

Section 3 — Dongle not showing or updating to the latest version

Vound uses a 3 number licensing system for its products. For example, for release 2.0.1, the 2 refers to the major release, the 0 refers to the feature release and the 1 refers to the minor update release.

Dongle licensing is applied at the major release, and feature release levels, which means that you don’t have to update your dongle for minor releases. For example, if my dongle is licensed for version 2.0, I will be able to run all versions that start with 2.0 such as version 2.0.0 and 2.0.1 etc.

Provided that your Maintenance Agreement (MA) is up to date, most dongle updates can be done automatically using the Dongle Manager program which is installed when Intella is installed. Dongle Manager has an option to ‘check for updates’, and will update the dongle if updates are available. 

Information on using Dongle Manager to automatically update your dongle, and manually updating your dongle can be found at this link: https://vound.kayako.com/article/202-license-dongle-activation

If you can’t see the latest version on your dongle after using Dongle Manager to check for updates, then the latest version is not loaded on the dongle. There are a number of reasons why an update will fail. These include:

1) Your MA has expired. Contact your Representative or the Sales team to renew your MA.

2) Your MA is current but you can’t update to a major release (e.g. from 1.9 to 2.0). For major releases, you need to have at least 60 days of MA left to receive a major update. Contact your Representative or the Sales team to extend your MA.

3) Your dongle is full and the new license can’t be installed. This happens occasionally with our older purple dongles (not the green or red dongles) as they have limited space and they can become full. We see this with customers who have been with Vound for some time and have many older versions of Intella on their dongle. This is not a big issue as the dongle can be cleared, and the new version (along with a few earlier versions for backwards compatibility) can be loaded onto the dongle. You will need to submit a support ticket as this involves manually updating the dongle.

4) Pending orders have not been applied to the dongle or have been applied in the wrong order. This can occur if you manually update your dongle using v2c files. Updates can be missed or applied out of order which stops the new license being applied to the dongle. You will need to submit a support ticket so the dongle can be fixed.   

5) You run a product that is not normally use on the type of dongle you have. E.g. you have Intella Professional (which is usually on a standalone dongle) on a network dongle. In these cases we need to create a license at our end before you run Dongle Manager to do the update. You will need to submit a support ticket so the license can be made.   

 We have a video with more information regarding dongles and licensing at this link: https://youtu.be/5cKvxbcGrSY

Section 4 — Other issues related to dongles or HASP 

If you have an issue with your dongle or HASP that is not covered in the above three sections, please submit a support ticket via our support site: https://support.vound-software.com/conversation/new

Note that it is extremely rare that a dongle will give trouble. When you receive dongle errors, it is most likely that the HASP software is not installed properly, or the License Manager is not running. The License Manager needs to be running on your system for the dongle to work. You can run some checks on your system to see if the drivers are installed and that the license manager is running.

HASP drivers Installed

Intella is shipped with the latest SafeNet HASP dongles. Intella is also packaged with the SafeNet HASP RTE installer.

When Intella is installed onto the system, the HASP drivers are also installed onto the system. Under ‘Universal Serial Bus Controllers’ in ‘Device Manager’ on your system, you should see the following three entries:

If any of these items have a red X or a yellow warning sign, they may not have been installed properly and the drivers should be installed again.

License Manager running

Follow these steps to make sure that the License Manager is running.

1) Open a Command Prompt (Start > All Programs > Accessories > Command Prompt)

2) Enter: sc query hasplms

3) Review the result which should look like this:

SERVICE_NAME: hasplms
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE,NOT_PAUSABLE ,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

If you see 4 RUNNING under State then the License Manager is running. 

You can also check the License Manager’s status in the Services section of the Windows Task Manager. The status should show that the License Manager is running. 

If the License Manager is not running, try right clicking on the Licence Manager and select ‘Start Service’. If the service will not start, check the event log for entries relating to the HASP License Manager service. The event log should give an error message that can be used to help diagnose the issue.

  • 1 Что такое серия разработчика (или код ключей) и что такое Vendor ID?
  • 2 Обновление прошивки (firmware) ключа HASP HL до версии 3.25
  • 3 Процедура установки/удаления драйвера ключа
  • 4 Работа с ключом на виртуальных машинах
  • 5 Ошибка: «HASP not found (-10), (-11), (Error 27), (H0027), Terminal services detected»
  • 6 Ошибка «HASP not Found (-3), (Error 7), (H0007)»
  • 7 Какие существуют утилиты для мониторинга доступа к ключу и занятых лицензий?
  • 8 Два ключа защиты ПО Sentinel (HASP) на одном компьютере
  • 9 Автозагрузка приложения, использующего ключ защиты Sentinel (HASP)
  • 10 Порядок обращения в техническую поддержку
  • 11 Какой срок гарантии на ключи Sentinel (HASP)?
  • 12 В чём различия между технологиями HASP4, HASP HL и Sentinel LDK (SRM)?
  • 13 Есть ли совместимость у ключей Sentinel (HASP) с предыдущими версиями, если есть, то какая?
  • 14 Какие документы нужны для отправки ключа за границу?
  • 15 Как узнать версию комплекта разработчика?
  • 16 Как узнать, какой системой защиты вы пользуетесь?
  • 17 Где взять документацию к комплекту разработчика?
  • 18 Какие варианты защиты существуют?

Что такое серия разработчика (или код ключей) и что такое Vendor ID?

Серия разработчика = Batch code = код разработчика = серия ключей – равнозначные понятия.

За каждым разработчиком при первоначальной покупке ключей закрепляется уникальная серия разработчика. В дальнейшем ключи данной серии продаются только данному конкретному разработчику.

Ключи разных серий разработчика обладают различным криптоповедением, благодаря чему ключи от одной серии не подходят для работы с приложением, защищённым на ключи другой серии разработчика.

При последующей покупке ключей разработчик в заказе указывает ту серию разработчика, под которую ему необходимо приобрести ключи (за разработчиком могут быть закреплены несколько различных серий).

Batch code нанесён на корпус каждого ключа (как пользовательского, так и служебного) и выглядит как последовательность из нескольких латинских символов, вида: «CDQDR», «DEMOMA» и т.д.

DEMOMA — серия разработчика, присвоенная демонстрационным ключам. Серия DEMOMA интегрирована в комплект разработчика и предназначена для тестирования функционала комплекта разработчика. Для работы с ключами серии DEMOMA не требуется наличие Sentinel (HASP) HL Master ключа.

Vendor ID – числовой эквивалент серии разработчика, отображается в Sentinel Admin Control Center на вкладке Sentinel Keys в столбце Vendor для подключенного ключа. Исключение – служебные ключи Sentinel (HASP) HL Master и Sentinel (HASP) HL Developer. Для этих ключей Vendor ID всегда одинаковый – «64294» и отличен от Vendor ID серии разработчика клиента.

Vendor ID содержится в именах всех кастомизированных под данную конкретную серию разработчика библиотек Sentinel LDK Licensing API из комплекта разработчика.

Обновление прошивки (firmware) ключа HASP HL до версии 3.25

Обновление микропрошивки в стандартном режиме производится автоматически при соблюдении двух условий:

  1. Наличия на ПК актуальной версии установленного драйвера для ключей Sentinel (HASP);
  2. Наличия на ПК активного интернет соединения.

При подключении к ПК ключа с микропрошивкой версии ниже 3.25 (за исключением 2.17), например версии 2.16, ключ сам должен обновиться. Визуально это сопровождается миганием светодиода ключа с момента начала и до момента окончания процедуры обновления микропрошивки. Обычно эта процедура занимает несколько секунд. В ходе обновления микропрошивки ни в коем случае не следует отключать ключ от порта!

Если же обновление микропрошивки не было произведено в автоматическом режиме, то есть возможность выполнить это вручную. Сделать это можно двумя способами:

  • Обновление USB-ключей HASP HL до функциональности HASP SRM с помощью утилиты Firmware Update: ftp://ftp.cis-app.com/pub/hasp/Sentinel_HASP/Firmware_Update/HASP_HL_Firmware_Update.zip
  • Обновление USB-ключей HASP HL до функциональности HASP SRM с помощью файла* V2C: ftp://ftp.cis-app.com/pub/hasp/Sentinel_HASP/Firmware_Update/HASP_HL_Firmware_Update_v2c.zip

*Файл применяется к ключу с помощью: стандартной утилиты RUS под данную серию разработчика, либо через интерфейс драйвера — Sentinel Admin Control Center.

Процедура установки/удаления драйвера ключа

Для OS Windows Vista и ниже необходимо выполнять оба раздела инструкции, для Windows 7 и выше только «Раздел II».

Перед установкой/удалением необходимо убедиться, что UAC отключен и после его отключения ПК был перезагружен.

Раздел I. Удаление драйверов версии 4.116 и ниже.

  1. Войти в систему как администратор.
  2. Если возможно, следует временно отключить любое защитное ПО (антивирус, брандмауэр).
  3. Отключить все локальные Sentinel (HASP) ключи.
  4. Загрузить драйвер 4.116: https://drive.google.com/file/d/1VS6wUe0kEsUYE2hqe-NtQIcvuuVzndAm/view для проверки, не установлено ли старых версий драйверов.
  5. Распаковать загруженный архив на диск и в командной строке перейти в директорию с файлами из архива.
  6. Запустить «hinstall –r –alldrv» для удаления версий, установленных ранее.
  7. Если возникли проблемы с удалением, обратитесь к пункту настоящей инструкции «ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА».

Раздел II. Установка/удаление драйверов версии 5.х и выше.

  1. Войти в систему как администратор.
  2. Если возможно, следует временно отключить любое защитное ПО (антивирус, брандмауэр).
  3. Скачать свежую консольную версию драйвера: https://thales-sentinel.ru/helpdesk/download-space/
  4. Отключить все локальные Sentinel (HASP) ключи.
  5. Разархивировать драйвер.
  6. Выполнить из командной строки «haspdinst.exe –fr –kp –purge» для удаления версий, установленных ранее.
  7. Выполнить «haspdinst.exe –i» для установки драйвера.
  8. Если возникли проблемы с удалением, следует обратиться к пункту инструкции «ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА».
  9. Открыть браузер и перейти по адресу http://localhost:1947; проверить, что ключ отображается на странице «Sentinel Keys».
  10. Проверить, что приложение работает. Если нет:
  • Использовать «MsConfig» для остановки всех служб, которые не относятся к Microsoft, перезагрузите компьютер и проверить снова.
  • В случае отказа системы необходимо сохранить «дамп памяти ядра».
  • В случае отказа Менеджера лицензий (HASP License Manager) необходимо сохранить лог (event log: Пуск -> Панель управления -> Администрирование -> Просмотр событий) и сохранить скриншот возникающей ошибки.
  • Удалить файл «C:\Windows\aksdrvsetup.log», запустить «haspdinst –i –v», сохранить созданный файл aksdrvsetup.log
  • Запустить «MsInfo32» (Пуск -> выполнить -> msinfo32 -> Ввод), создать .NFO log и выслать его.

Все сохранённые данные по проблеме необходимо передать в службу технической поддержки, порядок обращения в техническую поддержку см. «Порядок обращения в техническую поддержку».

ПРОБЛЕМЫ ВО ВРЕМЯ УСТАНОВКИ ДРАЙВЕРА

  • Удалить все компоненты HASP через «Установка/удаление программ».
  • Остановить все службы, которые содержат в названии «Hasp» или «HLServer».
  • Удалить все файлы aks*.*, «hardlock.sys» и «haspnt.sys» из папки c:\windows\system32\drivers» (если они не используются другими приложениями).
  • Удаление драйверов в «Диспетчере устройств»:

o Зайти в «Панель управления»\«Система».

o Перейти на вкладку «Оборудование» и откройте «Диспетчер устройств».

o Выбрать в меню «Показать скрытые устройства».

o Раскрыть пункт «Драйверы устройств не Plug and Play».

o Удалить каждый из следующих пунктов, если они присутствуют: «Hardlock», «Haspnt», «HASP fridge».

  • Еще раз удалить драйверы с помощью команды «haspdinst –purge», а затем установить с помощью «haspdinst –i».

Работа с ключом на виртуальных машинах

Работа на виртуальных машинах ограничивается двумя факторами:

  1. Используемой системой защиты.
  2. Используемой платформой виртуализации.

Для каждой системы защиты есть свой список официально поддерживаемых платформ виртуализации, посмотреть который можно либо на сайте sentinelcustomer.safenet-inc.com/platformsupport/, либо в документации к используемому комплекту разработчика.

Некоторые платформы виртуализации не поддерживают проброс USB устройств с реальной машины в виртуальную, например Microsoft Virtual Server + Hyper-V.

При использовании виртуальных сред с балансировкой нагрузки может происходить блокировка работы программных ключей Sentinel (HASP) SL, так как при балансировке нагрузки виртуальная машина фактически «перемещается» с одного физического ПК на другой, вследствие чего изменяется параметр привязки CPU ID, подробнее см. «Ошибка SL Clone detected».

Ошибка: «HASP not found (-10), (-11), (Error 27), (H0027), Terminal services detected»

Возникновение данной ошибки возможно в следующих случаях.

  1. При обнаружении программ терминального доступа типа Microsoft Terminal Server (в т.ч. служба RDP – Remote Desktop), Citrix Winframe/Metaframe и т.д. драйвер ключа блокирует доступ к ключу. Т.е. ключ не должен находиться на одной машине с активным терминальным ПО. Для систем защиты HASP HL и Sentinel HASP* разработчик защищенного приложения имеет возможность контролировать данную опцию, разрешая или запрещая работу на терминальном сервере. Для ключей HASP4 она задана жестко и не может быть отключена. Если вы являетесь пользователем защищенного ПО, то варианты решения данного вопроса следующие:
    • Остановить работу терминального сервера.
    • Разместить ключ на любом другом компьютере в сети, если ключ сетевой.
    • Обратиться к разработчику защищенного ПО.
  2. Ошибка «HASP not found (-10)» также может возникать при запуске приложений, защищенных с помощью HASP4 под Windows Vista/Windows 7.

* Для стандартной Feature 0, которая есть во всех ключах по умолчанию, лицензионные ограничения изменять нельзя. При этом для всех локальных ключей Sentinel HL для Feature 0 запрещена работа в терминальном режиме, а для сетевых ключей Sentinel (HASP) HL Net и сетевых ключей Sentinel (HASP) HL NetTime – разрешена. Соответственно, если защита программ осуществляется через Sentinel LDK Envelope на Feature 0 (например, используется DataHASP, который для своей работы использует Feature 0), то защищённое таким образом ПО может работать на терминальном сервере только с сетевым ключом, в котором для Feature 0 разрешён терминальный режим. С локальными ключами ПО будет выдавать ошибку «HASP_TS_DETECTED = 27».

Для локальных ключей рекомендуется использовать для защиты Feature отличную от Feature 0, в таком случае можно записать в локальный ключ требуемую Feature с разрешением работы на терминальном сервере (RDP). Однако следует учитывать, что при использовании локального ключа с Feature с разрешённой опцией RDP на терминальном сервере не будут ограничиваться одновременно запущенные копии ПО. Таким образом все запущенные на терминальном сервере экземпляры защищённого ПО будут потреблять одну лицензию с локального ключа, так как все копии ПО запущены на одной и той же машине (на RDP сервере) и система считает их за одну потребляемую лицензию. Таким образом в подобной ситуации пользователь сможет запустить столько экземпляров защищённого ПО, сколько подключений позволит создать сам терминальный сервер.

Для сетевых же ключей всегда можно для Feature, отличной от Feature 0, указать на какое количество сетевых мест рассчитана данная лицензия, а также можно изменить механизм подсчёта лицензий, указав что подсчёт лицензий требуется выполнять не по Станциям, а по Процессам, что позволит избежать ситуации аналогичной ситуации описанной выше (с локальными ключами).

!Update!: в системе защиты Sentinel LDK (в актуальной версии SDK LDK), для локальных моделей ключей Sentinel HL, работающих в Driverless режиме (для всех моделей кроме Sentinel HL Basic), есть возможность записывать сетевые лицензии с разрешённой / запрещённой работой RDP и с подсчётом подключений: по станциям, по процессам и по логинам. Благодаря чему любую, изначально локальную модель ключа можно превратить в сетевую. Но этот функционал требует приобретения дополнительных лицензий (HL seats) на Ваш Мастер ключ.

Ошибка «HASP not Found (-3), (Error 7), (H0007)»

Возникновение данной ошибки возможно в следующих случаях.

  • Ключ Sentinel (HASP) не подсоединен к компьютеру. Необходимо подсоединить ключ защиты.
  • Подсоединен ключ Sentinel (HASP) другой серии (ключ от другого ПО). Необходимо подсоединить ключ требуемой серии (ключ от данного приложения).
  • Сетевой ключ, подсоединенный к компьютеру в сети, на самом деле не является сетевым (сетевой ключ должен содержать в себе сетевую лицензию). Следует проверить установленный ключ и, в случае ошибки, подключить требуемый сетевой ключ Sentinel (HASP).
  • На компьютере, где установлен сетевой ключ Sentinel (HASP), не запущен менеджер лицензий. Следует установить и запустить менеджер лицензий.
  • На компьютере, где установлен ключ, или на компьютере, где запускается защищенное приложение, блокируется передача трафика по 475 или 1947 порту (активен firewall, брандмауэр windows, антивирусные программы также могут блокировать передачу по сети). Необходимо отключить все ПО, которое может блокировать доступ к ключу.

Какие существуют утилиты для мониторинга доступа к ключу и занятых лицензий?

  • Для систем защиты HASP4 и HASP HL в этих целях используется утилита Aladdin Monitor.
  • Для системы защиты Sentinel LDK (SRM) в этих целях используется менеджер лицензий Sentinel Admin Сontrol Center, встроенный в драйвер ключа и доступный по адресу: http://localhost:1947/

Два ключа защиты ПО Sentinel (HASP) на одном компьютере

При установке двух и более ключей защиты программного обеспечения Sentinel (HASP) на один компьютер следует учитывать, следующее:

  • Ключи, имеющие разные серии, будут работать нормально.
  • Для системы защиты HASP4: ключи одной серии будут работать, если такая возможность была реализована разработчиком защищенного ПО. Если же разработчиком данная возможность не была реализована, то ключи, относящиеся к одной серии, не будут работать совместно на одном компьютере, будет виден только один из них: либо ближний к порту (в случае с LPT-ключами), либо размещенный на порту с младшим адресом (в случае с USB-ключами защиты программ HASP).
  • Для системы защиты HASP HL: ключи, относящиеся к одной серии, не будут работать совместно на одном компьютере, будет виден только один из них: либо ближний к порту (в случае с LPT-ключами), либо размещенный на порту с младшим адресом (в случае с USB-ключами защиты программ Sentinel (HASP)).
  • Для системы защиты Sentinel LDK (SRM): ключи, относящиеся к одной серии, могут работать совместно на одном компьютере, будут видны все ключи. ПО будет работать с тем из них, на котором есть свободная лицензия, требуемая для работы защищённого приложения. Порядок опроса ключей, подключенных к ПК, определяется порядком размещения. Первым опрашивается ключ, размещенный на порту с младшим адресом, и т.д. по возрастанию адреса. Также для данной системы защиты можно контролировать, к какому ключу следует подключаться защищённому приложению. Реализуется это следующим образом:

Сначала используется функция hasp_get_info() для получения ID всех ключей. Далее выбирается нужный ID и при помощи функции hasp_login_scope открывается сессия с ключом. Более подробно можно посмотреть в утилите Sentinel LDK ToolBox (интерактивное руководство по функциям Sentinel LDK Licensing API), которая устанавливается в составе Sentinel LDK Vendor Suite.

Возможные решения данной проблемы:

  1. Замена нескольких ключей защиты программ Sentinel (HASP) на один, с большим количеством лицензий (необходимо обратиться к разработчику защищенного программного обеспечения).
  2. Установка ключей защиты на разные компьютеры с последующей установкой и настройкой менеджеров лицензий при каждом ключе, см. «Два и более менеджеров лицензий (HASP License Manager) в сети».
  3. Возможность обрабатывать наличие двух ключей на одном компьютере существует для систем защиты HASP4 (путем адресации запроса на конкретный порт) и Sentinel LDK (SRM) (с помощью функции hasp_get_info() и hasp_login_scope). Для системы защиты HASP HL данная возможность отсутствует.

Автозагрузка приложения, использующего ключ защиты Sentinel (HASP)

Приложение должно загружаться после того, как завершится инициализация драйвера ключа защиты ПО Sentinel (HASP). Это можно сделать как на уровне пользователя, так и на уровне разработчика защищенного ПО.

Если вы являетесь разработчиком защищенного приложения, то при установке защиты на приложение с помощью Sentinel LDK Envelope следует указать на необходимость дождаться окончания загрузки драйвера («Protection Details» — «Protection Settings» — «Run-time wait»). При защите с помощью Sentinel LDK Licensing API необходимо реализовать задержку вручную в коде приложения.

Если вы пользователь защищенного ПО, то задержку необходимо реализовать с помощью сторонних утилит. Также можно попробовать изменить порядок загрузки драйверов, однако результат в данном случае гарантировать нельзя.

Порядок обращения в техническую поддержку

Обращение в техническую поддержку осуществляется через партнёра, у которого приобретаются ключи (для всех клиентов, приобретающих решение через дистрибьюторов).

Конечные пользователи защищённого ПО должны обращаться за поддержкой к разработчику ПО, а он, при необходимости, заводит обращение в компанию Gemalto(SafeNet) через портал технической поддержки или к дистрибьютору (если ключи приобретаются через него).

Какой срок гарантии на ключи Sentinel (HASP)?

  • Гарантия на ключи Sentinel (HASP) – 2 год.
  • На батарейку в ключах моделей Sentinel (HASP) HL Time и Sentinel (HASP) HL NetTime – 4 года.

В чём различия между технологиями HASP4, HASP HL и Sentinel LDK (SRM)?

  1. HASP4 – устаревшая система защиты, была актуальна с 1996 по 2006 год и на данный момент полностью снята с поддержки.
    • Для работы с системой защиты используются два пароля.
  2. HASP HL – устаревшая система защиты, на данный момент снята с поддержки.
    • Для работы с системой защиты использовался белый HASP HL Master ключ. Реализована публичная криптография. Появилась поддержка удалённого обновления лицензий в ключах защиты.
  3. Sentinel LDK (SRM) / Sentinel HASP / HASP SRM – актуальная на данный момент система защиты, обладает обратной совместимостью с HASP4 и HASP HL.
    • Для защиты ПО используется синий Sentinel HL Master ключ. Появилась поддержка:
      • x64-битных ОС как для защищённых приложений, так и для самого комплекта разработчика.
      • Программных ключей защиты – Sentinel (HASP) SL.
      • Технологии AppOnChip – исполнения части кода приложения внутри ключа.
      • Технологии Driverless – работа с ключом без установки драйвера, ключ определяется как HID совместимое устройство.
      • Интеграции системы лицензирования с CRM системами по средствам API.
      • Актуальных версий ОС симейств Windows, Linux и Mac OS X.и т.д.
      • И т.д.

Есть ли совместимость у ключей Sentinel (HASP) с предыдущими версиями, если есть, то какая?

Ключ HASP4 может работать только с системой защиты HASP4 и не поддерживает работу с другими системами защиты.

Ключ Sentinel (HASP) HL обладает обратной совместимостью со старыми системами защиты. Чтобы использовать ключи Sentinel (HASP) HL со старыми системами защиты, необходимо применять инструменты из соответствующих версий комплектов разработчика (API / Envelope / утилиты для записи лицензий в ключи: HASP4 — HASPEdit, HASP HL — Factory, Sentinel LDK (SRM) — Business Studio / Sentinel LDK EMS).

Современная система защиты Sentinel LDK (SRM) обладает обратной совместимость с предыдущими системами защиты HASP HL и HASP4:

  • На уровне драйвера. Драйвер от современной системы защиты поддерживает работу ключей и от более старых систем защиты.
  • На уровне API. API от современной системы защиты поддерживает вызовы старых функций API от более старых систем защиты.
  • На уровне утилиты автоматической защиты Sentinel LDK Envelope. Sentinel LDK Envelope поддерживает защиту приложений в режиме системы защиты HASP HL, для защиты используются вызовы функций API от соответствующей системы защиты.

Какие документы нужны для отправки ключа за границу?

Достаточно номера нотификации:

  • Для ключей Sentinel HL – RU0000014501;
  • Для ключей Sentinel HASP – RU0000013379;
  • Для ключей Sentinel Drive – RU0000014400;
  • Для ключей Sentinel Developer, Master – RU0000015552;
  • Для ключей Sentinel SuperPro, UltraPro – RU0000009290;
  • Для ключей SHK – RU0000009291;
  • Для ключей Microdog – RU0000016432;
  • Для ключей Hardlock – RU0000014113.

Информацию о нотификации вы можете найти на сайте таможенного союза Евразийской экономической комиссии eurasiancommission.org либо запросить её в Представительстве компании Thales, по адресу: sm-ru@thalesgroup.com

Как узнать версию комплекта разработчика?

Версия комплекта разработчика пишется в заголовках окон утилит используемого комплекта разработчика, таких как: Vendor Suite, Envelope, Toolbox и т.д.

Достаточно посмотреть на версию Vendor Suite.

Как узнать, какой системой защиты вы пользуетесь?

Если для защиты или лицензирования своего ПО вы использовали:

  • Два пароля. – Система защиты HASP4.
  • Белый Master ключ. – Система защиты HASP HL.
  • Синий Master ключ. – Система защиты Sentinel LDK (SRM).

Также существуют другие косвенные признаки использования той или иной системы защиты, например:

  • Версия используемого комплекта разработчика 1.3 или ниже – система защиты HASP HL; выше 1.3 – система защиты Sentinel LDK (SRM);
  • Для лицензирования ПО используете утилиту Business Studio – система защиты Sentinel LDK (SRM) версии 5.хх и ниже;
  • Для лицензирования ПО используете утилиту Sentinel LDK EMS – система защиты Sentinel LDK (SRM) версии 6.х и выше;
  • Для лицензирования ПО используете утилиту Factory – система защиты HASP HL;
  • Для лицензирования ПО используете утилиту HASP Edit – система защиты HASP4;
  • Если вы используете утилиту Bistro – система защиты Hardlock;
  • Используете драйверы версии 4.102 или 4.116, и утилиты HASP License Manager и Aladdin Monitor – вероятнее всего либо система защиты HASP4, либо HASP HL (но для HASP HL более характерны драйверы версии 5.20).

Где взять документацию к комплекту разработчика?

Документация к комплекту разработчика есть на диске с самим комплектом разработчика, либо в образе диска. Она доступна на любом ПК с установленным комплектом разработчика.

  • Для системы защиты HASP4 документация доступна в Help файлах к утилитам из комплекта разработчика.
  • Для системы защиты HASP HL документация доступна примерно по такому пути: «C:\Program Files\Aladdin\HASP HL\Docs\».
  • Для системы защиты Sentinel LDK (SRM) документация доступна примерно по такому пути: «C:\Program Files (x86)\Gemalto Sentinel\Sentinel LDK\Docs\». Также можно воспользоваться онлайн документацией: sentinelcustomer.safenet-inc.com/Documentation_Information.aspx

Какие варианты защиты существуют?

Возможны три варианта защиты вашего ПО:

  1. С помощью утилиты автоматической защиты Envelope: скомпилированный файл «.exe», «.dll», «.jar» и т.д. (зависит от используемой системы защиты и комплекта разработчика) добавляется в проект защиты утилиты Envelope, для него указываются требуемые настройки защиты, после чего осуществляется автоматическая защита программного обеспечения. На выходе получается файл с таким же расширением, но только уже со встроенными механизмами защиты ПО, такими как:
    • Привязка к ключу защиты;
    • Шифрование кода приложения;
    • Обфускация кода приложения;
    • Борьба с отладчиками и многое другое, в зависимости от используемой системы защиты и версии используемого комплекта разработчика.
  2. С помощью API из комплекта разработчика: разработчику предоставляется набор функций API для работы с ключами защиты (проверка наличия ключа защиты с необходимой лицензией, чтение/запись в память ключа, шифрование данных с помощью криптопроцессора ключа и т.д.), на базе которых он должен самостоятельно реализовать требуемые механизмы защиты своего ПО и встроить их в код своего приложения. Данный вариант крайне гибок, так как реализация защиты целиком и полностью зависит от фантазии разработчика, но и гораздо более сложен, нежели вариант с автоматической защитой с помощью утилиты Envelope.
  3. Комбинация первых двух вариантов: часть функционала работы с ключом разработчик реализует в коде своего приложения с помощью API из комплекта разработчика, а потом скомпилированный файл обрабатывает утилитой Envelope. Данный метод наиболее гибок и надёжен в плане защиты ПО.

Компания Thales регулярно проводит бесплатные семинары по построению надёжной защиты на базе API на территории СНГ. Расписания мероприятий доступно на сайте: https://safenet-sentinel.ru/

Содержание

Решение проблем с технологией защиты

  1. Если драйвер, поставляемый с установочным диском устарел, то последнюю версию драйвера всегда можно получить на сайте компании SafeNet http://safenet-sentinel.ru/helpdesk/.

HASP LM Server running

Сообшение при установке драйвера ключа защиты Sentinel Hasp:
 HASP LM Server running

Уже запущен менеджер лицензий HASP. Это не одно и тоже, что Sentinel HASP.
Решение:

  1. Дождитесь, когда пользователи выйдут из баз 1С и прекратят использовать прочие ключи HASP.

  2. Остановите службу «HASP Loader».

  3. Установите драйвер защиты из дистрибутива МИКО.

Ошибка 48

Установлен «не поддерживаемый» драйвер защиты.
Проблема описана в статье HASP_NO_VLIB

Решение:

  1. Удалите используемый драйвер защиты Sentinel HASP.

  2. Установите драйвер защиты из дистрибутива МИКО.

Ошибка 42

При подключении панели телефонии может возникать следующая ошибка «Версия менеджера лицензии Sential HASP устарела КОД: 042«

Ошибка означает, что у Вас используется версия панели телефонии, которая не может работать с установленной на данный момент версией драйвера Hasp. Необходимо обновить версию драйвера HASP. Решение представлено в инструкции.

Ошибка H0033

Системное сообщение «Unable to access Sentinel Run-time Environment (H0033)».

Решение:

  1. Установите драйвер защиты из дистрибутива МИКО.

  2. Откройте обработку 1С повторно.

Ошибка 48 5 718 1275

Эта ошибка может возникать при попытке установки драйвера защиты.
 Ошибка 48 5 718 1275

Скорее всего устанавливаемый драйвер защиты устарел. Скачайте актуальный дистрибутив панели телефонии. В каталоге «Protect» находится актуальная версия драйвера для текущего релиза панели телефонии.

ПК не видит сетевой ключ

Если на удаленной машине захватывается тиральный ключ, это значит что ПК не видит лицензий с удаленной машины.

На клиентской машине нужно установить драйвер защиты.
Перейти в браузере в http://localhost:1947


В настройках указать «Aggressive Search for Remote Licenses».

В поле «Specify Search Parameters» указать ip адреса сервера с лицензией.
Адреса вводятся каджый на новой строке.

В http://localhost:1947/_int_/devices.html
должны отобразиться ключи с удаленной машины.

Hasp Key Inactive

Сообщение наблюдается в web интерфейсе localhost:1947, в разделе «Sentinel Keys»:

Сообщение означает, что ключ был отключен. Такое может происходит в случае апгрейда ключа до большего числа лицензий. В таком случае необходимо активировать дополнительный «.v2c» файл.

В личном кабинете будет два ключа защиты:

  1. Основной ключ

  2. Ключ апгрейда на более емкий.

Для случая переустановки ОС следует активировать ключи последовательно.

Комментарии

Понравилась статья? Поделить с друзьями:

Интересное по теме:

  • Коды ошибок icmp
  • Коды ошибок howo sinotruk
  • Коды ошибок h22a
  • Коды ошибок hotpoint ariston wmsg 608
  • Коды ошибок ford probe

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии