Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign request payloads #414

Open
ibaryshnikov opened this issue Sep 30, 2021 · 0 comments
Open

Sign request payloads #414

ibaryshnikov opened this issue Sep 30, 2021 · 0 comments
Labels
1 high priority enhancement New feature or request security

Comments

@ibaryshnikov
Copy link

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

@ibaryshnikov ibaryshnikov added enhancement New feature or request security labels Sep 30, 2021
@ibaryshnikov ibaryshnikov added this to the Phase II Setup milestone Sep 30, 2021
@ibaryshnikov ibaryshnikov added the 1 high priority label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 high priority enhancement New feature or request security
Projects
None yet
Development

No branches or pull requests

1 participant