aboutsummaryrefslogtreecommitdiff
path: root/issuer.go
AgeCommit message (Collapse)Author
2024-03-26all: comply with linter recommendationsShulhan
2024-03-26all: replace module "share" with "pakakeh.go"Shulhan
The "share" module has been moved to moved from github, to sourcehut.
2024-01-30all: use [lib/crypto.LoadPrivateKeyInteractive]Shulhan
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.
2024-01-29issuer: trim spaces on label and rawConfig parameter in NewIssuerShulhan
If the label or rawConfig is empty, return an error immediately.
2023-10-06all: convert the issuer's label to lowercase in NewIssuerShulhan
2023-10-06all: replace encrypt and decryption functions from "lib/crypto"Shulhan
The "lib/crypto" DecryptAoep and EncryptAoep support large message.
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-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