tem_openssl 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +3 -1
- data/Rakefile +3 -2
- data/lib/openssl/tem_tools.rb +8 -12
- data/tem_openssl.gemspec +5 -5
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -9,9 +9,10 @@ Echoe.new('tem_openssl') do |p|
|
|
9
9
|
p.email = 'victor@costan.us'
|
10
10
|
p.summary = 'TEM (Trusted Execution Module) engine for OpenSSL.'
|
11
11
|
p.url = 'http://tem.rubyforge.org'
|
12
|
-
p.dependencies = ['tem_ruby >=0.
|
12
|
+
p.dependencies = ['tem_ruby >=0.10.2']
|
13
13
|
|
14
|
-
p.need_tar_gz =
|
14
|
+
p.need_tar_gz = !Platform.windows?
|
15
|
+
p.need_zip = !Platform.windows?
|
15
16
|
p.rdoc_pattern = /^(lib|bin|tasks|ext)|^BUILD|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
|
16
17
|
end
|
17
18
|
|
data/lib/openssl/tem_tools.rb
CHANGED
@@ -35,20 +35,18 @@ module TemTools
|
|
35
35
|
|
36
36
|
# key material
|
37
37
|
s.label :key_data
|
38
|
-
s.
|
38
|
+
s.data :tem_ubyte, key.to_tem_key
|
39
39
|
|
40
40
|
# user-supplied argument: the length of the blob to be encrypted/decrypted
|
41
41
|
s.label :input_length
|
42
|
-
s.
|
42
|
+
s.data :tem_ushort, 256
|
43
43
|
|
44
44
|
# user-supplied argument: the blob to be encrypted/decrypted
|
45
45
|
s.label :input_data
|
46
|
-
s.
|
46
|
+
s.zeros :tem_ubyte, 512
|
47
47
|
|
48
|
-
# the TEM stack
|
49
48
|
s.label :sec_stack
|
50
|
-
s.stack
|
51
|
-
s.extra 8
|
49
|
+
s.stack 4
|
52
50
|
end
|
53
51
|
crypt_sec.bind tem.pubek, :key_data, :input_length
|
54
52
|
crypt_sec
|
@@ -74,20 +72,18 @@ module TemTools
|
|
74
72
|
|
75
73
|
# key material
|
76
74
|
s.label :key_data
|
77
|
-
s.
|
75
|
+
s.data :tem_ubyte, key.to_tem_key
|
78
76
|
|
79
77
|
# user-supplied argument: the length of the blob to be signed
|
80
78
|
s.label :input_length
|
81
|
-
s.
|
79
|
+
s.data :tem_ushort, 256
|
82
80
|
|
83
81
|
# user-supplied argument: the blob to be signed
|
84
82
|
s.label :input_data
|
85
|
-
s.
|
83
|
+
s.zeros :tem_ubyte, 512
|
86
84
|
|
87
|
-
# the TEM stack
|
88
85
|
s.label :sec_stack
|
89
|
-
s.stack
|
90
|
-
s.extra 8
|
86
|
+
s.stack 4
|
91
87
|
end
|
92
88
|
sign_sec.bind tem.pubek, :key_data, :input_length
|
93
89
|
sign_sec
|
data/tem_openssl.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{tem_openssl}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.6"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2009-05-
|
9
|
+
s.date = %q{2009-05-31}
|
10
10
|
s.default_executable = %q{openssl_tem}
|
11
11
|
s.description = %q{TEM (Trusted Execution Module) engine for OpenSSL.}
|
12
12
|
s.email = %q{victor@costan.us}
|
@@ -26,11 +26,11 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.specification_version = 3
|
27
27
|
|
28
28
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
29
|
-
s.add_runtime_dependency(%q<tem_ruby>, [">= 0.
|
29
|
+
s.add_runtime_dependency(%q<tem_ruby>, [">= 0.10.2"])
|
30
30
|
else
|
31
|
-
s.add_dependency(%q<tem_ruby>, [">= 0.
|
31
|
+
s.add_dependency(%q<tem_ruby>, [">= 0.10.2"])
|
32
32
|
end
|
33
33
|
else
|
34
|
-
s.add_dependency(%q<tem_ruby>, [">= 0.
|
34
|
+
s.add_dependency(%q<tem_ruby>, [">= 0.10.2"])
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tem_openssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-05-
|
12
|
+
date: 2009-05-31 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
23
|
+
version: 0.10.2
|
24
24
|
version:
|
25
25
|
description: TEM (Trusted Execution Module) engine for OpenSSL.
|
26
26
|
email: victor@costan.us
|