Obtaining hash file or SHA keys for iso or RU patches

book

Article ID: 145605

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

When clients are on a secure classified platform and before installing the packages client may need to validate and verify the integrity of files. For which they would need to generate hashes or SHA Keys for the iso's or RU patches. This article describes on how to retrieve hashes for iso's and patches.

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Resolution

We can get hash file by running below command in Windows Powershell.

Get-FileHash C:\path\to\file.iso -Algorithm SHA512

An example to get Hash value as below for patch SO11469:

> Get-FileHash SO11469.caz -Algorithm SHA512

Algorithm       Hash                                                                                                                                                          Path
---------            ----                                                                                                                                                              ----
SHA512          A69E311A14DF79251B17DCF8180D079A22123C8DA442806A6A80D9B7A701633BE5F...   C:\Users\Administrator\downlo...

And for SHA256:

> Get-FileHash SO11469.caz -Algorithm SHA256

Algorithm       Hash                                                                                                                                          Path
---------            ----                                                                                                                                              ----
SHA256          07F527970E1ADBDAE32F9DF762E068A499288BCF9632DF4F8247581DAC2F0FCF       C:\Users\Administrator\downlo...

Same steps are applicable for iso's as well.

Additional Information

For something more readable, use the " | Format-List" argument, ie:

Get-FileHash 99111012.CAZ -Algorithm SHA512 | Format-List

Get-FileHash 99111012.CAZ -Algorithm SHA256 | Format-List

Attachments

1583373172593__Hash Value.png get_app