Skip to content

Improve guide for App release verification #5

@fabooowy

Description

@fabooowy

@jstrnbrg @benma cc @NickeZ

Yesterday I checked the App's signature for the first time.

Here my takeaways and pains with osx version:

-Wanted to verify the sha checksum. did not find out what it is and gave up after 5min.
So I clicked signature and got directed to github : )

In github the first step is less clear than on guides:

Get benma's public key:

Not knowing better, I saw https... intentionally behaved like an idiot and pasted the string in the browser for fun. nonsense of course. I pasted the keybase string only in the browser, copied the pubkey and then got prompted by gpg keychain that there is a pubkey to import, which worked.

Solution:

To get benma's public key, execute in command line, eg. in Terminal on osx:
curl https://keybase.io/benma/pgp_keys.asc?fingerprint=2260e48288882c76afaa319d67a2b160f74db275 | gpg --import

What I should have seen according to the guide:

gpg --verify BitBox-4.13.1-macOS.zip.asc
gpg: assuming signed data in 'BitBox-4.13.1-macOS.zip'
gpg: Signature made <DATE AND TIME>
gpg:                using RSA key 2D8876810AB092E451DCA894804538928C37EAE8
gpg: Good signature from "Marko Bencun <[email protected]>" [ultimate]
gpg:                 aka "Marko Bencun <[email protected]>" [ultimate]

What I saw:

gpg: Signatur vom Do 20 Feb 12:21:53 2020 CET mittels RSA-Schlüssel ID 8C37EAE8
gpg: Korrekte Signatur von "Marko Bencun <[email protected]>" [unbekannt]
gpg:                     alias "Marko Bencun <[email protected]>" [unbekannt]
gpg: WARNUNG: Dieser Schlüssel trägt keine vertrauenswürdige Signatur!
gpg:          Es gibt keinen Hinweis, daß die Signatur wirklich dem vorgeblichen Besitzer gehört.
Haupt-Fingerabdruck  = 2260 E482 8888 2C76 AFAA  319D 67A2 B160 F74D B275
Unter-Fingerabdruck  = 2D88 7681 0AB0 92E4 51DC  A894 8045 3892 8C37 EAE8
fabian:~ itz$ 

Feelings:

-I don't see ID 8C37EAE8 in github :(
-I see [email protected] : )
-I see [email protected] :)
-I see a warning :(
-I see fingerprints and go to pgp keychain to see the same : / > :)

I wonder if something could be done to reduce the amount of :( ?

After having done this for 10 min, I feel somewhat ok. but not really sure because of the warning and the to me unknown ID 8C37EAE8.


On the guides it reads:


Place BitBoxApp and .asc file in separate folder
Create a new folder and move both, the uninstalled/unzipped BitBoxApp file and the .asc file into that folder.

By "separate folder" I did not understand one folder but separate folders (my brain added plural)
Also this step is only needed if the downloads go in different folders which is by default not the case.

Proposed solution for both guides and github (mac osx):

-Before unzipping, make sure the downloaded app and the .asc file are in the same folder, likely your Downloads folder.
-Copy the path of the .asc file by right clicking the file and selecting: "Dienste">copy path
-Write gpg --verify in the console and paste the copied path of the. asc file, for example:
gpg --verify /Users/"YourName"/Downloads/BitBox-4.17.1-macOS.zip.asc


Just some ideas : )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions