Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate TOTP/HOTP codes for ourselves
No released version of liboath supports SHA256/SHA512. At this point it looks like more trouble than it's worth, since generating an HMAC is fairly trivial and we already do it in various places already. This is simpler than adding conditional support for the new function that liboath will eventually add to allow us to specify the HMAC algorithm we want it to use. (SHA1 only for now; we need to work out how the user asks for it too) Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jan 30, 2015
1 parent
3e097d5
commit 554454b
Showing
4 changed files
with
66 additions
and
27 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
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