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

#1 error in hex_encoding if the value is < 16

Reported by Alessio Caiazza

In YubiRuby::YubiKey#to_s a value < 16 cause an hex_encoded output of 1 char instead of 2.

For example: [16,16,5] -> "10105" instead of "101005"

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

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Alessio Caiazza

    written

    • Changed status from new to resolved.

    Fixed some bugs in hex decoding ( fixes #1 and #2 )

    c9f74665d8ef

  2. #2 Alessio Caiazza

    written

    • Changed status from resolved to open.

    Same bug in YubiRuby::HEX.encode(str) if the str is UTF-8 encoded

  3. #3 Alessio Caiazza

    written

    • Changed status from open 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?