Implement secure key via KDF for transparent data encryption/decryption #60

This commit is contained in:
2025-08-30 16:14:35 -05:00
parent c00d5e8894
commit 478a5abff2

View File

@@ -22,7 +22,6 @@
#include "comm/curl/requests/http_put_file.hpp" #include "comm/curl/requests/http_put_file.hpp"
#include "utils/error_utils.hpp" #include "utils/error_utils.hpp"
#include "utils/string.hpp"
namespace repertory::curl::requests { namespace repertory::curl::requests {
auto http_put_file::set_method(CURL *curl, stop_type &stop_requested) const auto http_put_file::set_method(CURL *curl, stop_type &stop_requested) const
@@ -52,7 +51,7 @@ auto http_put_file::set_method(CURL *curl, stop_type &stop_requested) const
utils::file::file::open_or_create_file(source_path), utils::file::file::open_or_create_file(source_path),
}); });
if (not*read_info->file) { if (not *read_info->file) {
utils::error::raise_url_error(function_name, get_path(), source_path, utils::error::raise_url_error(function_name, get_path(), source_path,
std::runtime_error("failed to open file")); std::runtime_error("failed to open file"));
return false; return false;