Yubikey cli for retrieving TOTP codes
Go to file
IamTheFij e212cee7c6 Submodule ykoath 2021-01-07 14:34:33 -05:00
scripts Submodule ykoath 2021-01-07 14:34:33 -05:00
ykoath@b083034539 Submodule ykoath 2021-01-07 14:34:33 -05:00
.gitignore Initial working commit 2020-12-10 23:55:55 -05:00
.gitmodules Submodule ykoath 2021-01-07 14:34:33 -05:00
.golangci.yml Initial working commit 2020-12-10 23:55:55 -05:00
.pre-commit-config.yaml Initial working commit 2020-12-10 23:55:55 -05:00
LICENSE Initial commit 2020-12-11 04:16:35 +00:00
Makefile Submodule ykoath 2021-01-07 14:34:33 -05:00
README.md Initial working commit 2020-12-10 23:55:55 -05:00
go.mod Submodule ykoath 2021-01-07 14:34:33 -05:00
go.sum Initial working commit 2020-12-10 23:55:55 -05:00
main.go Initial working commit 2020-12-10 23:55:55 -05:00

README.md

yk-cli

Yubikey cli for retrieving TOTP codes

Installation

Currently, there is no binary release published, but it can be built with make build and then you can copy ./build/yk to somewhere in your path.

If you're a fish user, you can also add ./scripts/yk.fish to your conf.d/ directory to get completions.

Building

Executing make build will compile to ./build/yk. Additionally, distribution builds should be possible with make all or by building a particular target. Eg make ./dist/yk-darwin-amd64. There is also an alias present and the ./dist/ prefix can be left off.

Note on distribution builds

Currently cross compiling is not working correctly.