Skip to content

Commit d1b9678

Browse files
committed
pivy-agent: log when requesting confirmation
1 parent 081bc57 commit d1b9678

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pivy-agent.c

+6
Original file line numberDiff line numberDiff line change
@@ -910,6 +910,12 @@ try_confirm_client(socket_entry_t *e, enum piv_slotid slotid)
910910
free(tmp);
911911
}
912912

913+
bunyan_log(BNY_INFO, "requesting user confirmation",
914+
"exec", BNY_STRING, confirm,
915+
"zenity", BNY_INT, add_zenity_args,
916+
"notify-send", BNY_INT, add_notify_send_args,
917+
NULL);
918+
913919
guid = piv_token_shortid(selk);
914920
snprintf(prompt, sizeof (prompt),
915921
"%sA new client is trying to use PIV token %s\r\n\r\n"

0 commit comments

Comments
 (0)