Sign request payloads
ibaryshnikov opened this issue · comments
Ilya Baryshnikov commented
At the moment we do sign method + path
let message = format!("{} {}", method.to_lowercase(), path.to_lowercase());
let signature = hex::encode(&view_key.sign(message.as_bytes(), rng)?.to_bytes_le()?);
Signing payloads will improve security of the system