~shulhan/gotp

Release gotp v0.6.1 (2025-02-03)

This releases mostly contains chores that update the dependencies and
tooling.

[CHORE]
We have replace all linters from third party and external program to use
internal command and "go vet" only.
This should simplify setting up development.

[CHORE]
The CHANGELOG has been moved to the root of repository.
This is to allow people to see the CHANGELOG directly without going to
subdirectory first.

[CHORE]
The "gotp version" now set from output of "git describe" and set using
"-ldflags" during build option.
The output also changes from "go v<SEMVER>" to "go version <SEMVER>".

all: set the Version using git describe and -ldflags

While at it, refactor the string output when printing the version to
print string "version" instead of only "v".

all: move the CHANGELOG to root of repository

This is to allow people to see the CHANGELOG directly without going to
subdirectory first.

all: replace external linters with internal command

The fieldalignment and shadow linters are from golang.org/x/tools.
Those linters have an exposed APIs that can be combined into single
call or program, which provided by "pakakeh.go/lib/goanalysis".

This help reduce the tooling need to be installed or setup for
development.
go.mod: update all dependencies
go.mod: update all dependencies
all: replace golangci-lint with go vet

Golangci-lint is too unreliable for working with gotip, use too
much memory, and its become red herring and subjective instead of
correctness.
go.mod: update all dependencies
all: replace licensing format to REUSE.toml

Using ".reuse/dep5" has been deprecated since REUSE v3.2.0.
go.mod: update all dependencies
Release gotp v0.6.0 (2024-06-22)

=== New features

all: implement command "export"::

  The "export" command export all issuers to file or standard output,

    $ gotp export <FORMAT> [FILE]

  List of known supported FORMAT is: uri. If FILE is not defined it
  will print to standard output. The list of exported issuers are
  printed in order of its label.

=== Bug fix

Fix "gen" command due to lower case secret::

  Sometimes, provider provide base32 of secret in lowercase.
  But, to decode it, all of the characters must be in upper case
  otherwise it will be failed.
all: implement command "export"

The "export" command export all issuers to file or standard output,

	$ gotp export <FORMAT> [FILE]

List of known supported FORMAT is: uri.
If FILE is not defined it will print to standard output.
The list of exported issuers are printed in order of its label.
go.mod: update dependencies
all: comply with linter recommendations
all: replace module "share" with "pakakeh.go"

The "share" module has been moved to moved from github, to sourcehut.
Convert base32 encoded hash to upper case
Release gotp v0.5.0 (2024-02-08)

=== Breaking changes

* all: make the path to private key static

  Instead of prompting user, make the private key static, located at
  "$XDG_CONFIG_DIR/gotp/gotp.key".
  If the key exist, the issuer will be encrypted.

=== Enhancements

* all: ask for passphrase when removing or renaming label

  Even though "rename" command does not read the encrypted secret, as long
  as the private key is in use, it should ask for passphrase.

  The remove operation allow only the one that know the private key can
  modify the issuer.

* _sys: fix the bash completion installation directory

  In POSIX system, the correct installation for bash completion script
  should be /usr/share/bash-completion not under /etc directory.
_AUR: use branch dev when testing build on local
go.mod: update dependencies
_sys: fix the bash completion installation directory

In POSIX system, the correct installation for bash completion
script should be /usr/share/bash-completion not under /etc
directory.
Next
Do not follow this link