mirror of
https://github.com/1f349/twofactor.git
synced 2024-12-22 23:44:05 +00:00
72a472700b
The counter needs to be represented in bigendian format. Unfortunately with commit #00045cb I made the unfortunate choice to swap the endiannes from big-endian to little-endian. This broke the functionality for certain counters. - [x] Added Go vendoring - [x] Bumped version of golang in travis yml file - [x] Removed conversion files and instead used import of convert sec51 external library
16 lines
254 B
YAML
16 lines
254 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.5
|
|
|
|
sudo: required
|
|
|
|
install:
|
|
- go get "golang.org/x/crypto/nacl/box"
|
|
- go get "golang.org/x/crypto/nacl/secretbox"
|
|
- go get "golang.org/x/crypto/hkdf"
|
|
- go get "github.com/sec51/convert"
|
|
|
|
script:
|
|
- go test -v -race ./...
|