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.
|
1 year ago | |
---|---|---|
scripts | 2 years ago | |
ykoath@fd081cb213 | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
.golangci.yml | 2 years ago | |
.pre-commit-config.yaml | 2 years ago | |
LICENSE | 2 years ago | |
Makefile | 1 year ago | |
README.md | 2 years ago | |
build_linux.sh | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
main.go | 1 year 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]
.