Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 18:02:05 +0000
From:      Jeremy Faulkner <gldisater@gmail.com>
To:        questions@freebsd.org
Subject:   Yubikey
Message-ID:  <ca650bda0906061102s55523b01q8e6cc22e5a6b0312@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0016e645b9c492c9df046bb1cedf
Content-Type: text/plain; charset=UTF-8
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

--0016e645b9c492c9df046bb1cedf
Content-Type: text/plain; charset=US-ASCII; name="yubikey-lsusb.txt"
Content-Disposition: attachment; filename="yubikey-lsusb.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fvmd03su0

CkJ1cyAvZGV2L3VzYiBEZXZpY2UgL2Rldi91Z2VuNS41OiBJRCAxMDUwOjAwMTAgIApEZXZpY2Ug
RGVzY3JpcHRvcjoKICBiTGVuZ3RoICAgICAgICAgICAgICAgIDE4CiAgYkRlc2NyaXB0b3JUeXBl
ICAgICAgICAgMQogIGJjZFVTQiAgICAgICAgICAgICAgIDIuMDAKICBiRGV2aWNlQ2xhc3MgICAg
ICAgICAgICAwIChEZWZpbmVkIGF0IEludGVyZmFjZSBsZXZlbCkKICBiRGV2aWNlU3ViQ2xhc3Mg
ICAgICAgICAwIAogIGJEZXZpY2VQcm90b2NvbCAgICAgICAgIDAgCiAgYk1heFBhY2tldFNpemUw
ICAgICAgICAgOAogIGlkVmVuZG9yICAgICAgICAgICAweDEwNTAgCiAgaWRQcm9kdWN0ICAgICAg
ICAgIDB4MDAxMCAKICBiY2REZXZpY2UgICAgICAgICAgICAxLjMyCiAgaU1hbnVmYWN0dXJlciAg
ICAgICAgICAgMSBZdWJpY28KICBpUHJvZHVjdCAgICAgICAgICAgICAgICAyIFl1YmljbyBZdWJp
a2V5IFRvdWNoCiAgaVNlcmlhbCAgICAgICAgICAgICAgICAgMCAKICBiTnVtQ29uZmlndXJhdGlv
bnMgICAgICAxCiAgQ29uZmlndXJhdGlvbiBEZXNjcmlwdG9yOgogICAgYkxlbmd0aCAgICAgICAg
ICAgICAgICAgOQogICAgYkRlc2NyaXB0b3JUeXBlICAgICAgICAgMgogICAgd1RvdGFsTGVuZ3Ro
ICAgICAgICAgICAzNAogICAgYk51bUludGVyZmFjZXMgICAgICAgICAgMQogICAgYkNvbmZpZ3Vy
YXRpb25WYWx1ZSAgICAgMQogICAgaUNvbmZpZ3VyYXRpb24gICAgICAgICAgMCAKICAgIGJtQXR0
cmlidXRlcyAgICAgICAgIDB4YTAKICAgICAgKEJ1cyBQb3dlcmVkKQogICAgICBSZW1vdGUgV2Fr
ZXVwCiAgICBNYXhQb3dlciAgICAgICAgICAgICAgIDMwbUEKICAgIEludGVyZmFjZSBEZXNjcmlw
dG9yOgogICAgICBiTGVuZ3RoICAgICAgICAgICAgICAgICA5CiAgICAgIGJEZXNjcmlwdG9yVHlw
ZSAgICAgICAgIDQKICAgICAgYkludGVyZmFjZU51bWJlciAgICAgICAgMAogICAgICBiQWx0ZXJu
YXRlU2V0dGluZyAgICAgICAwCiAgICAgIGJOdW1FbmRwb2ludHMgICAgICAgICAgIDEKICAgICAg
YkludGVyZmFjZUNsYXNzICAgICAgICAgMyBIdW1hbiBJbnRlcmZhY2UgRGV2aWNlCiAgICAgIGJJ
bnRlcmZhY2VTdWJDbGFzcyAgICAgIDAgTm8gU3ViY2xhc3MKICAgICAgYkludGVyZmFjZVByb3Rv
Y29sICAgICAgMCBOb25lCiAgICAgIGlJbnRlcmZhY2UgICAgICAgICAgICAgIDAgCiAgICAgICAg
SElEIERldmljZSBEZXNjcmlwdG9yOgogICAgICAgICAgYkxlbmd0aCAgICAgICAgICAgICAgICAg
OQogICAgICAgICAgYkRlc2NyaXB0b3JUeXBlICAgICAgICAzMwogICAgICAgICAgYmNkSElEICAg
ICAgICAgICAgICAgMS4xMQogICAgICAgICAgYkNvdW50cnlDb2RlICAgICAgICAgICAgMCBOb3Qg
c3VwcG9ydGVkCiAgICAgICAgICBiTnVtRGVzY3JpcHRvcnMgICAgICAgICAxCiAgICAgICAgICBi
RGVzY3JpcHRvclR5cGUgICAgICAgIDM0IFJlcG9ydAogICAgICAgICAgd0Rlc2NyaXB0b3JMZW5n
dGggICAgICA3MQogICAgICAgICAgUmVwb3J0IERlc2NyaXB0b3I6IChsZW5ndGggaXMgNzEpCiAg
ICAgICAgICAgIEl0ZW0oR2xvYmFsKTogVXNhZ2UgUGFnZSwgZGF0YT0gWyAweDAxIF0gMQogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgR2VuZXJpYyBEZXNrdG9wIENvbnRyb2xzCiAgICAgICAg
ICAgIEl0ZW0oTG9jYWwgKTogVXNhZ2UsIGRhdGE9IFsgMHgwNiBdIDYKICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIEtleWJvYXJkCiAgICAgICAgICAgIEl0ZW0oTWFpbiAgKTogQ29sbGVjdGlv
biwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAgICAgICAgICAgICAgICAgICAgQXBwbGljYXRp
b24KICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBVc2FnZSBQYWdlLCBkYXRhPSBbIDB4MDcgXSA3
CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBLZXlib2FyZAogICAgICAgICAgICBJdGVtKExv
Y2FsICk6IFVzYWdlIE1pbmltdW0sIGRhdGE9IFsgMHhlMCBdIDIyNAogICAgICAgICAgICAgICAg
ICAgICAgICAgICAgQ29udHJvbCBMZWZ0CiAgICAgICAgICAgIEl0ZW0oTG9jYWwgKTogVXNhZ2Ug
TWF4aW11bSwgZGF0YT0gWyAweGU3IF0gMjMxCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBH
VUkgUmlnaHQKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1pbmltdW0sIGRhdGE9
IFsgMHgwMCBdIDAKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1heGltdW0sIGRh
dGE9IFsgMHgwMSBdIDEKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBSZXBvcnQgU2l6ZSwgZGF0
YT0gWyAweDAxIF0gMQogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFJlcG9ydCBDb3VudCwgZGF0
YT0gWyAweDA4IF0gOAogICAgICAgICAgICBJdGVtKE1haW4gICk6IElucHV0LCBkYXRhPSBbIDB4
MDIgXSAyCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBEYXRhIFZhcmlhYmxlIEFic29sdXRl
IE5vX1dyYXAgTGluZWFyCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBQcmVmZXJyZWRfU3Rh
dGUgTm9fTnVsbF9Qb3NpdGlvbiBOb25fVm9sYXRpbGUgQml0ZmllbGQKICAgICAgICAgICAgSXRl
bShHbG9iYWwpOiBSZXBvcnQgQ291bnQsIGRhdGE9IFsgMHgwMSBdIDEKICAgICAgICAgICAgSXRl
bShHbG9iYWwpOiBSZXBvcnQgU2l6ZSwgZGF0YT0gWyAweDA4IF0gOAogICAgICAgICAgICBJdGVt
KE1haW4gICk6IElucHV0LCBkYXRhPSBbIDB4MDEgXSAxCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBDb25zdGFudCBBcnJheSBBYnNvbHV0ZSBOb19XcmFwIExpbmVhcgogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0YXRlIE5vX051bGxfUG9zaXRpb24gTm9uX1ZvbGF0
aWxlIEJpdGZpZWxkCiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRh
PSBbIDB4MDUgXSA1CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IFNpemUsIGRhdGE9
IFsgMHgwMSBdIDEKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBVc2FnZSBQYWdlLCBkYXRhPSBb
IDB4MDggXSA4CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBMRURzCiAgICAgICAgICAgIEl0
ZW0oTG9jYWwgKTogVXNhZ2UgTWluaW11bSwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgTnVtTG9jawogICAgICAgICAgICBJdGVtKExvY2FsICk6IFVzYWdlIE1h
eGltdW0sIGRhdGE9IFsgMHgwNSBdIDUKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEthbmEK
ICAgICAgICAgICAgSXRlbShNYWluICApOiBPdXRwdXQsIGRhdGE9IFsgMHgwMiBdIDIKICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIERhdGEgVmFyaWFibGUgQWJzb2x1dGUgTm9fV3JhcCBMaW5l
YXIKICAgICAgICAgICAgICAgICAgICAgICAgICAgIFByZWZlcnJlZF9TdGF0ZSBOb19OdWxsX1Bv
c2l0aW9uIE5vbl9Wb2xhdGlsZSBCaXRmaWVsZAogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFJl
cG9ydCBDb3VudCwgZGF0YT0gWyAweDAxIF0gMQogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFJl
cG9ydCBTaXplLCBkYXRhPSBbIDB4MDMgXSAzCiAgICAgICAgICAgIEl0ZW0oTWFpbiAgKTogT3V0
cHV0LCBkYXRhPSBbIDB4MDEgXSAxCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBDb25zdGFu
dCBBcnJheSBBYnNvbHV0ZSBOb19XcmFwIExpbmVhcgogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgUHJlZmVycmVkX1N0YXRlIE5vX051bGxfUG9zaXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxk
CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRhPSBbIDB4MDYgXSA2
CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IFNpemUsIGRhdGE9IFsgMHgwOCBdIDgK
ICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1pbmltdW0sIGRhdGE9IFsgMHgwMCBd
IDAKICAgICAgICAgICAgSXRlbShHbG9iYWwpOiBMb2dpY2FsIE1heGltdW0sIGRhdGE9IFsgMHg2
NSBdIDEwMQogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFVzYWdlIFBhZ2UsIGRhdGE9IFsgMHgw
NyBdIDcKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEtleWJvYXJkCiAgICAgICAgICAgIEl0
ZW0oTG9jYWwgKTogVXNhZ2UgTWluaW11bSwgZGF0YT0gWyAweDAwIF0gMAogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgTm8gRXZlbnQKICAgICAgICAgICAgSXRlbShMb2NhbCApOiBVc2FnZSBN
YXhpbXVtLCBkYXRhPSBbIDB4NjUgXSAxMDEKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEtl
eWJvYXJkIEFwcGxpY2F0aW9uIChXaW5kb3dzIEtleSBmb3IgV2luOTUgb3IgQ29tcG9zZSkKICAg
ICAgICAgICAgSXRlbShNYWluICApOiBJbnB1dCwgZGF0YT0gWyAweDAwIF0gMAogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgRGF0YSBBcnJheSBBYnNvbHV0ZSBOb19XcmFwIExpbmVhcgogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0YXRlIE5vX051bGxfUG9zaXRpb24g
Tm9uX1ZvbGF0aWxlIEJpdGZpZWxkCiAgICAgICAgICAgIEl0ZW0oTG9jYWwgKTogVXNhZ2UsIGRh
dGE9IFsgMHgwMyBdIDMKICAgICAgICAgICAgICAgICAgICAgICAgICAgIEtleWJvYXJkIEVycm9y
IFVuZGVmaW5lZAogICAgICAgICAgICBJdGVtKEdsb2JhbCk6IFJlcG9ydCBTaXplLCBkYXRhPSBb
IDB4MDggXSA4CiAgICAgICAgICAgIEl0ZW0oR2xvYmFsKTogUmVwb3J0IENvdW50LCBkYXRhPSBb
IDB4MDggXSA4CiAgICAgICAgICAgIEl0ZW0oTWFpbiAgKTogRmVhdHVyZSwgZGF0YT0gWyAweDAy
IF0gMgogICAgICAgICAgICAgICAgICAgICAgICAgICAgRGF0YSBWYXJpYWJsZSBBYnNvbHV0ZSBO
b19XcmFwIExpbmVhcgogICAgICAgICAgICAgICAgICAgICAgICAgICAgUHJlZmVycmVkX1N0YXRl
IE5vX051bGxfUG9zaXRpb24gTm9uX1ZvbGF0aWxlIEJpdGZpZWxkCiAgICAgICAgICAgIEl0ZW0o
TWFpbiAgKTogRW5kIENvbGxlY3Rpb24sIGRhdGE9bm9uZQogICAgICBFbmRwb2ludCBEZXNjcmlw
dG9yOgogICAgICAgIGJMZW5ndGggICAgICAgICAgICAgICAgIDcKICAgICAgICBiRGVzY3JpcHRv
clR5cGUgICAgICAgICA1CiAgICAgICAgYkVuZHBvaW50QWRkcmVzcyAgICAgMHg4MSAgRVAgMSBJ
TgogICAgICAgIGJtQXR0cmlidXRlcyAgICAgICAgICAgIDMKICAgICAgICAgIFRyYW5zZmVyIFR5
cGUgICAgICAgICAgICBJbnRlcnJ1cHQKICAgICAgICAgIFN5bmNoIFR5cGUgICAgICAgICAgICAg
ICBOb25lCiAgICAgICAgICBVc2FnZSBUeXBlICAgICAgICAgICAgICAgRGF0YQogICAgICAgIHdN
YXhQYWNrZXRTaXplICAgICAweDAwMDggIDF4IDggYnl0ZXMKICAgICAgICBiSW50ZXJ2YWwgICAg
ICAgICAgICAgIDEwCkRldmljZSBTdGF0dXM6ICAgICAweDAwMDAKICAoQnVzIFBvd2VyZWQpCg==
--0016e645b9c492c9df046bb1cedf--



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