Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

soramitsukhmer/kt-yubikey-bk

Repository files navigation

yubikey-kotlin Project

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./gradlew quarkusDev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Packaging and running the application

The application can be packaged using:

./gradlew clean build

Specific these two value in client application properties file:

application.properties

yubikey.client-id={{VALUE}}
yubikey.api-key={{VALUE}}

Note:

  • We use library com.yubico:yubico-validation-client to validate yubikey otp.
  • The library above using wsapi url: https://api.yubico.com/wsapi/2.0/verify to verify otp from yubikey.
  • Generate your first Yubikey API key here

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published