Yubikey cli for retrieving TOTP codes
Go to file
2021-12-02 16:07:47 -08:00
scripts Improve usage and set password arg 2021-07-25 22:14:45 -07:00
ykoath@fd081cb213 Improve support for YK5 2021-01-18 17:29:20 -08: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
build_linux.sh Add linux build script 2021-01-18 17:28:28 -08:00
go.mod Switch credential storage package 2021-01-11 20:06:56 -08:00
go.sum Switch credential storage package 2021-01-11 20:06:56 -08:00
LICENSE Initial commit 2020-12-11 04:16:35 +00:00
main.go Add prompt for when Yubikey needs a touch response 2021-11-12 11:47:13 -08:00
Makefile Add darwin arm 2021-12-02 16:07:47 -08:00
README.md Add linux build script 2021-01-18 17:28:28 -08: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.

Building for linux distros

This is a work in progress, but it can be done by running ./build_linux.sh [golang|ubuntu].