Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jun 2009 18:21:04 +0000
From:      Jeremy Faulkner <gldisater@gmail.com>
To:        usb@freebsd.org
Subject:   Yubikey
Message-ID:  <4A2C0510.9060701@gmail.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060407020903040000000103
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Has anybody gotten a Yubikey to work with FreeBSD? It attaches as a
uhid device on both 7 and 8.

ugen5.5: <Yubico> at usbus5
uhid0: <Yubico Yubico Yubikey Touch, class 0/0, rev 2.00/1.32, addr 5> 
on usbus5

For those not familiar with a Yubikey it is a usb device that attaches
as a keyboard and when the button is pressed it generates a 44
character One Time Password (OTP) and inputted into the computer as if
it were typed. Unfortunately with FreeBSD 7 & 8 I'm not able to get
that output. Under NetBSD the Yubikey does get attached as a keyboard
and works perfectly. Any thoughts on how to get the Yubikey to attach
as a keyboard under FreeBSD?

I've attached the output of 'lsusb -d 1050:0010 -v >
~/yubikey-lsusb.txt' from the ports/sysutils/usbutils port

-- 
Jeremy Faulkner


--------------060407020903040000000103
Content-Type: text/plain;
 name="yubikey-lsusb.txt"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="yubikey-lsusb.txt"

CkJ1cyAvZGV2L3VzYiBEZXZpY2UgL2Rldi91Z2VuNS41OiBJRCAxMDUwOjAwMTAgIApEZXZp
Y2UgRGVzY3JpcHRvcjoKICBiTGVuZ3RoICAgICAgICAgICAgICAgIDE4CiAgYkRlc2NyaXB0
b3JUeXBlICAgICAgICAgMQogIGJjZFVTQiAgICAgICAgICAgICAgIDIuMDAKICBiRGV2aWNl
Q2xhc3MgICAgICAgICAgICAwIChEZWZpbmVkIGF0IEludGVyZmFjZSBsZXZlbCkKICBiRGV2
aWNlU3ViQ2xhc3MgICAgICAgICAwIAogIGJEZXZpY2VQcm90b2NvbCAgICAgICAgIDAgCiAg
Yk1heFBhY2tldFNpemUwICAgICAgICAgOAogIGlkVmVuZG9yICAgICAgICAgICAweDEwNTAg
CiAgaWRQcm9kdWN0ICAgICAgICAgIDB4MDAxMCAKICBiY2REZXZpY2UgICAgICAgICAgICAx
LjMyCiAgaU1hbnVmYWN0dXJlciAgICAgICAgICAgMSBZdWJpY28KICBpUHJvZHVjdCAgICAg
ICAgICAgICAgICAyIFl1YmljbyBZdWJpa2V5IFRvdWNoCiAgaVNlcmlhbCAgICAgICAgICAg
ICAgICAgMCAKICBiTnVtQ29uZmlndXJhdGlvbnMgICAgICAxCiAgQ29uZmlndXJhdGlvbiBE
ZXNjcmlwdG9yOgogICAgYkxlbmd0aCAgICAgICAgICAgICAgICAgOQogICAgYkRlc2NyaXB0
b3JUeXBlICAgICAgICAgMgogICAgd1RvdGFsTGVuZ3RoICAgICAgICAgICAzNAogICAgYk51
bUludGVyZmFjZXMgICAgICAgICAgMQogICAgYkNvbmZpZ3VyYXRpb25WYWx1ZSAgICAgMQog
ICAgaUNvbmZpZ3VyYXRpb24gICAgICAgICAgMCAKICAgIGJtQXR0cmlidXRlcyAgICAgICAg
IDB4YTAKICAgICAgKEJ1cyBQb3dlcmVkKQogICAgICBSZW1vdGUgV2FrZXVwCiAgICBNYXhQ
b3dlciAgICAgICAgICAgICAgIDMwbUEKICAgIEludGVyZmFjZSBEZXNjcmlwdG9yOgogICAg
ICBiTGVuZ3RoICAgICAgICAgICAgICAgICA5CiAgICAgIGJEZXNjcmlwdG9yVHlwZSAgICAg
ICAgIDQKICAgICAgYkludGVyZmFjZU51bWJlciAgICAgICAgMAogICAgICBiQWx0ZXJuYXRl
U2V0dGluZyAgICAgICAwCiAgICAgIGJOdW1FbmRwb2ludHMgICAgICAgICAgIDEKICAgICAg
YkludGVyZmFjZUNsYXNzICAgICAgICAgMyBIdW1hbiBJbnRlcmZhY2UgRGV2aWNlCiAgICAg
IGJJbnRlcmZhY2VTdWJDbGFzcyAgICAgIDAgTm8gU3ViY2xhc3MKICAgICAgYkludGVyZmFj
ZVByb3RvY29sICAgICAgMCBOb25lCiAgICAgIGlJbnRlcmZhY2UgICAgICAgICAgICAgIDAg
CiAgICAgICAgSElEIERldmljZSBEZXNjcmlwdG9yOgogICAgICAgICAgYkxlbmd0aCAgICAg
ICAgICAgICAgICAgOQogICAgICAgICAgYkRlc2NyaXB0b3JUeXBlICAgICAgICAzMwogICAg
ICAgICAgYmNkSElEICAgICAgICAgICAgICAgMS4xMQogICAgICAgICAgYkNvdW50cnlDb2Rl
ICAgICAgICAgICAgMCBOb3Qgc3VwcG9ydGVkCiAgICAgICAgICBiTnVtRGVzY3JpcHRvcnMg
ICAgICAgICAxCiAgICAgICAgICBiRGVzY3JpcHRvclR5cGUgICAgICAgIDM0IFJlcG9ydAog
ICAgICAgICAgd0Rlc2NyaXB0b3JMZW5ndGggICAgICA3MQogICAgICAgICAgUmVwb3J0IERl
c2NyaXB0b3I6IChsZW5ndGggaXMgNzEpCiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogVXNh
Z2UgUGFnZSwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
R2VuZXJpYyBEZXNrdG9wIENvbnRyb2xzCiAgICAgICAgICAgIEl0ZW0oTG9jYWwgKTogVXNh
Z2UsIGRhdGE9IFsgMHgwNiBdIDYKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEtleWJv
YXJkCiAgICAgICAgICAgIEl0ZW0oTWFpbiAgKTogQ29sbGVjdGlvbiwgZGF0YT0gWyAweDAx
IF0gMQogICAgICAgICAgICAgICAgICAgICAgICAgICAgQXBwbGljYXRpb24KICAgICAgICAg
ICAgSXRlbShHbG9iYWwpOiBVc2FnZSBQYWdlLCBkYXRhPSBbIDB4MDcgXSA3CiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICBLZXlib2FyZAogICAgICAgICAgICBJdGVtKExvY2FsICk6
IFVzYWdlIE1pbmltdW0sIGRhdGE9IFsgMHhlMCBdIDIyNAogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgQ29udHJvbCBMZWZ0CiAgICAgICAgICAgIEl0ZW0oTG9jYWwgKTogVXNhZ2Ug
TWF4aW11bSwgZGF0YT0gWyAweGU3IF0gMjMxCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICBHVUkgUmlnaHQKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1pbmltdW0s
IGRhdGE9IFsgMHgwMCBdIDAKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1h
eGltdW0sIGRhdGE9IFsgMHgwMSBdIDEKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBSZXBv
cnQgU2l6ZSwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFJl
cG9ydCBDb3VudCwgZGF0YT0gWyAweDA4IF0gOAogICAgICAgICAgICBJdGVtKE1haW4gICk6
IElucHV0LCBkYXRhPSBbIDB4MDIgXSAyCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBE
YXRhIFZhcmlhYmxlIEFic29sdXRlIE5vX1dyYXAgTGluZWFyCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICBQcmVmZXJyZWRfU3RhdGUgTm9fTnVsbF9Qb3NpdGlvbiBOb25fVm9sYXRp
bGUgQml0ZmllbGQKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBSZXBvcnQgQ291bnQsIGRh
dGE9IFsgMHgwMSBdIDEKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBSZXBvcnQgU2l6ZSwg
ZGF0YT0gWyAweDA4IF0gOAogICAgICAgICAgICBJdGVtKE1haW4gICk6IElucHV0LCBkYXRh
PSBbIDB4MDEgXSAxCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb25zdGFudCBBcnJh
eSBBYnNvbHV0ZSBOb19XcmFwIExpbmVhcgogICAgICAgICAgICAgICAgICAgICAgICAgICAg
UHJlZmVycmVkX1N0YXRlIE5vX051bGxfUG9zaXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxk
CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRhPSBbIDB4MDUg
XSA1CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IFNpemUsIGRhdGE9IFsgMHgw
MSBdIDEKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBVc2FnZSBQYWdlLCBkYXRhPSBbIDB4
MDggXSA4CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBMRURzCiAgICAgICAgICAgIEl0
ZW0oTG9jYWwgKTogVXNhZ2UgTWluaW11bSwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgTnVtTG9jawogICAgICAgICAgICBJdGVtKExvY2FsICk6IFVz
YWdlIE1heGltdW0sIGRhdGE9IFsgMHgwNSBdIDUKICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIEthbmEKICAgICAgICAgICAgSXRlbShNYWluICApOiBPdXRwdXQsIGRhdGE9IFsgMHgw
MiBdIDIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIERhdGEgVmFyaWFibGUgQWJzb2x1
dGUgTm9fV3JhcCBMaW5lYXIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIFByZWZlcnJl
ZF9TdGF0ZSBOb19OdWxsX1Bvc2l0aW9uIE5vbl9Wb2xhdGlsZSBCaXRmaWVsZAogICAgICAg
ICAgICBJdGVtKEdsb2JhbCk6IFJlcG9ydCBDb3VudCwgZGF0YT0gWyAweDAxIF0gMQogICAg
ICAgICAgICBJdGVtKEdsb2JhbCk6IFJlcG9ydCBTaXplLCBkYXRhPSBbIDB4MDMgXSAzCiAg
ICAgICAgICAgIEl0ZW0oTWFpbiAgKTogT3V0cHV0LCBkYXRhPSBbIDB4MDEgXSAxCiAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBDb25zdGFudCBBcnJheSBBYnNvbHV0ZSBOb19XcmFw
IExpbmVhcgogICAgICAgICAgICAgICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0YXRlIE5v
X051bGxfUG9zaXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxkCiAgICAgICAgICAgIEl0ZW0o
R2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRhPSBbIDB4MDYgXSA2CiAgICAgICAgICAgIEl0
ZW0oR2xvYmFsKTogUmVwb3J0IFNpemUsIGRhdGE9IFsgMHgwOCBdIDgKICAgICAgICAgICAg
SXRlbShHbG9iYWwpOiBMb2dpY2FsIE1pbmltdW0sIGRhdGE9IFsgMHgwMCBdIDAKICAgICAg
ICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1heGltdW0sIGRhdGE9IFsgMHg2NSBdIDEw
MQogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFVzYWdlIFBhZ2UsIGRhdGE9IFsgMHgwNyBd
IDcKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEtleWJvYXJkCiAgICAgICAgICAgIEl0
ZW0oTG9jYWwgKTogVXNhZ2UgTWluaW11bSwgZGF0YT0gWyAweDAwIF0gMAogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgTm8gRXZlbnQKICAgICAgICAgICAgSXRlbShMb2NhbCApOiBV
c2FnZSBNYXhpbXVtLCBkYXRhPSBbIDB4NjUgXSAxMDEKICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIEtleWJvYXJkIEFwcGxpY2F0aW9uIChXaW5kb3dzIEtleSBmb3IgV2luOTUgb3Ig
Q29tcG9zZSkKICAgICAgICAgICAgSXRlbShNYWluICApOiBJbnB1dCwgZGF0YT0gWyAweDAw
IF0gMAogICAgICAgICAgICAgICAgICAgICAgICAgICAgRGF0YSBBcnJheSBBYnNvbHV0ZSBO
b19XcmFwIExpbmVhcgogICAgICAgICAgICAgICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0
YXRlIE5vX051bGxfUG9zaXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxkCiAgICAgICAgICAg
IEl0ZW0oTG9jYWwgKTogVXNhZ2UsIGRhdGE9IFsgMHgwMyBdIDMKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIEtleWJvYXJkIEVycm9yIFVuZGVmaW5lZAogICAgICAgICAgICBJdGVt
KEdsb2JhbCk6IFJlcG9ydCBTaXplLCBkYXRhPSBbIDB4MDggXSA4CiAgICAgICAgICAgIEl0
ZW0oR2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRhPSBbIDB4MDggXSA4CiAgICAgICAgICAg
IEl0ZW0oTWFpbiAgKTogRmVhdHVyZSwgZGF0YT0gWyAweDAyIF0gMgogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgRGF0YSBWYXJpYWJsZSBBYnNvbHV0ZSBOb19XcmFwIExpbmVhcgog
ICAgICAgICAgICAgICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0YXRlIE5vX051bGxfUG9z
aXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxkCiAgICAgICAgICAgIEl0ZW0oTWFpbiAgKTog
RW5kIENvbGxlY3Rpb24sIGRhdGE9bm9uZQogICAgICBFbmRwb2ludCBEZXNjcmlwdG9yOgog
ICAgICAgIGJMZW5ndGggICAgICAgICAgICAgICAgIDcKICAgICAgICBiRGVzY3JpcHRvclR5
cGUgICAgICAgICA1CiAgICAgICAgYkVuZHBvaW50QWRkcmVzcyAgICAgMHg4MSAgRVAgMSBJ
TgogICAgICAgIGJtQXR0cmlidXRlcyAgICAgICAgICAgIDMKICAgICAgICAgIFRyYW5zZmVy
IFR5cGUgICAgICAgICAgICBJbnRlcnJ1cHQKICAgICAgICAgIFN5bmNoIFR5cGUgICAgICAg
ICAgICAgICBOb25lCiAgICAgICAgICBVc2FnZSBUeXBlICAgICAgICAgICAgICAgRGF0YQog
ICAgICAgIHdNYXhQYWNrZXRTaXplICAgICAweDAwMDggIDF4IDggYnl0ZXMKICAgICAgICBi
SW50ZXJ2YWwgICAgICAgICAgICAgIDEwCkRldmljZSBTdGF0dXM6ICAgICAweDAwMDAKICAo
QnVzIFBvd2VyZWQpCg==
--------------060407020903040000000103--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2C0510.9060701>