OpenSC/OpenSC — pull request #150 by hongquan (2013-03-27 10:58:08+00:00)
Title: TrueCrypt support for OpenPGP

Hello,

Here is the patch of OpenPGP to support the use of pkcs15's data object by TrueCrypt.

The method is to map data object to OpenPGP private DOs (0101 - 0104). However, currently, only DO 0101 can be used. Because other DOs (0102 - 0104) cannot be accessed at pkcs15 emulation initialization. Ref: http://sourceforge.net/mailarchive/message.php?msg_id=30646373

Another limitation is the inconsistence of filename between TrueCrypt own file list and token's. Please see these screenshot:
http://storage2.static.itmages.com/i/13/0327/h_1364371394_2877566_f6a08508dd.png
http://storage5.static.itmages.com/i/13/0327/h_1364371606_1091578_409c011341.png
There is no way to store the filename to OpenPGP card, it has to be hard-coded.

So, the note for user is: After importing keyfile to token, user should restart TrueCrypt to get the right filename.