gets a 32-byte digest from SHA512 (throwing away half of those 64 bytes),
then does the signature verification, once for each of three different signature (matching each sign() call in the C++ code), also with the validator blob data.
Our keys are generated before hand, one key pair for the master key, and one for the signing key. The master public key has been added in validators.txt. The readme has been update to reflect this new content.
This code (my very first rust code ever) basically used this rippled function --
buildValidatorList()
-- as a model, to see what steps are used to create and sign a manifest, as well as a validator blob. https://github.com/XRPLF/rippled/blob/master/src/test/overlay/compression_test.cpp#L316The verification side does the following:
Our keys are generated before hand, one key pair for the master key, and one for the signing key. The master public key has been added in
validators.txt
. The readme has been update to reflect this new content.