mirror of
https://github.com/kopia/kopia.git
synced 2026-01-23 13:58:08 -05:00
Rationale: this code path is primarily executed from the server. A potential error, say from a corrupt, unsupported or otherwise invalid user profile should not cause the server to panic (and crash). It is possible for `computePasswordHash` to return an error, not just an impossibility. Test refactoring: - use 'require' in user profile tests; - move test case to TestBadPasswordHashVersion; - update comments in test.