Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Some commits not signed correctly #1196

Description

@BinaryMuse

I was talking to @stoe over some 🍸 yesterday and he was telling me about a problem he was having with the GitHub package. He said that every so often, it would fail to sign a commit correctly (but that it works most of the time). This PR demonstrates the issue; note the unverified commit at the bottom.

cursor_and_cleanup_by_stoe_ pull_request__11 _stoelzle_pdfify-node

Indeed, if I import his keys and run git log --show-signature on the commit, I see the following:

commit ef53437417f86065e2b2819ffd43163cf49ce5f1 (HEAD -> mkt-test)
gpg: Signature made Fri Mar 31 05:54:18 2017 PDT
gpg:                using RSA key D0AEA5862192C1EB
gpg: BAD signature from "Stefan Stölzle <stoe@github.com>" [unknown]
Author: Stefan Stölzle <stoe@github.com>
Date:   Fri Mar 31 14:54:18 2017 +0200

    Move badges to H1

commit 9e1b3aa9c0250b7b1847f69f5755af46d05c0f8c
gpg: Signature made Fri Mar 31 05:54:02 2017 PDT
gpg:                using RSA key D0AEA5862192C1EB
gpg: Good signature from "Stefan Stölzle <stoe@github.com>" [unknown]
gpg:                 aka "Stefan Stölzle <stefan@github.com>" [unknown]
gpg:                 aka "Stefan Stölzle <stoelzle@github.com>" [unknown]
gpg:                 aka "[jpeg image of size 4763]" [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: FFDD 99D4 E5EE 0CA6 F985  21D9 D0AE A586 2192 C1EB
Author: Stefan Stölzle <stoe@github.com>
Date:   Fri Mar 31 14:54:02 2017 +0200

    Add license badge

commit 9d6e5e4b8c50ab73bdb7dca993ae19f47ebb47ba
gpg: Signature made Fri Mar 31 05:49:43 2017 PDT
gpg:                using RSA key D0AEA5862192C1EB
gpg: Good signature from "Stefan Stölzle <stoe@github.com>" [unknown]
gpg:                 aka "Stefan Stölzle <stefan@github.com>" [unknown]
gpg:                 aka "Stefan Stölzle <stoelzle@github.com>" [unknown]
gpg:                 aka "[jpeg image of size 4763]" [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: FFDD 99D4 E5EE 0CA6 F985  21D9 D0AE A586 2192 C1EB
Author: Stefan Stölzle <stoe@github.com>
Date:   Fri Mar 31 14:49:43 2017 +0200

    Use shields.io badge

Note that the top two commits were made only 16 seconds apart.

Here's the full object in question:

$ git cat-file -p ef53437417f86065e2b2819ffd43163cf49ce5f1
tree 441a5b2cf1e0c655bafcbb659e397f57fd027ac3
parent 9e1b3aa9c0250b7b1847f69f5755af46d05c0f8c
author Stefan Stölzle <stoe@github.com> 1490964858 +0200
committer Stefan Stölzle <stoe@github.com> 1490964858 +0200
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIcBAABCAAGBQJY3lF6AAoJENCupYYhksHrvO4QAIdR25S7oA7d/dR1+Y8ebQkQ
 ejbHqcb1t6mvOyxI6HnHyQ5ekmzZJVOhTLJ1b6xsFsAyCKOJk9JvZKmzb5bwPTUp
 o/PR3FfUkT+B0afhwt/VaZtBcSGAToc5ICzsegXQEGiAAVhEM6e8Aph6p1qmGp8R
 6v1T1L4P8C36peENPlCqZB2rIPyiD7X/FQUGvrbT84FaMmh/GuxzR+S05ZvmHZ+e
 vYWskq5aLkLvaR/Tcz22bxWctSqERKbMHpxr6wU2wH2kozp0jmHiKlC5EVx5RCLl
 6zUq89tBIJcRy/r2KTKvB1agxCwXipf5YhAWGzkUgPB7XmWQ+9bJXyOxiRV0Pv9v
 9/NUIgKXcRAsKw1AHcxR2P3Cp5ZnEpdOnzYFL0hvV8HJOsVIa0QwidsJhQE2RT51
 A7D6RESZ4QiEUVgqWPQzlSv+Zh9bkUoOMarwKwzowo6731/ikmthkRL7a4pS3BMr
 RDaVIpv+IKQQw/NWUCE8WeWqrhULfjLIQGlus8p9fQyUUWS6yTcKzGDVvLBhF8fU
 UzIVqfFN+0bjwT7HanJ7MzOO7QIjlhB1MT0EAW/HlucuUR67tB4YMVUmqaqYnEtX
 bIRHObQGO6a1bskPDfiGD6URxNsKvzYFLHsYprw5DONWYyHnDMmpXliScIZsnNv4
 pzlkB4323NRwPxbJ4lbn
 =Si42
 -----END PGP SIGNATURE-----

Move badges to H1

He said that all these commits were made by Atom.

/cc @smashwilson for 💭

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions