Alessio Caiazza is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

nolith / yubiruby

Yubico Server wrapper in Ruby

Clone this repository (size: 258.3 KB): HTTPS / SSH
hg clone https://bitbucket.org/nolith/yubiruby
hg clone ssh://hg@bitbucket.org/nolith/yubiruby

Issues

#3 modhex_decode shorter than expected

Reported by Alessio Caiazza

>> otp
=> "tudbitvngclccbtfrfbvbkedvitgrhcc"
>> otp.modhex_decode.size
=> 15
>> otp.modhex_decode
=> "\336!}\373P\240\001\324\304\037\0312\367\325\306"

One of this char is decoded as "\0" and wrongly used as string terminator.

Status: resolved Responsible: nobody Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Alessio Caiazza

    written

    • Changed status from new to resolved.

    major version change. fixed (mod)hex decoding. FakeYubikey. Exceptions. Testing ( fixes #1 and #3 )

    ba52b1257333

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?