yubikey 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -46,8 +46,4 @@ A library to verify, decode, decrypt and parse Yubikey[http://www.yubico.com/hom
46
46
 
47
47
  === Contributors
48
48
  Carl Byström
49
- Erik Ruwalder
50
-
51
- === AES and CRC code
52
- Written by Simon Josefsson <simon@josefsson.org>
53
- Copyright (c) 2006, 2007, 2008, 2009 Yubico AB
49
+ Erik Ruwalder
data/lib/yubikey.rb CHANGED
@@ -1,9 +1,8 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
- require 'net/http'
4
+ require 'net/https'
5
5
  require 'crypt/rijndael'
6
- require 'openssl'
7
6
 
8
7
  module Yubikey; end;
9
8
 
data/lib/yubikey/hex.rb CHANGED
@@ -2,7 +2,7 @@ class String
2
2
 
3
3
  # Convert hex string to binary
4
4
  def to_bin
5
- to_a.pack('H*')
5
+ [self].pack('H*')
6
6
  end
7
7
 
8
8
  # Convert binary string to hex
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yubikey
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rudenberg
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-08 00:00:00 -04:00
12
+ date: 2009-12-04 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: crypt
16
+ name: crypt19
17
17
  type: :runtime
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement