<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gotp/config_test.go, branch dev</title>
<subtitle>CLI to manage Time-based OTP.</subtitle>
<id>http://git.kilabit.info/gotp/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/gotp/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/'/>
<updated>2024-03-26T09:05:13Z</updated>
<entry>
<title>all: replace module "share" with "pakakeh.go"</title>
<updated>2024-03-26T09:05:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-26T09:05:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=bd4157bbd951d7207d5398006c98cebe483e459f'/>
<id>urn:sha1:bd4157bbd951d7207d5398006c98cebe483e459f</id>
<content type='text'>
The "share" module has been moved to moved from github, to sourcehut.
</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>all: unfold private key path before reading</title>
<updated>2023-10-06T03:03:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-07-24T06:01:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=8a1a81a6428ae970569d9c2a506acf90deb2e0c4'/>
<id>urn:sha1:8a1a81a6428ae970569d9c2a506acf90deb2e0c4</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>all: group the key for testing into testdata/keys</title>
<updated>2023-05-15T16:34:15Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-15T16:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=bee390efcc5ab2c03738ee36e06a0bac108ad392'/>
<id>urn:sha1:bee390efcc5ab2c03738ee36e06a0bac108ad392</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: load the private key in loadConfig</title>
<updated>2023-05-15T16:23:41Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-15T16:23:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=bb1160d3f13514bebcb81e89c082198c5278b89e'/>
<id>urn:sha1:bb1160d3f13514bebcb81e89c082198c5278b89e</id>
<content type='text'>
This changes require the loadPrivateKey method detached from Cli and
become function.
</content>
</entry>
<entry>
<title>all: add function loadConfig</title>
<updated>2023-05-15T13:37:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-15T13:37:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=f59e59c029a0332e7fd63e0cd5ea7fb30eb7d991'/>
<id>urn:sha1:f59e59c029a0332e7fd63e0cd5ea7fb30eb7d991</id>
<content type='text'>
The loadConfig load the configuration from raw bytes.
This replace part of newConfig with loadConfig to minimize duplicate.

The idea of loadConfig is to simplify testing later.
</content>
</entry>
<entry>
<title>all: clean up code</title>
<updated>2022-08-06T17:43:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-06T17:43:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=06016118084334cb22ee1455a7f3786c6162673a'/>
<id>urn:sha1:06016118084334cb22ee1455a7f3786c6162673a</id>
<content type='text'>
Changes,

* Replace variable declaration ":=" using explicit one
* Use raw string literal whenever possible
* Realign struct Config from 56 to 40 bytes (-16 bytes)
* Realign struct Issuer from 88 to 72 bytes (-16 bytes)
</content>
</entry>
<entry>
<title>all: re-licensing gotp under GPL-3.0 or later</title>
<updated>2022-03-14T16:26:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-03-14T16:26:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=fffdcde3ca6e39c9b249ed76ee802faeda532603'/>
<id>urn:sha1:fffdcde3ca6e39c9b249ed76ee802faeda532603</id>
<content type='text'>
See https://kilabit.info/journal/2022/gpl/ for more information.
</content>
</entry>
<entry>
<title>gotp: command line interface for Time-based One Time Password (TOTP)</title>
<updated>2021-10-27T15:21:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-10-22T18:55:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/gotp/commit/?id=c814416265b73823c215c04f5656471b84116e19'/>
<id>urn:sha1:c814416265b73823c215c04f5656471b84116e19</id>
<content type='text'>
The gotp currently has the following features,

* add: add new TOTP issuer with their label and secret
* gen: generate password
* import: import TOTP from other provider, currently support Aegis
* list: print all registered TOTP configuration by labels
* remove: delete a TOTP configuration from file by label
* rename: changes the TOTP configuration by its label
</content>
</entry>
</feed>
