summaryrefslogtreecommitdiff
path: root/cli.go
AgeCommit message (Collapse)Author
2022-08-07all: replace golang.org/x/crypto/ssh/terminal with golang.org/x/termShulhan
The golang.org/x/crypto/ssh/terminal has been deprecated.
2022-08-07all: clean up codeShulhan
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)
2022-08-06all: fix base32 decoding on secretShulhan
The base32 decoding should be without padding otherwise it will return an error (for some base32 string): illegal base32 data at input byte 48
2022-03-14all: re-licensing gotp under GPL-3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2021-10-27gotp: command line interface for Time-based One Time Password (TOTP)Shulhan
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