Bitcoin Forum
April 27, 2024, 04:20:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I verify that the official binary was compiled from the open source code?  (Read 895 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
April 19, 2014, 03:36:10 PM
 #1

The Bitcoin website, https://bitcoin.org, provides links to both binaries and source code of Bitcoin Core (Bitcoin-Qt).

I would say that 99% of people just download the binaries and trust them.

Is there any way to verify that the binaries were actually produced from the advertised source code?
1714234825
Hero Member
*
Offline Offline

Posts: 1714234825

View Profile Personal Message (Offline)

Ignore
1714234825
Reply with quote  #2

1714234825
Report to moderator
1714234825
Hero Member
*
Offline Offline

Posts: 1714234825

View Profile Personal Message (Offline)

Ignore
1714234825
Reply with quote  #2

1714234825
Report to moderator
1714234825
Hero Member
*
Offline Offline

Posts: 1714234825

View Profile Personal Message (Offline)

Ignore
1714234825
Reply with quote  #2

1714234825
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
ncsupanda
Legendary
*
Offline Offline

Activity: 1628
Merit: 1012



View Profile
April 19, 2014, 04:06:05 PM
 #2

You could always compile it yourself.

Most people have trouble with the dependencies, and admittedly in the past this included me, so we just accept the binaries and move on.

Do you believe there is a fake going around? Would be interesting.
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
April 19, 2014, 04:12:26 PM
 #3

Is there any way to verify that the binaries were actually produced from the advertised source code?

Compile the source using gitian and check that the generated binaries are identical to the published ones.
cr1776
Legendary
*
Offline Offline

Activity: 4018
Merit: 1299


View Profile
April 19, 2014, 07:55:37 PM
 #4

On the download page on bitcoin.org you can click the link "Verify signature releases" which will download the signatures and then you can use the signatures to verify it is the correct release.

E.g something like

gpg --verify ...
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12900


View Profile
April 20, 2014, 01:02:52 AM
 #5

Yes. The official binary is compiled in a special environment that can be exactly replicated so that the binary can be verified. It's a bit difficult to set up, though.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
drawingthesun
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
April 20, 2014, 04:11:44 AM
 #6

Yes. The official binary is compiled in a special environment that can be exactly replicated so that the binary can be verified. It's a bit difficult to set up, though.

Is this is preferred process?

http://gitian.org/
bitsmichel
Sr. Member
****
Offline Offline

Activity: 518
Merit: 250



View Profile
April 20, 2014, 01:52:15 PM
 #7

First compare the code you have downloaded with the original.
Then compile it.

oleganza
Full Member
***
Offline Offline

Activity: 200
Merit: 104


Software design and user experience.


View Profile WWW
April 20, 2014, 02:10:45 PM
 #8

Yes. The official binary is compiled in a special environment that can be exactly replicated so that the binary can be verified. It's a bit difficult to set up, though.

Where can I read more about this environment? I'm very interested in having the same thing for my own app.

Bitcoin analytics: blog.oleganza.com / 1TipsuQ7CSqfQsjA9KU5jarSB1AnrVLLo
drawingthesun
Legendary
*
Offline Offline

Activity: 1176
Merit: 1015


View Profile
April 20, 2014, 02:19:28 PM
 #9

Yes. The official binary is compiled in a special environment that can be exactly replicated so that the binary can be verified. It's a bit difficult to set up, though.

Where can I read more about this environment? I'm very interested in having the same thing for my own app.

I'm very sure it's http://gitian.org/
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12900


View Profile
April 20, 2014, 05:31:33 PM
 #10

Where can I read more about this environment? I'm very interested in having the same thing for my own app.

It's Gitian. See https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md for some info about Bitcoin's use of it.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!