Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.49 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.49 KB

NOTE: Work on this project is continuing under a Legendary Requirements repository which can be found here

BIP-0322 Signatures for Verifiable Credentials

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.

Current Issues

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.

Note: These instructions are for a linux machine

Pre-requisites

  • Python v3.8
  • Pip

Running the Notebooks

  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment
source venv/bin/activate
  1. Install python packages
pip install -r requirements.txt
  1. Launch the jupyter server
jupyter notebook
  1. Run through the notebooks

shift + enter runs a cell