For a couple of weeks we have been figuring out how to confine bitcoin. This is one of the most important use cases of the snap security because you don’t want any program messing with your digital wallet. And when there’s a vulnerability in the code, all the clients should be updated as fast as possible to keep the network sane. With snaps, just push a fixed version and see everybody update without any work from their side.
We now need help testing the snap before making it public:
$ sudo snap install bitcoin --candidate
Then launch it from the dash or running the bitcoin.qt command.
This was built from the tag of the latest released bitcoin and pushed to the store, all automatically by travis. But, be warned, you will be the first users so we might still find unforeseen problems. Use your bitcoins with caution during the candidate phase, or just test without any of your money.
Here are the sources for the snap and CI scripts, in case you want to verify them or build it yourself:
Another interesting detail is that most of the cryptocurrencies out there are forks of the bitcoin source code, so they will all need a similar snapcraft.yaml. The other one we pushed is bitcoin-unlimited, which is promoting a hard fork of the bitcoin network to remove the block size limit. You can have both snaps installed to give them a try and choose the network you want to support, because both will be fully confined and independent:
$ sudo snap install bitcoin-unlimited --candidate
Of course, this would require twice the time and space to download both blockchains.
Thanks to Gal Buki (torusJKL) for his help.
Expect more options in the store soon.
*This message was originally sent to the mailing list.