EnglishFrenchSpanish

OnWorks favicon

ykchalresp - Online in the Cloud

Run ykchalresp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ykchalresp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ykchalresp - Perform challenge-response operation with YubiKey

SYNOPSIS


ykchalresp [-1 | -2] [-H] [-Y] [-N] [-x] [-v] [-6] [-8] [-t] [-V] [-h]

DESCRIPTION


Send a challenge to a YubiKey, and read the response. The YubiKey can be configured with
two different C/R modes -- the standard one is a 160 bits HMAC-SHA1, and the other is a
YubiKey OTP mimicing mode, meaning two subsequent calls with the same challenge will
result in different responses.

OPTIONS


-1 send the challenge to slot 1. This is the default.

-2 send the challenge to slot 2.

-H send a 64 byte HMAC challenge. This is the default.

-Y send a 6 byte Yubico OTP challenge.

-N non-blocking mode -- abort if the YubiKey is configured to require a key press
before sending the response.

-x challenge is hex encoded.

-v enable verbose mode.

-6 output the response in OATH format, 6 digits.

-8 output the response in OATH format, 8 digits.

-t use current time as challenge instead of reading challenge from command line (as in
default TOTP mode, seconds since 1970-01-01 00:00:00 / 30 encoded as an 8 byte
challenge).

-V print tool version and exit.

EXAMPLE


The YubiKey challenge-response operation can be demonstrated using the NIST PUB 198 A.2
test vector.

First, program a YubiKey with the test vector :

$ ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -a 303132333435363738393a3b3c3d3e3f40414243
...
Commit? (y/n) [n]: y
$

Now, send the NIST test challenge to the YubiKey and verify the result matches the
expected :

$ ykchalresp -2 'Sample #2'
0922d3405faa3d194f82a45830737d5cc6c75d24
$

Use ykchalresp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad