From 479e33040d93e582aa10f19c299b2633f2270d24 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 25 May 2023 18:34:33 +0700 Subject: Release gotp v0.3.1 (2023-05-25) === Bug fix * all: load private key only when needed In case the configuration use private key with passphrase, the bash completion will hang due to the command ask for passphrase. This changes fix this issue by loading private key only when doing add, generate, import, or remote-private-key. --- _doc/CHANGELOG.adoc | 17 +++++++++++++++++ gotp.go | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/_doc/CHANGELOG.adoc b/_doc/CHANGELOG.adoc index ab7975b..ab11936 100644 --- a/_doc/CHANGELOG.adoc +++ b/_doc/CHANGELOG.adoc @@ -6,6 +6,23 @@ Shulhan :sectanchors: :sectlinks: +[#v0_3_1] +== gotp v0.3.1 (2023-05-25) + +[#v0_3_1__bug_fix] +=== Bug fix + +all: load private key only when needed:: ++ +-- +In case the configuration use private key with passphrase, the bash +completion will hang due to the command ask for passphrase. + +This changes fix this issue by loading private key only when doing add, +generate, import, or remote-private-key. +-- + + [#v0_3_0] == gotp v0.3.0 (2023-05-17) diff --git a/gotp.go b/gotp.go index f14ff4d..0c44adf 100644 --- a/gotp.go +++ b/gotp.go @@ -25,7 +25,7 @@ const ( ) var ( - Version = `0.3.0` + Version = `0.3.1` ) // normalizeLabel convert non alpha number, hyphen, underscore, or period -- cgit v1.3