← Back to Bitcoin Improvement Proposals
BIPinformational

BIP374: update reference.py and secp256k1.py to be executable

by adding to each a python shebang and changing their file permissions from 644 to 755, as mentioned in https://github.com/bitcoin/bips/pull/1734#issuecomment-2564476828. These files don't need to be executable in order to run `gen_test_vectors.py` and `run_test_vectors.py` but it is helpful to allow developers to invoke them directly. Before: ```bash $ ./reference.py zsh: permission denied: ./reference.py ``` After: ```bash $ ./reference.py ```

No reviews
jonatack·Updated Jan 2, 2025·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

by adding to each a python shebang and changing their file permissions from 644 to 755, as mentioned in https://github.com/bitcoin/bips/pull/1734#issuecomment-2564476828.

These files don't need to be executable in order to run gen_test_vectors.py and run_test_vectors.py but it is helpful to allow developers to invoke them directly.

Before:

$ ./reference.py 
zsh: permission denied: ./reference.py

After:

$ ./reference.py 

Discussion (0 threads)

Loading discussions...