Skip to content

Commit

Permalink
libnotify: notify on HMAC too
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Apr 16, 2020
1 parent 91e4a1d commit 3500ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifier/libnotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func SetupLibnotifyNotifier(notifiers *sync.Map) {

for {
value := <-touch
if value == GPG_ON || value == U2F_ON {
if value == GPG_ON || value == U2F_ON || value == HMAC_ON {
err := notifySend("YubiKey is waiting for a touch")
if err != nil {
log.Error("Cannot send desktop notification: ", err)
Expand Down

0 comments on commit 3500ac4

Please sign in to comment.