Porting python-u2flib-server to cryptography I noticed that a few modules are duplicated in this project, and they're starting to diverge. Two examples are
u2flib_host.utils and u2flib_server.utils
u2flib_host.soft and python-u2flib-server/test/soft_u2f_v2.py
Are these intentional tradeoffs that you'd like to keep? Or mistakes you'd like fixed?
The options I see are
- Keep it as is, try to keep them in sync by hand.
- Make u2flib-server use the implementation in u2flib-host, and depend on it.
- Vice versa
- Create a third package that provides the common parts of u2flib-host and u2flib-server.
1 could allow bugs fixed in one package to go unfixed in the other. 2, 3 & 4 increase the complexity of making/keeping track of/declaring dependencies when releasing.