Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
93 stars 28 forks source link

nk3: Drop Version.__hash__ #350

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago

Due to the issues discussed in #339 [0] and #340 [1], this patch removes the Version.__hash__ method and replaces the only usage of Version in a dict with a flattened list.

[0] https://github.com/Nitrokey/pynitrokey/pull/339 [1] https://github.com/Nitrokey/pynitrokey/pull/340

Fixes: https://github.com/Nitrokey/pynitrokey/issues/349

Checklist