Yubikey cli for retrieving TOTP codes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
IamTheFij 73b6aef9d9 Improve support for YK5 3 days ago
scripts Submodule ykoath 2 weeks ago
ykoath@fd081cb213 Improve support for YK5 3 days ago
.gitignore Initial working commit 1 month ago
.gitmodules Submodule ykoath 2 weeks ago
.golangci.yml Initial working commit 1 month ago
.pre-commit-config.yaml Initial working commit 1 month ago
LICENSE Initial commit 1 month ago
Makefile Submodule ykoath 2 weeks ago
README.md Add linux build script 3 days ago
build_linux.sh Add linux build script 3 days ago
go.mod Switch credential storage package 1 week ago
go.sum Switch credential storage package 1 week ago
main.go Improve support for YK5 3 days ago

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].