How can we programmatically determine whether eid-middleware is installed on a Windows system?

48 views
Skip to first unread message

Aimé Kassa

unread,
Aug 7, 2024, 2:05:32 AM8/7/24
to eID Middleware Dev
From a web-page, i would like to detect if the eid-middleware is already installed, 
if not then the end-user will be invited to installed it. Any help please ?

Wouter Verhelst

unread,
Aug 7, 2024, 4:56:39 AM8/7/24
to eid-middl...@googlegroups.com
Hi Aimé,

Unfortunately, the middleware is installed deep into the TLS system, and there is no API that allows you to figure out whether the middleware is available from a browser context.

If you are running a website in the belgium.be domain, then on Firefox only, there is one API that allows you to see whether the add-on is installed; if it is, you can then post messages to the add-on to request the status of the PKCS#11 module and the availability of slots with tokens.

In all other cases, your best bet is to try to perform an authentication, and to make sure that your 403 error page guides the user through the most common error situations.

Unfortunately, there isn't a better way that I know of.

Aimé Kassa schreef op di 06-08-2024 om 23:05 [-0700]:

Aimé Kassa

unread,
Aug 7, 2024, 6:33:55 AM8/7/24
to eID Middleware Dev
Ok,
and thanks you for the quick reply.

Kind regards 
Reply all
Reply to author
Forward
0 new messages