Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GITEA] Make atomic ssh keys replacement robust
- After stumbling upon golang/go#22397 and reading the implementations I realized that Forgejo code doesn't have `Sync()` and it doesn't properly error handle the `Close` function. - (likely) Resolves https://codeberg.org/forgejo/forgejo/issues/1446 (cherry picked from commit 0efcb33) (cherry picked from commit 04ef02c) (cherry picked from commit 85f2065) (cherry picked from commit 8d36b5c) (cherry picked from commit 0f406dc) (cherry picked from commit 347a2e7)
- Loading branch information