store hash for ECDSA blidning
This commit is contained in:
@@ -463,7 +463,7 @@ namespace data
|
||||
if (verified && key && lenOuterCiphertext >= 32)
|
||||
{
|
||||
SetIsValid (false); // we must verify it again in Layer 2
|
||||
if (blindedKeyType == i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519)
|
||||
if (blindedKeyType == key->GetBlindedSigType ())
|
||||
{
|
||||
// verify blinding
|
||||
char date[9];
|
||||
@@ -476,6 +476,11 @@ namespace data
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LogPrint (eLogError, "LeaseSet2: Unexpected blinded key type ", blindedKeyType, " instread ", key->GetBlindedSigType ());
|
||||
return;
|
||||
}
|
||||
// outer key
|
||||
// outerInput = subcredential || publishedTimestamp
|
||||
uint8_t subcredential[36];
|
||||
|
Reference in New Issue
Block a user