NOTE: Work on this project is continuing under a Legendary Requirements repository which can be found here
BIP-0322: Generic Signed Message Format
There are two jupyter notebooks in this folder. They attempt to demonstrate how you would use BIP-0322 signatures to sign and verify a VC. There is a notebook for each.
However, initially all these notebooks are trying to do is implement BIP-0322 signatures using the buidl-python library developed by Jimmy Song.
I am currently unable to either verify or produce the signature provided in the BIP-0322 test vectors. However, using the current implementation in the signing notebook I am able to produce a signature, that can be verified in the verification notebook.
The most likely issue here is I have replicated the same error across both notebooks, however currently I have been unable to spot this.
- Python v3.8
- Pip
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install python packages
pip install -r requirements.txt
- Launch the jupyter server
jupyter notebook
- Run through the notebooks
shift + enter runs a cell