Skip to content

Conversation

jlopp
Copy link
Contributor

@jlopp jlopp commented Nov 26, 2018

I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Copy link
Contributor

@jnewbery jnewbery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK a75edb990516eba298e1652050dbfd28a3dd0a30. One minor style nit inline.

Copy link
Member

@Sjors Sjors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK. See above style improvements, as it's difficult to read now.

I never tried this script before. Was able to run it based on your updated instructions (I wish it had a progress indicator though).

A more thorough fix for (3) is to add --no-gpg-sign in verify-commits.py (see docs, untested).

Further suggestions:

  • make it clear that "Configuration files" are already present in contrib/verify-commits
  • the linux import keys commands works fine on macOS too

@jlopp jlopp changed the title Improve documentation for running verify-commits.py script Tools: improve verify-commits.py script Dec 6, 2018
@jlopp jlopp force-pushed the verifyCommitsDocumentation branch 2 times, most recently from 6d8711f to 0204695 Compare December 6, 2018 15:40
@jlopp jlopp force-pushed the verifyCommitsDocumentation branch from 0204695 to 45842c3 Compare December 6, 2018 15:41
@jnewbery
Copy link
Contributor

jnewbery commented Dec 6, 2018

utACK 45842c3

@maflcko
Copy link
Member

maflcko commented Dec 6, 2018

utACK 45842c3

@maflcko maflcko added this to the 0.18.0 milestone Dec 6, 2018
@jlopp
Copy link
Contributor Author

jlopp commented Dec 6, 2018

I tested @Sjors's "--no-gpg-sign" suggestion and it resolved my smartcard issue with running the verification script. I also tested @dongcarl's simplified key import command.

@Sjors
Copy link
Member

Sjors commented Dec 6, 2018

tACK 45842c3

@practicalswift
Copy link
Contributor

utACK 45842c3

@meshcollider
Copy link
Contributor

utACK 45842c3

@meshcollider meshcollider merged commit 45842c3 into bitcoin:master Dec 10, 2018
meshcollider added a commit that referenced this pull request Dec 10, 2018
45842c3 Improve documentation for running verify-commits.py script (Jameson Lopp)

Pull request description:

  I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Tree-SHA512: dfc7a62972ca3de528fae3c9d420c7d2d6658767a555ebbf5f4a27c04748c35ccf8bf63bfc9f264358346de0db49bfbaf2d1540793a609d81c2d9b622ee8182c
@jlopp jlopp deleted the verifyCommitsDocumentation branch December 12, 2018 19:00
TheArbitrator pushed a commit to TheArbitrator/dash that referenced this pull request Jun 23, 2021
45842c3 Improve documentation for running verify-commits.py script (Jameson Lopp)

Pull request description:

  I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Tree-SHA512: dfc7a62972ca3de528fae3c9d420c7d2d6658767a555ebbf5f4a27c04748c35ccf8bf63bfc9f264358346de0db49bfbaf2d1540793a609d81c2d9b622ee8182c
linuxsh2 pushed a commit to linuxsh2/dash that referenced this pull request Jul 29, 2021
45842c3 Improve documentation for running verify-commits.py script (Jameson Lopp)

Pull request description:

  I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Tree-SHA512: dfc7a62972ca3de528fae3c9d420c7d2d6658767a555ebbf5f4a27c04748c35ccf8bf63bfc9f264358346de0db49bfbaf2d1540793a609d81c2d9b622ee8182c
linuxsh2 pushed a commit to linuxsh2/dash that referenced this pull request Jul 30, 2021
45842c3 Improve documentation for running verify-commits.py script (Jameson Lopp)

Pull request description:

  I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Tree-SHA512: dfc7a62972ca3de528fae3c9d420c7d2d6658767a555ebbf5f4a27c04748c35ccf8bf63bfc9f264358346de0db49bfbaf2d1540793a609d81c2d9b622ee8182c
linuxsh2 pushed a commit to linuxsh2/dash that referenced this pull request Aug 3, 2021
45842c3 Improve documentation for running verify-commits.py script (Jameson Lopp)

Pull request description:

  I ran into 3 different issues while trying to run the verify-commits script for the first time and I think documenting them would help save time for future developers.

  1. I was trying to just run it with "python" and didn't realize I had multiple python versions installed and this script is only syntactically valid for python 3.x.
  2. I needed to import the trusted keys
  3. The script was hanging because it was triggering my yubikey for signature verification

Tree-SHA512: dfc7a62972ca3de528fae3c9d420c7d2d6658767a555ebbf5f4a27c04748c35ccf8bf63bfc9f264358346de0db49bfbaf2d1540793a609d81c2d9b622ee8182c
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants