stacks-archive / blockstack-proofs-py

For verifying proofs (twitter, github, domains etc) linked to a blockchain ID
MIT License
19 stars 12 forks source link

Add support for address-based proofs #44

Closed kantai closed 6 years ago

kantai commented 6 years ago

This PR adds support for address-based proofs to Blockstack proofs in Python.

I know the original plan was to have the Python resolver code (e.g., core.blockstack.org) try to use the proof checking code from blockstack.js, but that would require one of:

a. a shell out, which I implemented, but am somewhat uncomfortable with its security implications b. a inter-process procedure call

Updating the Python proofs library is simpler for now than either of those options. If we want to deprecate the Python proofs library, we can eventually also spin out the resolver code (it's a fairly limited piece of code) into a node server.