* * *

Author Topic: Smart Card Support on Windows  (Read 192 times)

jasc2v8

  • New member
  • *
  • Posts: 34
Smart Card Support on Windows
« 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...




marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6540
Re: Smart Card Support on Windows
« Reply #1 on: October 11, 2018, 08:31:32 pm »
Afaik this Delphi open source group was pretty far with the Windows security apis:

https://sourceforge.net/projects/jedi-apilib/

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus