Tools and library to work with OATH HOTP (RFC 4226)/TOTP.
Tested on amd64, sparc64. ok?

If you're playing with google authenticator you'll need to convert your
keys between base32 and hex, see the recently sent p5-Convert-Base32 port
e.g.

use Convert::Base32;
my $s = pack('H*', '99d12448129d1e8192e063d64714209137e13864');
print encode_base32($s)."\n";

use Convert::Base32;
my $s = decode_base32('thisisastupidexampleofbase36code');
print unpack('H*', $s)."\n";

-- -- -- -- --
The OATH Toolkit makes it easy to build one-time password authentication
systems. This package contains a shared library and a command line tool
for generating and validating OTPs.

Supported technologies include the event-based HOTP algorithm (RFC 4226)
and the time-based TOTP algorithm (draft-mraihi-totp-timebased-07).
OATH stands for Open AuTHentication, which is the organization that
specify the algorithms.
-- -- -- -- --

Attachment: oath-toolkit.tgz
Description: application/tar-gz

Reply via email to