drogonframework / drogonframework/drogon
Erasing the response body with zeros
Open
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
Hello!
I receive a secret key from a remote server (keystore). The secret key is stored in the depths of an HttpResponse class object. HttpResponse provides access to the secret key as a string in the form of std::string_view.
For security reasons, how can I erase with the symbol 0 the memory that contains the key in the HttpResponse object before destroying the HttpResponse object?
Contributor guide
Assessment
This issue has not been assessed yet.