Skip to content

Releases: cryptographix/pcsc-deno

Improved compatibility with windows and linux

21 Nov 15:26
8ffee89
Compare
Choose a tag to compare

Incorporates a number of fixes:

  • Improve compatibility with Windows and Linux (endianness, padding, libso name)
  • Fix cases of communication with T=0/1 cards

Improved documentation.

Requires Deno 1.25 or greater.

Improve docs, add example and licence

26 Jul 02:31
Compare
Choose a tag to compare

Bump release to trigger update at `deno.land/x/pcsc`

04 Jul 15:18
Compare
Choose a tag to compare

ContextProvider and registry, reorg exports

03 Jul 17:42
Compare
Choose a tag to compare

Changes:

  1. Adds ContextProvider, a static registry that
  • Is a central point for obtaining Context implementations.
  • Auto-registers the FFI implementation if required, when running under Deno.
  • Allows additional implementations of Context to be registered, ready for card-emulator, node-compat, etc
  1. Reorganized exports to facilitate tree-shaking,
  • mod.ts - exports complete functionality
  • iso7816/iso7816.ts exports ISO7816 types, enums and classes, non-Deno specific
  • pcsc/pcsc.ts exports PC/SC types and enums, non-Deno specific
  • deno-pcsc-ffi/deno-pcsc-ffi.ts exports Deno specific 'ffi' functionality

Basic functionality for HL and LL APIs.

02 Jul 20:20
Compare
Choose a tag to compare

This release includes the basic functionality for using Smartcards with Deno.

  • Working low-level API - equivalent to PC/SC (winscard/pcsclite) API, useful for porting legacy applications.

  • High Level abstraction for new applications, based on the following objects:

    • FFIContext - connection to PC/SC, list readers, listen for reader/card events
    • Reader - check status (PRESENT/MUTE/CONNECTED), connect to cards, listen for card events
    • Card - a connection to a powered-up smart-card, transmit APDU commands, status

Needs Deno 1.23.2 or greater for FFI functionality, along with --allow-ffi and --unstable flags.

Tests in ./tests.