-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sign: Don't delete source container before trying to inject signature
The new flow requires the source container, so we can't delete it before trying to inject the signature. Rework both paths to write to a temporary path, then `rename()` into place for consistency, and this is also closer to being an atomic operation.
- Loading branch information
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters