Klas wrote:
Hello,
$ make -f windows.mk 64bit VERSION=0.1.3
/klas
Thanks Klas. That script/makefile was exactly what I was looking for. That windows.mk didnt obviously didnt work "out of the box" when running on Windows but it showed the steps and and arguments of the build process.
I rewrote the script to completely fetch libz, libzip, and libykneomgr, unpack it, autoreconf, autoconf, configure, and make the dependencies, .a, .dll, and test executable on Windows 7.
You only need the script, not the source. It downloads and builds everything.
I had to customized the i686-w64-mingw32 package to include gengetopt.exe + MSYS. I also removed the gtk document generation code.
The whole mingw compiler environment runs fine on Windows. I have communications with the Neo via my Omnikey NFC reader on Windows.
You want me to donate the script back or clone my directory tree so people can duplicate the compiler environment for your yubikey C code?
I have debugged your code flow, I understand the smartcard apdu commands, and it will be easier than I thought to build a Microsoft Visual Studio .dll to use the Windows SCard API's.
Only problem I will face is the documentation for your apdu payloads. Do you have documentation for the apdu payloads? Are all of the Neo Applet payloads completely different?
In particular I need apdu payload documentation for the Bitcoin, OTP, and OpenPGP applets.
I have no problem open sourcing my work since easy to use hardware security is, well, non existent. So many companies are trying to build custom security hardware when the Neo is so generic, customizable, and powerful. They are reinventing Yubico's hard work. Security is the #1 reason Cryptocurrencies have a bad name.
Erik