Posts Tagged ‘Windows’

Updated code signing certificate

Monday, July 6th, 2015

Security_Certificate_InformationA signature under a document typically provides some kind of authorization. At the same time, it also ensures a way to verify that the document was signed by the person who claims to have done so, by comparing the signature with a trusted source.

Code signing of executable files allows similar verifications that can enhance security. All binary executable files delivered by COPA-DATA are digitally signed using a code-signing certificate. This allows a user to:

  • verify that the executable file originates from COPA-DATA
  • verify that the executable file has not been modified since it was published by COPA-DATA

In the file properties, Windows Explorer allows a user to check the validity of a digital signature in the tab “Digital signature”. Other tools like “Process Explorer” and “sigcheck.exe” by Sysinternals (Microsoft) allow automated verification of digital signatures on executable files. The “signtool”, which is part of the Windows SDK, also allows such checks.

Application whitelisting software can often make use of digitally signed executable files. It may be configured to only allow executing files that are issued by a trusted issuer, based on the digital code signing certificate used by the trusted issuer. An executable that has been tampered with or that is not issued by the trusted issuer, would not execute.

Microsoft has deprecated the use of SHA-1 code signing certificates and no longer supports it as of 01.01.2016. Instead, Microsoft recommends using SHA-2 (SHA-256) Code Signing certificates. Certificate Authorities, the issuers of digital certificates, have followed this notice and no longer provide SHA-1 Code Signing certificates that have a validity extending beyond 01.01.2016.

Microsoft does not fully support SHA-2 Code Signing certificates in all versions of Windows however. General support for SHA-2 Code Signing certificates is not available on older operating systems. In newer versions of Windows without all the latest updates, SHA-2 Code Signing may be available for regular binary executable files but not for kernel level drivers. For some versions, Microsoft does provide updates that supports Code Signing for kernel level drivers. Have a look at Microsoft’s Security Advisory – knowledge base article 3033929 for more information.

This is not the case for Windows XP and Windows Vista. And although these operating systems are no longer supported for current zenon versions, older zenon versions that are still maintained, may need an update of the older zenon version that runs on these operating systems.

Binary executable files issued by COPA-DATA after 12.06.2015 will therefore have a dual signature. One SHA-1 signature and an additional SHA-256 signature. Only the SHA1 signature will be displayed on older operating systems and it will still be possible to verify the file integrity by checking the SHA-1 signature. On newer operating systems, the SHA-256 signature can also be verified.

zenon 7.10 and Windows 8 Multi-Touch – Programming in VSTA – Part 1

Thursday, July 11th, 2013

In the previous blog entries regarding Multi-Touch we talked about the natively integrated features in zenon 7.10. However, the creativity of our customers has no limit and zenon, being an open system, supports the integration of custom solutions e.g. via VSTA.

Fundamentals

The new features Windows 8 brings to Multi-Touch can be used directly via the zenon API (VSTA only, because of 64-bit). If you take a closer look at what’s happening in the background when moving your finger around the screen for example, you will find that a lot of single events are being generated. On the one hand this means that you get a lot of data you need to sort through by yourself and on the other hand a great deal of performance is wasted. When talking about Multi-Touch events we need to distinguish between two types:

  • Raw touch points (WM_POINTER messages)
  • Preprocessed, recognized gestures, e.g. a manipulation

Raw touch points in VSTA

This time we are focusing on the raw touch points: zenon 7.10 now allows you to pre-filter these messages at each screen, so if you are only interested in receiving PointerDown and PointerUp messages you don’t have to handle everything else and analyze thousands of events to find the right one. In VSTA you can react on events like

  • PointerActivate
  • PointerCaptureChanged
  • PointerDeviceChange
  • PointerDeviceInRange
  • PointerDeviceOutOfRange
  • PointerDown
  • PointerEnter
  • PointerHWheel
  • PointerLeave
  • PointerUp
  • PointerUpdate
  • PointerWheel

For example:

void DynPics_PointerDown(zenOn.IDynPicture obDynPicture, zenOn.IElement obElement, object vPointerId, bool bNew, bool bInRange, bool bInContact, bool bPrimary, bool bFirstButton, bool bSecondButton, bool bThirdButton, bool bFourthButton, bool bFifthButton, int lX, int lY)
{
string CelString = string.Format(“VSTA: {0} on {1} “,
System.Reflection.MethodBase.GetCurrentMethod().Name, obDynPicture.Name);
string ButtonMatrix = “”;
ButtonMatrix += (bFirstButton == true) ? “[1]” : “[x]”;
ButtonMatrix += (bSecondButton == true) ? “[2]” : “[x]”;
ButtonMatrix += (bThirdButton == true) ? “[3]” : “[x]”;
ButtonMatrix += (bFourthButton == true) ? “[4]” : “[x]”;
ButtonMatrix += (bFifthButton == true) ? “[5]” : “[x]”;
 
CelString += string.Format(“pointer-id: {0}, is-new: {1}, is-in-range: {2}, is-in-contact: {3}, is-primary: {4}, buttons: {5}, [X, Y]: {6},{7}”, Convert.ToString(vPointerId), bNew, bInRange, bInContact, bPrimary, ButtonMatrix, lX, lY);
Cel().WriteCelString(CelString);
}

For further information on this Pointer, please call up GetPointerInfo(VARIANT vPointerId) As VARIANT

 

 

zenon 7.10 and native Windows 8 Multi-Touch features – Part 3

Wednesday, April 24th, 2013

zenon_general_Alarmlist-w-HandLast time we went through the native Multi-Touch capabilities in zenon 7.10 for

cialis prix

dynamic elements and the screens. This time we will focus on the new Multi-Touch features in the Alarm Message List, Chronological Event List, Extended Trend Module and the new touch-optimized time filter controls.

Alarm Message List / Chronological Event List

One main goal was to make

cheap cialis online

our most important lists – the Alarm Message List and the Chronological Event List – Multi-Touch capable. You now can navigate and interact in the list directly with your fingers, making extra buttons for navigation etc. unnecessary.

The Reactions for Manipulation (allowing scrolling horizontally and/or vertically) are configurable as well as the reactions for “tap” and “double tap”:

  • no reaction
  • selection (tap only)
  • execute zenon function
  • acknowledge alarm (double tap only)
  • execute alarm function (double tap only)
  • open help for alarm (double tap only)
  • start/stop list

    (double tap only)

For the Chronological Event List the same possibilities are available for navigating the list and for “tapping”, just as in the Alarm Message List.

Extended Trend Module

The Extended Trend Module now offers the possibility to natively zoom and scroll and set the reactions for “double tap” and “tap and hold”:

  • no reaction
  • execute zenon function
  • zoom to 100% (double tap only; also available as button now)
  • step back (double tap only)

Time Filter

Another goal was to make our time filters more touch-friendly. New controls are now available for the Time Filter, Alarm Message List Filter and Chronological Event List Filter screens, which are highly configurable in terms of Multi-Touch as well as graphically, e.g. with line height.

My next entry will include the options for customized zenon Multi-Touch implementations in VSTA.

 

zenon 7.10 and native Windows 8 Multi-Touch features – Part 2

Monday, April 8th, 2013

Last time we focused on the key concepts behind Windows 8 Multi-Touch – direct manipulation and gestures. In the next two parts of this blog series, we will address the new Multi-Touch features integrated natively into zenon 7.10.

Multi-Touch in zenon 7.10

With the implementation of Windows 8 Multi-Touch into zenon 7.10  we focused on facilitating an out-of-the-box experience without the need for programming. Reactions to gestures can be parameterized directly in the zenon Editor  – the integrator can focus on defining interactions instead of programming gesture recognition.

Dynamic Elements

At each zenon dynamic element (e.g. a button) you now can configure the reaction for “tap and hold”:

  • no reaction
  • execute a standard zenon function, e.g. for executing a VSTA-Macro
  • open the context menu

    (where available)

Screens

As with the dynamic elements you can also define the reaction for “tap and hold” and for “double tap” at each zenon screen:

  • no reaction
  • execute a standard zenon function, e.g. for executing a VSTA-Macro
  • show status window

Another new feature is the more detailed configuration of zooming and scrolling in a worldview screen. You can now define the reactions for horizontal and

generic cialis pills

vertical scrolling and zooming separately, giving you the opportunity of easily creating custom sliding menu bars.

Next time, we`ll continue with the new Multi-Touch features in the Alarm Message List, Chronological Event ListExtended Trend Module and the new touch-optimized time filter controls.

zenon 7.10 and Windows 8 Multi-Touch features

Monday, March 25th, 2013

Introduction

Multi TouchMulti-Touch integration in zenon has already been in use since version 7.00. Other than some native features like zooming and scrolling in a worldview picture, doing anything else with Multi-Touch has been pretty cumbersome for the engineers. In this series we focus on the new Multi-Touch concepts of Windows 8 and how these were integrated in our latest product – zenon 7.10. We will start with a quick overview of the concepts of Microsoft for Windows 8, followed by an overview of the Multi-Touch features integrated natively into zenon 7.10. The last blog entry will focus on custom Multi-Touch implementations with VSTA.

Natural User Interfaces

Multi-Touch and Natural User Interfaces follow the key concept of directly manipulating an object. Windows 8 defines manipulation for scrolling or zooming a part of the application either by dragging the fingers across the screen or by pinching or stretching the fingers to zoom in and out. A gesture is defined as an interaction which causes some reaction from an UI element. During the implementation of Windows 8 Multi-Touch for zenon 7.10 we focused on easing the configuration of Multi-Touch. The

online canadian pharmacy

engineer doesn’t have to worry about how to recognize a gesture anymore; he just configures the reaction he desires, e.g. executing any zenon function by double-tapping a screen – making it easy to set parameters instead

cheapest cialis

of programming. Next time we will have a look at our new native Multi-Touch features in zenon 7.10.