Device public key uniqueness should be enforced at the database level
Open
bug
- Dominant language
- Rust
- Stars
- 2.8k
- Forks
- 115
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
**Describe the bug**
In the current implementation, uniqueness of the public keys of devices is enforced only at the backend level. A `UNIQUE` constraint should be added along with a migration which purges already present duplicate keys from the database.
Contributor guide
Assessment
This issue has not been assessed yet.