Skip to content

Conversation

@turboj
Copy link
Contributor

@turboj turboj commented Nov 23, 2017

wdi-simple had a similar bug like zadic with interface 0x00 - it would select the base usb devices instead of the correct interface.

Changed RSA key size to 4096 bits and documented the magic number creation.
Since key is auto-generated and never stored this should not be a security issue - but I think MS could disable 1024 bit keys alltogether at some point because they can be factored.

I also did not like the magic number that had no obvious reference to key size unless one is very fluent with hex calculations and bit shifts.

Zadic now allows interface 00 from command line for a composite device
Change the generated RSA key size to 4096 bits and also document how key size is
in upper 16 bits

Note: RSA key size of 4096 is currently recommended for strong
encryption
Both base device and the first composite interface can have interface number
0 (zero). Added an addional check for is_composite, otherwise driver
installation fails.
@pbatard
Copy link
Owner

pbatard commented Jan 5, 2018

Applied. Apologies for the extended delay...

@pbatard pbatard closed this in 10a194e Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants