Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Add sign & verify methods w/ signing context param. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wilfred-centrality
Copy link

Related to #12

Introduces signing context interfaces for sign and verify while maintaining back compatibility. Might be an interface to consolidate in a later version.

The upgrade of schnorrkel 0.1 to 0.6 seems to have broken the derives tests. Need guidance on how to proceed.

@burdges
Copy link

burdges commented Jul 9, 2019

Your derives tests look like test vectors. We've no test vectors yet because the scheme was not stable w3f/schnorrkel#36 In this case, there were so many breaking changes between 0.1.1 and 0.6.1 that any test vector anywhere should've broken. We're starting an audit this week, which might result in the final breaking changes, so test vectors may become reasonable in early August.

@wilfred-centrality
Copy link
Author

The failing tests are unrelated to this PR. If it's not a problem I'm sure I can just update the expected output for each and make them pass again.

PS, any idea how www/tests.js is meant to be instantiated? Or should I not bother

@burdges
Copy link

burdges commented Jul 9, 2019

It looks like it's dose some sort of functionality tests I guess. I'm not sure about the js stuff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants