Bitcoin Forum
October 13, 2024, 07:36:57 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: verifying windows installers  (Read 93 times)
jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3318
Merit: 4603


diamond-handed zealot


View Profile
January 08, 2021, 06:16:18 PM
 #1

Can some one walk me through the procedure to verify the sha256sum of an installer in windows?

I looked back 4 pages here and worked through several search engine hits but did not find what I need.

Trying to get an offline signer set up.

thanks

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
jojo69 (OP)
Legendary
*
Offline Offline

Activity: 3318
Merit: 4603


diamond-handed zealot


View Profile
January 08, 2021, 08:48:29 PM
Last edit: January 08, 2021, 09:13:20 PM by jojo69
Merited by HCP (2)
 #2

OK, I think I got it figured out, I will post it here as given recent events others may be doing this for the first time in many years.

>right click on the windows icon and choose "Windows PowerShell" from the drop

>at that prompt
Code:
Get-FileHash path to your file (eg;C:\Downloads\armory_0.96.5_win64.exe) -A SHA256
and press enter, this will return a long hex string

>compare this string to the one for your specific download in the file at https://github.com/goatpig/BitcoinArmory/releases/download/v0.96.5/sha256sum.txt.asc    it does not appear to be case sensitive, the power shell returns all caps, the string should match but the one in the signed file is lowercase letters.

>you can automate the comparison with a little more code
Code:
(Get-FileHash path to your file (eg;C:\Downloads\armory_0.96.5_win64.exe) -A SHA256).hash -eq "paste the hash here"
note that there do not seem to be context menus in the power shell, I was able to paste the string with Ctrl V however.  This should return "True" which in my case it did.

I think that's it, really simple.

If anyone has anything to add please do.

This is not some pseudoeconomic post-modern Libertarian cult, it's an un-led, crowd-sourced mega startup organized around mutual self-interest where problems, whether of the theoretical or purely practical variety, are treated as temporary and, ultimately, solvable.
Censorship of e-gold was easy. Censorship of Bitcoin will be… entertaining.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
January 12, 2021, 08:43:57 AM
 #3

If anyone has anything to add please do.

You didn't verify the authenticity yet.

All you did was to compare that the hash of your downloaded file matches the hash posted on github.

What you additionally want to do is to verify that these are the correct hashes.
The file you have linked (sha256sum.txt.asc) is a signed file. You need to check that the signature matches goatpig's PGP key, which can for example be found on github.

Only after that signature matches, you can be sure that your downloaded file needs to have that hash to be the original file signed by goatpig.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!