![]() |
i2c Smartcard-Reader TOH
Hi folks,
what do you people think about connecting a Smartcard-reader to the i2c interface? This would allow smartcard based authentification for e.g. gpg or ssh (and possibly to lock/unlock the whole device). The FSF fellowship smartcard is likely a good point to start and since most (if not all) necessary software is already available for linux/ARM it's rather the hardware implementation that need's to be done. There are several cheap and small serial card reader modules available and I presume it wouldn't be too much work to somehow attach a reader to the Jolla's i2c bus and stick a selfmade (3D-printed) TOH around it... I'm not too much into hardware engineering (actually not at all), but I just wanted to bring this one in and I'm curious to hear your thoughts! Thanks in advance, Chris |
Re: i2c Smartcard-Reader TOH
To be more precise:
Is it straight forward to connect this module (http://classic.parallax.com/product/32320) to the Jolla i2c bus to eventually use OpenPGP smartcards (http://en.m.wikipedia.org/wiki/OpenPGP_card)? Thanks in advance, Chris |
Re: i2c Smartcard-Reader TOH
Quote:
https://www.youtube.com/playlist?lis...C63828A483E756 that card reader does not uses i2c. |
Re: i2c Smartcard-Reader TOH
Hi Dirk,
thanks for your hint! It is probably easier to utilize something like http://www.hidglobal.com/products/em...s/omnikey/3111 then. It's probably only necessary to level shift the Jollas output power to 5V (as in PS/2 specs) and to somehow connect the serial port to the i2c module. The reader itself is known to work with linux... thanks. |
Re: i2c Smartcard-Reader TOH
you did ask ps2 connection to i2c in i2ctool thread, guessing it relates to this thread?
Quote:
and http://www.nxp.com/documents/applica...te/AN10207.pdf But i think "easiest" way is to use small microcontroller as I2C slave, and to interface to the PS/2 keyboard - it makes PS/2 data available to be read by phone - If want to experiment, use e.g. Arduino. Connect it to the phone with MyHalf 5V can be made with step-up converter. All these parts are available from various sources (MyHalfs maybe not so many places) |
Re: i2c Smartcard-Reader TOH
As far as I understand, PS/2 is only needed for power and not for data. It would therefore only be necessary to somehow interface serial to i2c. I also came across this reader: http://www.horter.de/i2c/i2c-chipkar...pkarten_1.html which seems to be genuine i2c. No idea if it supports OpenPGP/Basiccards nor if it is supported by gnupg/ccid or pcscd, though.
I thought i2c is somehow a serial interface, maybe it is the best to start with a supported serial reader if connection to i2c is feasible. |
Re: i2c Smartcard-Reader TOH
Quote:
Quote:
Quote:
To interface with all kind of smartcards, the omnikey 3111 seems plausible,but you would need something like http://talk.maemo.org/showthread.php?t=92382 and step-up DCDC converter to 5V power. But to start with I2C smart-cards, you'll need to know supported voltage of the card, if it is 1.8V or 3.3V then you can connect it to phone with e.g. MyHalf circuitry. |
Re: i2c Smartcard-Reader TOH
Thanks for your detailed description.
I was just thinking that it might be feasible to build a i2c-iso7816 interface from the scratch, e.g. by utilizing a TDA8029 microprocessor as described here: http://www.nxp.com/documents/applica...te/AN10207.pdf or http://www.bdtic.com/DownLoad/ST/AN2284.pdf As far as I undestand the specifications (e.g. http://www.nxp.com/products/identifi...TDA8029HL.html) this could also work with 3,3V as supplied by jolla. Interfacing from i2c to serial and then from serial to Iso7816 is maybe one step to much. However, I have no clue how to obtain such a microprocessor, nor how to put the parts together nor how to write the code for both the microprocessor or the linux driver... So, as long as no one else steps in and helps out with hard- and/or software design I guess it is the easiest (for me) to wait until you have your RS232-adaptor ready and I can play around with a serial reader and a 5V converter. Thanks anyways! |
Re: i2c Smartcard-Reader TOH
Quote:
I suggest to get yourself a Arduino or something and get started with things. |
Re: i2c Smartcard-Reader TOH
Quote:
Just one more thing: I found these card readers: http://www.ineltek.com/ru/files/Insi...er_2012_03.pdf Some of those come with Omnikey firmware which eradicates the linux-driver issue as Omnikey readers are supported by Linux pcscd already. Furthermore, all of them can run with 3,3 voltage as supplied by the Jolla. The only thing that needs to be handled would be to somehow convert i2c to either UART or SPI, since none of the readers seems to support i2c out of the box. Is there any (straight forward) solution to connect a SPI device to an i2c bus? I would be willing to order those parts and play around with them if it sounds somewhat feasible. |
All times are GMT. The time now is 07:14. |
vBulletin® Version 3.8.8