web-push-libs / ecec

Web Push encryption and decryption in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add tests

opened this issue · comments

  • Add decryption tests for vectors generated by the reference implementation.
  • Set up CI (AppVeyor supports Windows).
  • Run the tests under Valgrind and see what shakes out.

Now that we have #14, we can do a full integration test. Additionally, the Node library can dump test vectors, which the Python library uses to test itself. A set of static test vectors would be useful for testing Firefox's implementation, too.

We have integration tests now, plus tests for valid and invalid inputs. I think the bulk of the work is done, but we can always add more.