Yubikey cli for retrieving TOTP codes
Go to file
IamTheFij 481c885be9 Add linux build script 2021-01-18 17:28:28 -08: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 Add linux build script 2021-01-18 17:28:28 -08: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
main.go Switch credential storage package 2021-01-11 20:06:56 -08: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.

Building for linux distros

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