Archive for the ‘pcsc’ Category

PC/SC for PHP officially released on the PECL platform

Tuesday, December 13th, 2011

I am lucky to say, that my PHP extension for using Smart Cards based on the winscard API was successful released on pecl.php.net. It is designed for the use with the wonderful project PCSC-Lite for *nix. Since PCSC-Lite is implementing the API compatible to the PC/SC standard it should be possible to compile this code on other operating systems too.

I have created this extension in 2010 but needed to clean it up and do some long term tests. It runs nicely on some machines and now you are able to do Smart Card terminal prototyping using PHP. I am using this extension to run Smart Card devices on the server side for enabling communication with Secure Application Modules (SAM) / Hardware Security Modules (HSM).

The name of the extension is “pcsc”. There is only a small subset of the API implemented but for most things this is enough. I will implement the full API at any time.

More information:

To checkout the code you need to execute the following command:

svn checkout http://svn.php.net/repository/pecl/pcsc/trunk pcsc

Thanks to the PHP developers who helped me doing this step and for commenting my code.

Posted in: account, code, language, opensource, pcsc, php, programming, scm, smartcard

PC/SC for PHP

Friday, December 17th, 2010

I have released the source code of my project “PC/SC for PHP” today.

It is an extension for PHP using pcsc-lite for smart card communication based on the PC/SC standard.

It is just an attempt to realize the idea of native and server side smart card communication within a PHP project. It could for example be useful if your web application needs access to crypto for signing, encryption etc. using a smart card as a SAM (Secure Application Module) or as a HSM (Hardware Security Module).

Have fun and please send me some comments…!

Posted in: device, opensource, pcsc, php, programming, smartcard

Pages

Categories

account acta amsterdam android app arduino arm attiny automation avr beach board book circuit code community cross cyanogen denhaag denmark desaster deutsch device distribution diy dotnet electronics embedded extension firefox foo fosdem freedom freifunk friends fun games gcc gentoo german gnoduino hamburg header holiday host howto httpd internet irc jabber keitum kernel language lcd led lego leiden leo leo-search life linux madurodam mariadb matrix mindstorms minimal mobile monitoring moon music mysql nagios nas netduino netherland network news nxt ooc openmediavault opensource openwrt pcsc photos php politics programming question recovery robotics rsync sabayon scm sensor server service shell simulation smartcard snow soap space sun sweden sylt techno telemichel toolchain translation vpn website wine wiring wsdl xmpp zsh zynk

$Date: 2010-12-17 00:11:02 +0100 (Fri, 17 Dec 2010) $