Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
auth: Refactor stoken form handling
Split the devid/pass form from the PIN form, to allow the use of new "v3" tokens from the command line. On newer libstoken versions, query the PIN status and token interval time; use this information to figure out whether to request a PIN for concatenation (ala hard tokens) and whether to use a 30- or 60-second delta in response to the next tokencode prompt. Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
- Loading branch information
Showing
2 changed files
with
133 additions
and
39 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