<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gotp, branch v0.5.0</title>
<subtitle>CLI to manage Time-based OTP.</subtitle>
<id>http://git.kilabit.info/gotp/atom?h=v0.5.0</id>
<link rel='self' href='http://git.kilabit.info/gotp/atom?h=v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/'/>
<updated>2024-02-08T15:17:47Z</updated>
<entry>
<title>Release gotp v0.5.0 (2024-02-08)</title>
<updated>2024-02-08T15:17:47Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-02-08T15:17:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=ccb8ba05b202dcca0628f8bec86654916c233b14'/>
<id>urn:sha1:ccb8ba05b202dcca0628f8bec86654916c233b14</id>
<content type='text'>
=== 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.
</content>
</entry>
<entry>
<title>_AUR: use branch dev when testing build on local</title>
<updated>2024-02-08T15:13:19Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-02-08T15:13:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=76fe42757f82837466e82327d4af277f6a82eeff'/>
<id>urn:sha1:76fe42757f82837466e82327d4af277f6a82eeff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>go.mod: update dependencies</title>
<updated>2024-02-08T11:22:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-02-08T11:22:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=da6a5594b5ba5e40700bfed6764d8b66d704b7a0'/>
<id>urn:sha1:da6a5594b5ba5e40700bfed6764d8b66d704b7a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>_sys: fix the bash completion installation directory</title>
<updated>2024-01-30T17:09:54Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-30T17:09:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=f5788bdd8ab4a853f453d06ca1e7deb636877b15'/>
<id>urn:sha1:f5788bdd8ab4a853f453d06ca1e7deb636877b15</id>
<content type='text'>
In POSIX system, the correct installation for bash completion
script should be /usr/share/bash-completion not under /etc
directory.
</content>
</entry>
<entry>
<title>cli: ask for passphrase when removing or renaming label</title>
<updated>2024-01-29T19:08:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-29T19:08:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=267821d95857ed51e2e5e23556884c383d94ca24'/>
<id>urn:sha1:267821d95857ed51e2e5e23556884c383d94ca24</id>
<content type='text'>
Even though rename 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.
</content>
</entry>
<entry>
<title>all: use [lib/crypto.LoadPrivateKeyInteractive]</title>
<updated>2024-01-29T19:01:41Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-29T19:01:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=77ba620765a5682e05169be8b8740df925f612c8'/>
<id>urn:sha1:77ba620765a5682e05169be8b8740df925f612c8</id>
<content type='text'>
The lib/crypto.LoadPrivateKeyInteractive provides a simple way to read
passphrase from stdin that also support SSH_ASKPASS.

While at it, add test for Cli with passphrase.
</content>
</entry>
<entry>
<title>issuer: trim spaces on label and rawConfig parameter in NewIssuer</title>
<updated>2024-01-29T16:56:52Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-29T16:56:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=a6f27c3faea924a509915ab679511033893b773f'/>
<id>urn:sha1:a6f27c3faea924a509915ab679511033893b773f</id>
<content type='text'>
If the label or rawConfig is empty, return an error immediately.
</content>
</entry>
<entry>
<title>cli: simplify Import</title>
<updated>2024-01-29T16:55:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-29T16:55:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=1b26cbde7cc7f8488fa5df3c37c9b0163a921631'/>
<id>urn:sha1:1b26cbde7cc7f8488fa5df3c37c9b0163a921631</id>
<content type='text'>
Check for valid provider name and parse the imported file
before loading private key.
</content>
</entry>
<entry>
<title>all: make the path to private key static</title>
<updated>2024-01-28T10:45:39Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-28T09:37:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=3aa08b00a1151249c6172f0739daac6be5ef857f'/>
<id>urn:sha1:3aa08b00a1151249c6172f0739daac6be5ef857f</id>
<content type='text'>
Instead of prompting user, make the private key static, located at
"$XDG_CONFIG_DIR/gotp/gotp.key".

Implements: https://todo.sr.ht/~shulhan/gotp/1
</content>
</entry>
<entry>
<title>go.mod: update all dependencies</title>
<updated>2024-01-25T16:39:30Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-25T16:39:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=6aeb5a7c882c30c9a9042f30f2ae16d35d2f47d3'/>
<id>urn:sha1:6aeb5a7c882c30c9a9042f30f2ae16d35d2f47d3</id>
<content type='text'>
</content>
</entry>
</feed>
