Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GP auth: give challenge/2FA forms a constant auth_id/name of "_challe…
…nge" Until now, we've been using the `inputStr` value (hex token that has to accompany challenge form submission) as the `auth_id` for challenge forms, but it appears these values aren't fixed from run-to-run, which makes it impossible to use `--form-entry` to fill them out. This patch makes all challenge forms have `auth_id=_challenge`, so they can be filled with `--form-entry=_challenge:passwd=VALUE`. The `inputStr` value will now be shoehorned into `form->action`. Unless we find a GP VPN that uses multiple independent challenges (3FA?), this should work better. ping #112 Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 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