Yubikey cli for retrieving TOTP codes
Go to file
2020-12-10 23:55:55 -05:00
scripts Initial working commit 2020-12-10 23:55:55 -05:00
.gitignore Initial working commit 2020-12-10 23:55:55 -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
go.mod Initial working commit 2020-12-10 23:55:55 -05:00
go.sum Initial working commit 2020-12-10 23:55:55 -05:00
LICENSE Initial commit 2020-12-11 04:16:35 +00:00
main.go Initial working commit 2020-12-10 23:55:55 -05:00
Makefile Initial working commit 2020-12-10 23:55:55 -05:00
README.md Initial working commit 2020-12-10 23:55:55 -05:00

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.