From a74359d0344293b7ff40b792f1f3ef0798f72c6b Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 7 Aug 2022 01:48:27 +0700 Subject: Release gotp v0.2.1 (2022-08-07) === 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 --- .gitignore | 3 +-- CHANGELOG.adoc | 33 +++++++++++++++++++++++++++++++++ gotp.go | 2 +- 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 // 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 :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 -- cgit v1.3