• Stars
    star
    204
  • Rank 190,957 (Top 4 %)
  • Language
    Go
  • License
    Other
  • Created about 10 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Package go-otp implements one-time-password generators used in 2-factor authentication systems like RSA-tokens. Currently this supports both HOTP (RFC-4226), TOTP (RFC-6238) and Base32 encoding (RFC-3548) for Google Authenticator compatibility

OTP

Build Status

Package go-otp implements one-time-password generators used in 2-factor authentication systems like RSA-tokens and Google Authenticator. Currently this supports both HOTP (RFC-4226) and TOTP (RFC-6238).

Install

$ go get github.com/hgfischer/go-otp

Usage

Check API docs, with examples, at http://godoc.org/github.com/hgfischer/go-otp

License

Copyright (c) 2014, Herbert G. Fischer All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the organization nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL HERBERT G. FISCHER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

More Repositories

1

mysqlsuperdump

Generate partial and filtered dumps of MySQL databases
Go
117
star
2

gomk

An opinionated Makefile for Go projects.
Makefile
95
star
3

domainerator

Simple application written in Go that combines two wordlists and a list of TLDs to form domain names and check if they are already registered.
Go
27
star
4

http-here

http-here is a simple http server for testing, local development, and learning.
Go
13
star
5

go-type-assertion-benchmark

Naive performance test of two ways to do type assertion in Go.
Go
6
star
6

nginx2stathat

Program to watch a nginx combined access.log and send every line to syslog
Go
5
star
7

go-iter

Idiomatic Go Iterators
Go
4
star
8

sns2slack

Simple HTTP server that listens for AWS SNS messages and reposts them to a SlackHD webhook.
Go
4
star
9

martini-vs-negroni

simple benchmark for comparing martini vs negroni
Go
4
star
10

go-bfmt

Conditional `fmt`
Go
3
star
11

setuid

test
Go
2
star
12

vim

My personal vim setup
Vim Script
2
star
13

go-zahlen

Converts natural numbers to it's full written form in German
Go
2
star
14

hgfischer.github.io-src

Hugo source of my personal website
CSS
1
star
15

shiny-sniffle

TypeScript
1
star
16

bootstrap

Makefile
1
star
17

localkube

Local Kubernetes Cluster with libvirt and Vagrant
Makefile
1
star
18

talks

Go talks
Makefile
1
star
19

goat

Go
1
star
20

dnshaka

Go
1
star
21

golego

Nothing special here...
Go
1
star
22

textable

nothing to see here yet. come back soon.
Go
1
star
23

go-ackermann

Ackermann function in Go
Go
1
star
24

hgfischer.github.io

My personal website
HTML
1
star
25

wp_two_factor_radius_auth

Two-Factor RADIUS authentication plugin for Wordpress
PHP
1
star
26

elastictool

nothing to see here
Go
1
star
27

rlm_perl_hotp

HOTP/RFC-4226 authentication script for FreeRadius that uses Redis as user token's database
Perl
1
star
28

go-lokia

Go
1
star
29

Kubernetes14

Shell
1
star
30

gocql-debug

Debugging gocql
Shell
1
star