aboutsummaryrefslogtreecommitdiff
path: root/gotp.go
diff options
context:
space:
mode:
Diffstat (limited to 'gotp.go')
-rw-r--r--gotp.go15
1 files changed, 9 insertions, 6 deletions
diff --git a/gotp.go b/gotp.go
index b6e8204..52000a8 100644
--- a/gotp.go
+++ b/gotp.go
@@ -11,16 +11,19 @@ import (
// List of available algorithm for Provider.
const (
- HashSHA1 = `SHA1` // Default algorithm.
- HashSHA256 = `SHA256`
- HashSHA512 = `SHA512`
+ HashSHA1 = `SHA1` // Default algorithm.
+ HashSHA256 = `SHA256`
+ HashSHA512 = `SHA512`
+ defaultHash = HashSHA1
)
const (
- configFile = `gotp.conf`
- defaultHash = HashSHA1
+ configFile = `gotp.conf`
+ privateKeyFile = `gotp.key`
+)
- // List of known providers
+// List of known providers.
+const (
providerNameAegis = `aegis`
)