| Age | Commit message (Collapse) | Author |
|
|
|
This is to allow people to see the CHANGELOG directly without going to
subdirectory first.
|
|
Using ".reuse/dep5" has been deprecated since REUSE v3.2.0.
|
|
=== 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.
|
|
=== 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.
|
|
=== New features
* all: implement command "get"
The "get" command get and print the issuer by its LABEL.
This will print the issuer secret, unencrypted.
=== Enhancements
* all: unfold private key path before reading
By unfolding, user can set the path to private key using "~" that points
to their home.
This make the key can works across home directory, in case user have
multiple homes (Linux and macOS have different home path and maybe
user name, but both can use "~" as substitution for $HOME)
* Makefile: add task to install and uninstall gotp in macOS
|
|
=== 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.
|
|
=== New features
* all: add command to remove the private key
* all: add command to set private key
=== Chores
* all: update Go version to 1.19 and all dependencies
|
|
I use two remote repositories: GitHub and SourceHut.
GitHub support rendering README using asciidoc while SourceHut not.
This cause the repository that use README.adoc rendered as text in
SourceHut which make the repository page less readable.
Also, the pkg.go.dev now render README but only support Markdown.
Since we cannot control the SourceHut and go.dev, the only option is
to support converting Markdown in ciigo so I can write README using
Markdown and the rest of documentation using Asciidoc.
|
|
=== Enhancements
* all: add bash completion script
=== Chores
* all: move the installation steps in AUR to Makefile
* make: change the build and install directory
The build task now create binary under _sys/usr/bin/, while the install
task install the binary based on $DESTDIR environment variable, not
$GOBIN.
|
|
=== Bug fix
* all: fix the go:embed reference to symbolic link
=== Chores
* all: add task to serve and preview the documentation at _doc
* all: group all documents into directory _doc
|
|
|