Lazarus
Programming => Networking and Web Programming => Topic started by: JimD on October 11, 2018, 08:15:41 pm
-
In search of a FPC/Lazarus example for Smart Card Support on Windows
Specifically:
Start with a PC with Smart Card token and certificates installed and working properly on Windows 10.
With the FPC/Lazarus code requested:
1. Open a secure web site using indylaz and OpenSSL https protocol
2. Windows will prompt for the Smart Card PIN
3. User enters Smart Card PIN
4. The site is authenticated and the user has access to the web page
5. At this point, use indylaz to access the web content
Any pointers please?
My research:
Starting with this post:
http://forum.lazarus.freepascal.org/index.php/topic,38734.msg264041.html#msg264041
It led me to this site with an example in C:
https://github.com/OpenSC/libp11/tree/master/examples
I don't know if I have the technical ability to create a FPC/Lazaur wrapper for this example...
-
Afaik this Delphi open source group was pretty far with the Windows security apis:
https://sourceforge.net/projects/jedi-apilib/