Verify your download
Check that the file you downloaded is the file Wizardsardine published.
Run these commands before you open the file you downloaded.
You will need
Put these three files in the same folder:
- The Liana file you downloaded in Install Liana.
liana-16.0-shasums.txt, the list of hashes.liana-16.0-shasums.txt.asc, the signature of that list.
Both text files are in the Assets list of the Liana 16.0 release on GitHub.
You also need GnuPG. Run this command in a terminal:
gpg --versionIf the terminal does not find the command, install GnuPG from gnupg.org. On Windows, the package is Gpg4win.
Do not open the file until every check passes
A modified copy of Liana can steal your bitcoin. If a check fails, delete the files and download them again.
Check the hash and the signature
Open a terminal in the folder
Open a terminal, or PowerShell on Windows, and move to the folder that holds the
three files. In this example, they are in ~/Downloads.
cd ~/DownloadsCheck the hash of your file
sha256sum --check --ignore-missing liana-16.0-shasums.txtliana-16.0-1_amd64.deb: OKFAILED or no file was verified means the check did not pass.
With the Arch-based package from the AUR, you have no file to check yet, so
skip this step. Once you have verified the signature of the list, check that its
hash for liana-16.0-1_amd64.deb matches the one in the
PKGBUILD, as Install Liana
describes.
Import the signing key
Edouard Paris signs the Liana releases. Import his key from the
keys.openpgp.org keyserver.
gpg --keyserver hkps://keys.openpgp.org --recv-keys 5B63F3B97699C7EEF3B040B19B7F629A53E77B83gpg: key 9B7F629A53E77B83: public key "Edouard Paris (reine des reines) <m@edouard.paris>" imported
gpg: Total number processed: 1
gpg: imported: 1If GnuPG later reports that this key has expired, fetch its new expiry date from the keyserver:
gpg --keyserver hkps://keys.openpgp.org --refresh-keys 5B63F3B97699C7EEF3B040B19B7F629A53E77B83Verify the signature of the hash list
gpg --verify liana-16.0-shasums.txt.asc liana-16.0-shasums.txtgpg: Good signature from "Edouard Paris (reine des reines) <m@edouard.paris>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5B63 F3B9 7699 C7EE F3B0 40B1 9B7F 629A 53E7 7B83
Subkey fingerprint: 4730 DDCC 64DF AEC1 6CEF EB5B E65F 7A08 9C20 DC8FRead three lines of that output:
- Good signature: Nobody altered the hash list after Edouard Paris signed
it.
BAD signaturemeans someone altered the list. Delete the files. - WARNING: GnuPG prints it for every key you have not marked as trusted. It is not a failure.
- Primary key fingerprint: Compare it with the fingerprint on the
security page of lianawallet.com and in
the repository's
SECURITY.md. The 40 characters must be identical.