Re: RFC - one old and one new bluetooth device driver.

Godfrey Chung <[email protected]> Tue, 15 Aug 2017 15:31:09 +0800
Newsgroups gmane.comp.lib.muscle
Message-ID <CAF8LfwKCUaVLLYcj3j4ydLd0Ezd2-fjP4LuRf1r-wdPnWA6y1w@mail.gmail.com>
Hi James

On Mon, Aug 14, 2017 at 8:53 PM, James <[email protected]> wrote:
> The ACR3901U-S1 is in current production and communicates
> using a stripped down version of CCID over Bluetooth
> Low-Energy GATT, or CCID over USB. The over-the-air
> interface is protected by mutual authentication, and
> encrypted using 128 bit AES CBC using a random session
> key. The driver implements support for both interfaces.
>
> The device requires a 16 byte secret key to be known by
> the connecting computer, at the moment pcscd doesn't
> provide a simple way to insert this - (in this patch it's
> hard coded to the default value). What would be the
> preffered method of getting this into the driver?

You can load the key from Info.plist.

Regards

Godfrey