solokeys / solo1-cli

Solo 1 library and CLI in Python
https://pypi.org/project/solo-python
Apache License 2.0
183 stars 69 forks source link

Add serial number to linux device descriptor when parsing uevent files #81

Closed Iolaum closed 4 years ago

Iolaum commented 4 years ago

I wanted to get the solo key's serial number from python but noticed that it was only available on the CLI interface. This PR refactors the code so that the fix is applied universally when a device descriptor is created instead of only when a command is given from the cli interface.

I have more details about this in issue #80 Getting Serial number from solo library.