Re: Support of USB hardware tokens

2008-07-10 Thread Steven Edwards
On Tue, Jul 8, 2008 at 10:05 AM, Alexander Morozov <[EMAIL PROTECTED]> wrote: > Conformance tests should consist of a driver and a program to load > it. I do not know other method to call functions from ntoskrnl.exe and > usbd.sys on Windows. But I have a problem with building drivers with MinGW. I

Re: Support of USB hardware tokens

2008-07-08 Thread Alexander Morozov
> Yes, add conformance tests for the new ntoskrnl functions > and usbd.sys, and break the patch up a lot... Conformance tests should consist of a driver and a program to load it. I do not know other method to call functions from ntoskrnl.exe and usbd.sys on Windows. But I have a problem with bui

re: Support of USB hardware tokens

2008-07-07 Thread Dan Kegel
> I think should split my patch into many little commits. > Should also add some tests or make some changes? Yes, add conformance tests for the new ntoskrnl functions and usbd.sys, and break the patch up a lot... Looks like people have been hoping for something like this for a couple years now,

Re: Support of USB hardware tokens

2008-07-07 Thread Alexander Morozov
> Split it at least into the sub driver/dll parts. > > You can leave out the "configure" part, it will be regenerated form > configure. ac anyway. Same for dlls/Makefile.in > > The ntoskrnl changes might break the already working copy protection > drivers, so either try them yourself after the patc

Re: Support of USB hardware tokens

2008-07-07 Thread Marcus Meissner
On Mon, Jul 07, 2008 at 12:10:17PM +0400, Alexander Morozov wrote: > Hello All, > > I created a patch which adds support of USB hardware tokens with native > Windows drivers (.sys): > ftp://ftp.etersoft.ru/pub/download/amorozov/0001-Support-of-native-Windows-drivers-for-USB-t

Support of USB hardware tokens

2008-07-07 Thread Alexander Morozov
Hello All, I created a patch which adds support of USB hardware tokens with native Windows drivers (.sys): ftp://ftp.etersoft.ru/pub/download/amorozov/0001-Support-of-native-Windows-drivers-for-USB-tokens.txt Now SafeNet UltraPro (driver sntnlusb.sys, vid/pid 04b9:0300) and Eutron SmartKey 3