opensc-0.18.0-rc1 notifications

Peter Popovec <[email protected]> Thu, 3 May 2018 12:12:05 +0200
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <CAMZViR8Jay8tm6xz8dGR0T3X8O9OscmjWeoEON9AD1Gcn6Nazw@mail.gmail.com>
Hi

On debian system (stretch, KDE) I have new problem with  opensc-0.18.0-rc1
. If I run ssh to remote computer with opensc-pkcs11 module, notification
window is displayed (card info/ card unlocked. etc). This is OK, but is
there way to disable/configure this behavior per user?

Second problem .. this notification window is not stable .. after logging
into KDE session, only first notification is OK, rest notifications fails
with message:

GLib-GIO-CRITICAL **: g_application_send_notification: assertion
'g_application_get_is_registered (application)' failed

better example below, with long pause - about 10 seconds before PIN is
asked ..



$ ssh  *****

(process:2975): GLib-GIO-CRITICAL **: g_application_send_notification:
assertion 'g_application_get_is_registered (application)' failed
Enter PIN for 'MyEID':

(process:2975): GLib-GIO-CRITICAL **: g_application_send_notification:
assertion 'g_application_get_is_registered (application)' failed

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have mail.
Last login: Thu May  3 10:35:26 2018 from XX.XX.XX.XX
****@****:~$

This seems to be similar to https://github.com/OpenSC/OpenSC/issues/1186
but not same ..

If I switch from KDE to text console, there is same long pause before PIN
prompt....
Same long pause if I run pkcs11-tool --login --test  (in console and
KDE)..  After KDE restart then 1st  notification is OK..



Peter.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel