summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-07 01:48:27 +0700
committerShulhan <ms@kilabit.info>2022-08-07 01:48:33 +0700
commita74359d0344293b7ff40b792f1f3ef0798f72c6b (patch)
treedc6341956e6af3d4ca5874e0c3f4456c987d97ff
parent2b15b6b72e3cb46e6ff9a1c8aa406916bb60c9d0 (diff)
downloadgotp-0.2.1.tar.xz
Release gotp v0.2.1 (2022-08-07)v0.2.1
=== Bug fixes * all: fix base32 decoding on secret === Chores * _AUR: add package build for Arch Linux * go.mod: set minimum Go version to 1.18 and update all modules
-rw-r--r--.gitignore3
-rw-r--r--CHANGELOG.adoc33
-rw-r--r--gotp.go2
3 files changed, 35 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 23f5027..b1aee54 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,7 @@
// SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info>
// SPDX-License-Identifier: GPL-3.0-or-later
-README.html
+*.html
_bin/
-cover.html
cover.out
testdata/add.conf
testdata/save.conf
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc
index c777f3a..f5389e5 100644
--- a/CHANGELOG.adoc
+++ b/CHANGELOG.adoc
@@ -6,6 +6,37 @@ Shulhan <ms@kilabit.info>
:sectanchors:
:sectlinks:
+
+[#v0_2_1]
+== gotp v0.2.1 (2022-08-07)
+
+[#v0_2_1_bug_fixes]
+=== Bug fixes
+
+all: fix base32 decoding on secret::
++
+--
+The base32 decoding should be without padding otherwise it will return
+an error (for some base32 string):
+
+ illegal base32 data at input byte XX
+--
+
+[#v0_2_1_chores]
+=== Chores
+
+_AUR: add package build for Arch Linux::
+This package build the gotp based on the latest tag and commit.
+
+go.mod: set minimum Go version to 1.18 and update all modules::
++
+--
+The 1.17 has been deprecated since the release of 1.19.
+
+This update affect the test cases on Cli.
+--
+
+[#v0_2_0]
== gotp v0.2.0 (2022-03-14)
Release gotp under GPL 3.0 or later.
@@ -13,12 +44,14 @@ Release gotp under GPL 3.0 or later.
See https://kilabit.info/journal/2022/gpl/ for more information.
+[#v0_1_0]
== gotp v0.1.0 (2022-02-08)
The first release of gotp, a command line interface to manage and generate
Time-based One Time Password (TOTP).
Features,
+
* Add a TOTP secret identified by unique LABEL.
* Generate N number passwords using the secret identified by LABEL.
* Import the TOTP configuration from other provider.
diff --git a/gotp.go b/gotp.go
index 4e88a4d..ad8daef 100644
--- a/gotp.go
+++ b/gotp.go
@@ -25,7 +25,7 @@ const (
)
var (
- Version = `0.2.0`
+ Version = `0.2.1`
)
// normalizeLabel convert non alpha number, hyphen, underscore, or period