Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
98 stars 27 forks source link

nk3: Fix Version.__hash__ #349

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago

The current Version.__hash__ implementation is incorrect because it returns different values if the major, minor and patch parts are the same but one version has a pre part and is complete and the other version is incomplete.