qrllib
qrllib copied to clipboard
QRL core library
Removes [hawk](https://github.com/mozilla/hawk). It's no longer used after updating ancestor dependency [grpc](https://github.com/grpc/grpc-node). These dependencies need to be updated together. Removes `hawk` Updates `grpc` from 1.10.1 to 1.24.11 Release notes Sourced from...
Removes [ajv](https://github.com/ajv-validator/ajv). It's no longer used after updating ancestor dependency [grpc](https://github.com/grpc/grpc-node). These dependencies need to be updated together. Removes `ajv` Updates `grpc` from 1.10.1 to 1.24.11 Release notes Sourced from...
Descriptor signature type will always return 0 no matters, whatever the value of the signature type is. https://github.com/theQRL/qrllib/blob/master/src/qrl/qrlDescriptor.h#L68 The code in that line should be following `auto signatureType = static_cast((bytes[0]...
Dilithium crypto_sign_open expected to return only message but consumes size equivalent to message length and signature length. Thus extract_signature is not possible. sign_open must only be used as a bool...
extract_message & extract_signature functions doesn't work as expected and returns incorrect value. extract_message should be replaced to ``` std::vector Dilithium::extract_message(std::vector &message_output) { return std::vector(message_output.begin() + CRYPTO_BYTES, message_output.end()); } ``` extract_signature...
The library is currently not supported in Windows. The xmss reference code requires access to /dev/urandom plus there are some incompatibilities with Microsoft compiler. For the moment, only the webassembly...
There is an issue with cmake, which causes builds to fail where newer versions of cmake are installed. ``` /usr/local/Cellar/cmake/3.12.4/bin/cmake -E copy_if_different /private/var/folders/qw/clgh44rs0sq31x0v5srt0h6c0000gn/T/pip-install-9yy1mrqo/pyqrllib/pyqrllib/dilithium.py CMake Error: cmake version 3.12.4 ``` This...
This is the first time I'm doing something with cmake, please look at this very carefully before merging.
As I initially just did this port as an exercise and don't use this software (or Windows for that matter) it's unlikely I'll be making further PRs. Now that QRL...
Exceptions thrown in C++ are received as numbers in javascript This issue describes a similar situation: https://github.com/kripken/emscripten/issues/6330 We need some way of exposing the reason of the exception to javascript