Hi Margus,
What is "recommended" isn't really obvious... there are various ways of doing authentication with the Belgian eID. The official middleware installs a PKCS#11 module, a crypto minidriver (on Windows), and a CryptoTokenKit driver (on macOS; previously also
a TokenD there, which we only do for older versions of macOS that require it now, soon probably those won't be supported anymore). These components allow authenticating at the TLS layer using the certificates on the card as client certificates, using the mutual
SSL protocol, to any website that wants to.
You are right that it is possible to do authentication with native messaging in most browsers these days (and on those browsers that don't support that, you can do other things like ActiveX (IE) or app addons (Safari) to do pretty much the same thing),
but the official middleware does not ship anything like that; and even if it did, it wouldn't help you because such an addon needs to be able to communicate with the webpage, which if you're going to do it for "all websites" would tell the user it "wants to
read your data on all websites everywhere", which is going to raise some red flags.
For signing data or reading detailed information you obviously can only use the second method, not the mutual TLS one, because the latter only gives you the data that's in the certificate, i.e., name, surname, national registry number, and (embedded in
the latter) date of birth and sex. Anyone who does not either have access to the national registry or can communicate with the Belgian federal authentication service CSAM (which pretty much requires you to be a government) would have to use the second of the
above two methods, too.
So while I understand your desire for a generic solution, there isn't really a possibility to do that in a way that would help anyone.
Margus Pala schreef op zo 06-09-2020 om 01:26 [-0700]:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and you expect to receive a link or attachment from them.