TclPKCS11

Artifact [85de7abf4c]
Login

Artifact [85de7abf4c]

Artifact 85de7abf4cafb22d6b422a64781d870216138be99686414529f2ad8c73fd7607:

Manifest of check-in [85de7abf4c] - Updated to close session if we get a CKR_DEVICE_REMOVED on logout Win32-specific PKCS#11 definitions created Updated to retrieve function pointers using lookups rather than C_GetFunctionList on Win32 since ActivClient doesn't seem to return valid function pointers... Updated to return fake PKCS#11 error "MAYBE_LOGIN" if we are unable to find any private key objects Updated to try C_Encrypt for encryption before trying C_Sign. Updated to unpad (PKCS 1.5 mode 1 only) input when encrypting since some drivers require the input to be unpadded Minor cleanup Updated test driver to support logging in if MAYBE_LOGIN is recieved by rkeene on 2010-10-11 04:59:30.
C Updated\sto\sclose\ssession\sif\swe\sget\sa\sCKR_DEVICE_REMOVED\son\slogout\n\nWin32-specific\sPKCS#11\sdefinitions\screated\n\nUpdated\sto\sretrieve\sfunction\spointers\susing\slookups\srather\sthan\nC_GetFunctionList\son\sWin32\ssince\sActivClient\sdoesn't\sseem\sto\sreturn\nvalid\sfunction\spointers...\n\nUpdated\sto\sreturn\sfake\sPKCS#11\serror\s"MAYBE_LOGIN"\sif\swe\sare\sunable\sto\sfind\nany\sprivate\skey\sobjects\n\nUpdated\sto\stry\sC_Encrypt\sfor\sencryption\sbefore\strying\sC_Sign.\n\nUpdated\sto\sunpad\s(PKCS\s1.5\smode\s1\sonly)\sinput\swhen\sencrypting\ssince\ssome\ndrivers\srequire\sthe\sinput\sto\sbe\sunpadded\n\nMinor\scleanup\n\nUpdated\stest\sdriver\sto\ssupport\slogging\sin\sif\sMAYBE_LOGIN\sis\srecieved
D 2010-10-11T04:59:30.000
F .fossil-settings/ignore-glob ed8fde982f218cca44861195881227f9aeaf6a55039b283acd8bd77b5ccef9ee
F HEADER 85f998ab8ab026aa63775423074026222cdfa44bf9ad39160a075d56812d6cc7
F LICENSE a3dbc41744dd41fe3eaae2c19a03e8b7f2b49390b5955634f60dc01852b35e0a
F Makefile.in 87117fe1b659152d80b6b80caf77b5e3bb7be01626ce0cba706012841c8a33a3
F README d7214f60246242daa12c3e339c69608d41147c56b49bb3e44012e8e2e7a9b06b
F aclocal/shobj.m4 ef2141a6061e56c6828646e5271b3a0fb3b1c9a41cb36e951d866a4675304f88
F aclocal/tcl.m4 2724199821eb4fd824e9622f0d8062b8c306780b689ede4aaca0eeb6156b36fb
F build/autogen.sh cbb78b6ccf26b344bcf0a214b8a74a9e8a22565f527df2dd473383f5a55f1dbf x
F build/make-local 3bcde6e579898b787c9ab662b52094229f436b73b47079612845d2d4f31b550f x
F build/make-win32 1fc9e7f2148ec1ab55684e4153940415c710f8a57e4c83812cd3b9cffd73e3a2 x
F build/makearch.info 258616da79e9135a0ce737eaa92b2fe3ca5b42ae053f8e0bc5e3e82490650cac
F build/pre.sh a1a7b0be0e792a133787851ca8d583db8e2bd3d6f9e3ddd865ea105e239908e0 x
F build/win32/tcl.h 5e654ca2e7168fbd863ff274b184eade773b2556ef28e7a45e4a21f99df4e935
F build/win32/tclConfig.sh d58203fc426fad8a40fa2195e29f36a4224854d5fcd11059b507af0f6f84f94e
F build/win32/tclDecls.h 2e66cd90b1724ab23c310bbe71c0ccb11792d6e2a30d3e98ab32f4b3e44718cb
F build/win32/tclPlatDecls.h 1f3a5444ac87e264cbb552953d88361f59cc5c3fb6362efc42a616a12697321d
F config.guess b002d71b9157cd8b4aaf07904faa6eb2c17daa4eabcae5066b53af8d13d810f6 x
F config.sub 291ee26c12c4cb5bb7a4629e7740d46527fa93b4e27a70c779e78b478bf2d51f x
F configure.ac a7149bda1f2f3c5266c652b05414266a89d367bcc85388a4a5f672d94a94e743
F install-sh d37d0bcb7b7c8f8f0f86456dcef72edcd393ec1a078c83103f2b18551af110bd x
F pkcs11.h 4b887d3c75b508fa84ccaa4ba0effdfc3757deddfcb77e8690de6e7965e1de89
F pkcs11f.h 9dbcabb35b3e6b8509a7a900979b0ae89642318dabacbdbd78e2594f3003ee62
F pkcs11t.h def7d2f91880b350418e105560e2ca3ca480600d31f07523df65423373296fd6
F pkgIndex.tcl.in 812a044170482014cb6736652ce1a6cea5c842bae559f335b85967e0d777103e
F tclpkcs11.c f5446da07108ed48e9934f1e68df6a3bfd471346112813127f6d29e16355e0ce
F test.tcl ce581f0c53080781f326e2bb3685f38bf24297617c18bf7e0bd3f4aba3c30680 x
F usage.txt 584fd1a98e155f2fd647d106324f24714546142d3f345565cacc98558a2e44f0
P 74cea1e1745b9806e17519565e3ae311ec3c3ef53e748f86186f80c850cbb9b6
R 356c0e820cd11b4eeb0b399846d96597
U rkeene
Z 9814c176a3eb90653a21e14c052545c4