Skip to content

Commit

Permalink
pivy-agent: log when requesting confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
arekinath committed Dec 10, 2024
1 parent 081bc57 commit d1b9678
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pivy-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,12 @@ try_confirm_client(socket_entry_t *e, enum piv_slotid slotid)
free(tmp);
}

bunyan_log(BNY_INFO, "requesting user confirmation",
"exec", BNY_STRING, confirm,
"zenity", BNY_INT, add_zenity_args,
"notify-send", BNY_INT, add_notify_send_args,
NULL);

guid = piv_token_shortid(selk);
snprintf(prompt, sizeof (prompt),
"%sA new client is trying to use PIV token %s\r\n\r\n"
Expand Down

0 comments on commit d1b9678

Please sign in to comment.