Skip to content

Commit e4c038c

Browse files
feat: remove key from log (#38)
1 parent 4176add commit e4c038c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cvmassistants/keyprovider/key-provider-agent/src/key_provider_agent.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ int push_wrapkey_to_secret_box(const char* wrapkey) {
8080

8181
strcpy(request_buffer, "key=WRAP_KEY&value=");
8282
strcat(request_buffer, wrapkey);
83-
LOG_DEBUG("Request body is %s", request_buffer);
8483

8584
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, request_buffer);
8685
res = curl_easy_perform(curl);
@@ -152,7 +151,6 @@ int main(int argc, char** argv) {
152151
return -1;
153152
}
154153
LOG_INFO("Successfully generated random wrap key");
155-
LOG_INFO("Generated random wrap key: %s", wrap_key);
156154

157155
int ret = push_wrapkey_to_secret_box(wrap_key);
158156
if (ret != 0) {

0 commit comments

Comments
 (0)