-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ [#4320] Implement shortcut flow for cosign verification
If the code querystring parameter is provided, perform the form validation in the GET request rather than requiring the user to fill out the form, and automatically redirect back to the frontend to do the cosigning. There is a minor risk for CSRF here, *if* the attacker is able to guess the submission reference + form combination and the victim has an active, authenticated session. Note that the session idle time is capped at 15 minutes, so the risk is considered not problematic.
- Loading branch information
1 parent
e3ab079
commit 499e0d8
Showing
2 changed files
with
60 additions
and
2 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
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