Skip to content

Fork of Yubiclip for Static Passwords over NFC. Encrypt your static password to secure it from Drive-by reading attacks.

License

Notifications You must be signed in to change notification settings

craftxbox/yubiclip-xor

 
 

Repository files navigation

YubiClip XOR Java CI with Gradle

A fork of YubiClip
Present static passwords over NFC securely from your NFC enabled Yubikey.

Get it on F-Droid Get it on Google Play

Or download the latest APK from the Releases Section.

First-time XOR Setup & Password changes

If you're just using the app for OTP codes, or do not wish to enable encryption, Disable the "XOR Decryption" option in the settings. You can safely ignore this section.

If you wish to setup XOR protection, keep reading You will need to be at a computer with Python 3 and Pip installed.
Setup for XOR cannot be performed from the app itself.

Download the latest release and extract it. Open a terminal or command prompt in the extracted folder and run the following commands:

  pip install -r requirements.txt
  py xorsetup.py <slot: 1|2> [optional XOR Key]

Follow the prompts given in the terminal. We recommend provisioning slot 2, as using slot 1 will destroy the factory Yubico OTP keys.

Example setup process:

  PS D:\yubiclip-xor\py> python .\xorsetup.py 2
  Generated XOR key: 1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f
  Note this in a secure place, if you lose it you will not be able to recover your password!
  Waiting for YubiKey insertion...
  YubiKey inserted!
  !!!!! CONFIRM !!!!!
  This will overwrite the SLOT 2
  Do you wish to continue? y/n
  y
  Continuing...
  Loaded provision key. Remove your YubiKey and scan it with the Yubiclip-XOR app before continuing.
  Continue setup? y/n
  y
  Waiting for YubiKey insertion...
  Enter password (max 30 bytes, min 8): ********
  Confirm password: ********
  !!!!! CONFIRM !!!!!
  This will overwrite the SLOT 2
  Do you wish to continue? y/n
  y
  Continuing...
  Setup complete. Remove your YubiKey and scan it with the Yubiclip-XOR app.

IMPORTANT: If you change your password, it is HIGHLY DISCOURAGED to use the same XOR key as before.
If you use the same key twice, you will ruin the security of the XOR encryption!
Simply: Do not use the second argument to xorsetup.py unless you really know what you are doing.

Build from source

Building can be done through gradlew as follows:

./gradlew assemble

Resulting APKs can be found in app/build/outputs/apk or you can install the Debug APK via ADB with:

./gradlew installDebug

Note: To install Release APKs they need to be signed first!
Debug APKs do not need to be signed (as they are signed with the debug key)

About

Fork of Yubiclip for Static Passwords over NFC. Encrypt your static password to secure it from Drive-by reading attacks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 85.1%
  • Python 14.9%