Skip to content

Commit

Permalink
add signal match (keybase#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
heronhaye authored Jun 10, 2022
1 parent c18928c commit c2ce060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions secretservice/secretservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func NewService() (*SecretService, error) {
}
signalCh := make(chan *dbus.Signal, 16)
conn.Signal(signalCh)
_ = conn.AddMatchSignal(dbus.WithMatchOption("org.freedesktop.Secret.Prompt", "Completed"))
return &SecretService{conn: conn, signalCh: signalCh, sessionOpenTimeout: DefaultSessionOpenTimeout}, nil
}

Expand Down

0 comments on commit c2ce060

Please sign in to comment.