Yubico Forum
https://forum.yubico.com/

[SOLVED] neo sends the letter "p" in front of HOTP
https://forum.yubico.com/viewtopic.php?f=26&t=2780
Page 1 of 1

Author:  unyf01 [ Fri Nov 10, 2017 3:21 pm ]
Post subject:  [SOLVED] neo sends the letter "p" in front of HOTP

I just bought a yubikey neo with firmware v3.4.9 and configured it for OATH HOTP and configured NDEF to work on the slot with the OATH HOTP (I've tried this in both slot 1 & 2 with the exact same results).

On my Android phone, OnePlus One, I installed yubiclip v1.2.0.

When I touch the key to the back of my phone, yubiclip gets the OTP *BUT* every 8 digit OTP is proceeded by the letter "p". For example:

p36780753

Have I stumbled upon a bug? Any ideas on how to stop each OTP from being proceeded with a "p"

[UPDATE]
I rebooted my OnePlus One a few dozen more times and the "p" went away.

This was just NFC weirdness on my Android and had nothing to do with the NEO or YubiClip.

Author:  ChrisHalos [ Fri Nov 10, 2017 6:20 pm ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

I can't reproduce using ANY of the settings within the OATH-HOTP programming section of the Personalization Tool. The only way I can get a "p" prefix is by going to Tools > NDEF Programming, changing URI to Text, adding a p in the NDEF payload textbox, and clicking Program.

Author:  unyf01 [ Fri Nov 10, 2017 8:01 pm ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

thanks for testing this, much appreciated.

I programmed NDEF as "text" and no matter what I put into the payload field (including "p"), yubiclip would not recognize the yubikey. yubiclip will only recognize my neo when NDEF is programmed as "URI" with "https://my.yubico.com/neo/" in the payload field.

I believe the neo is capable of transmitting 2 kinds of RTD's (Record Type Definitions): RTD_URI & RTD_TEXT

Does Yubiclip support RTD_TEXT definitions?

Author:  ChrisHalos [ Fri Nov 10, 2017 8:57 pm ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

Change it back to the default settings of URI. With YubiClip installed it will intercept the HOTP.

Author:  unyf01 [ Fri Nov 10, 2017 9:08 pm ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

ChrisHalos wrote:
Change it back to the default settings of URI. With YubiClip installed it will intercept the HOTP.


understood.

Here's the real issue:

"When I touch the key to the back of my phone, yubiclip gets the OTP *BUT* every 8 digit OTP is proceeded by the letter "p". For example:

p36780753"

Author:  ChrisHalos [ Fri Nov 10, 2017 9:23 pm ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

Three of us have just tried this on new NEOs with three different phone models (new and old). Go back to the default settings:

Tools > NDEF Programming
select desired configuration slot
URI
NDEF Payload - https://my.yubico.com/neo/
Program

Again, the only way we've been able to add a single random character to the beginning of the OTP is by programming with the Text option, and adding a character to the NDEF Payload field. Text is not the default selection.

Author:  unyf01 [ Sat Nov 11, 2017 7:03 am ]
Post subject:  Re: [QUESTION] neo sends the letter "p" in front of HOTP

appreciate y'all helping out so quickly.

I was asking about the RTD's that yubclip accepts because I suspect this is an issue with my phone and this would be confirmed if we're 100% sure that yubiclip accepts RTO_TEXT. If yubiclip does not accept RTD_TEXT then I still wouldn't be sure what the problem is.

Thanks again for the responses

Author:  unyf01 [ Sat Nov 11, 2017 5:53 pm ]
Post subject:  Re: [SOLVED] neo sends the letter "p" in front of HOTP

I rebooted my OnePlus One a few dozen more times and the "p" went away.

This was just NFC weirdness on my Android and had nothing to do with the NEO or YubiClip.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/