Closed
Description
- Gitea version (or commit ref): v1.7.1
- Git version:
- Operating system: CentOS7
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
If you add a deploy key to a repository and delete the repo, the deploy key will persist in deploy_key table and reference a repo which does not exist anymore. The key also stays included in authorized_keys and can be result in problems if the key is used for other repositorys but in a different mode (read/write).
Metadata
Metadata
Assignees
Labels
No labels