Skip to content
Yubico Mobile Android SDK - YubiKit
Java Kotlin Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
YubikitDemo
fido first open source version Aug 6, 2019
fidodemo first open source version Aug 6, 2019
gradle/wrapper first open source version Aug 6, 2019
jcenter
keystore first open source version Aug 6, 2019
management first open source version Aug 6, 2019
oath first open source version Aug 6, 2019
otp first open source version Aug 6, 2019
scripts first open source version Aug 6, 2019
yubikit first open source version Aug 6, 2019
.gitignore first open source version Aug 6, 2019
LICENSE Initial commit Jul 5, 2019
README.md first open source version Aug 6, 2019
ReleaseNotes.txt first open source version Aug 6, 2019
azure-pipelines.yml first open source version Aug 6, 2019
build.gradle first open source version Aug 6, 2019
gradle.properties
gradlew set unix file format for gradlew script and set it executable permiss… Aug 6, 2019
gradlew.bat first open source version Aug 6, 2019
release.gradle first open source version Aug 6, 2019
settings.gradle first open source version Aug 6, 2019

README.md

YubiKit for Android

This is a pre-release version of YubiKit. Some of the specs and APIs may change in future releases so use this documentation and the library for prototyping and not for a public release. If you are an early adopter please provide detailed feedback about the design and issues you may find when using YubiKit.

YubiKit is an Android library provided Yubico to interact with YubiKeys. The library supports NFC-enabled and USB YubiKeys.

Please note, YubiKit consumes data from the token and translates to the application for further processing. YubiKit performs data validation for the purposes of creating valid responses to the application, however content/logical validation and security decisions are outside the scope of the YubiKit and must be handled by the application.

YubiKit is multi-module library with following components:

Yubikit provides an functionality to detect YubiKey plugged in or tapped over NFC,

OATH allows applications, such as an authenticator app, to store OATH TOTP and HOTP secrets on a YubiKey, and to retrieve one-time passwords,

OTP provides classes to obtain Yubikey OTP

FIDO2 supports a subset of FIDO2

All YubiKit modules has javadoc and sources deployed with the library archive. Use this documentation for a more detailed explanation of all the methods, properties and parameters from the API.

This library comes with a demo application named YubikitDemo. The application is implemented in Kotlin.

FAQ

Q1. Are there any versions of Android where YubiKit does not work?

YubiKit for FIDO2 should work on Android API 24+ Other YubiKit modules should work on Android API 19+ Yubico typically tests and support n-1 per https://en.wikipedia.org/wiki/Android_version_history.

Q2. How can I debug my app on Android when a YubiKey takes up the USB port?

You can set up adb debugging over WiFi: https://developer.android.com/studio/command-line/adb#wireless

6. Additional resources

  1. Yubico - Developers website
  2. Yubico - Online Demo
You can’t perform that action at this time.