ezcrypto 0.7 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,51 @@
1
+ $:.unshift(File.dirname(__FILE__) + "/../lib/")
2
+
3
+ require 'test/unit'
4
+ require 'ezcrypto'
5
+ require 'base64'
6
+ require 'digest/sha1'
7
+
8
+ class DigestTest < Test::Unit::TestCase
9
+
10
+ def setup
11
+ end
12
+
13
+ def test_digest
14
+ ["hello","","test"].each do |data|
15
+ assert_equal Digest::SHA1.digest(data)[0..15],EzCrypto::Digester.digest(data)
16
+ end
17
+ end
18
+
19
+ def test_digest64
20
+ ["hello","","test"].each do |data|
21
+ assert_equal Base64.encode64(Digest::SHA1.digest(data)[0..15]),EzCrypto::Digester.digest64(data)
22
+ end
23
+ end
24
+
25
+ def test_hexdigest
26
+ ["hello","","test"].each do |data|
27
+ assert_equal Digest::SHA1.hexdigest(data)[0..40],EzCrypto::Digester.hexdigest(data)
28
+ end
29
+ end
30
+
31
+ def test_generate_key
32
+ key=EzCrypto::Digester.generate_key
33
+ assert 16,key.size
34
+ end
35
+
36
+ def test_generate_key64
37
+ key=EzCrypto::Digester.generate_key64
38
+ assert 24,key.size
39
+
40
+ end
41
+
42
+ def test_generate_hexkey
43
+ key=EzCrypto::Digester.generate_hexkey
44
+ assert 40,key.size
45
+
46
+ end
47
+
48
+ def test_get_key
49
+
50
+ end
51
+ end
@@ -88,6 +88,7 @@ class EzCryptoTest < Test::Unit::TestCase
88
88
  assert cert.not_before
89
89
  assert cert.valid?
90
90
 
91
+
91
92
  assert_equal cert.subject[:emailAddress],"pelleb@gmail.com"
92
93
  assert_equal cert.subject[:C],"DK"
93
94
  assert_equal cert.subject[:ST],"Denmark"
@@ -194,30 +195,32 @@ class EzCryptoTest < Test::Unit::TestCase
194
195
  trust.add cert
195
196
  assert trust.verify(cert)
196
197
 
197
- valicert=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/valicert_class2_root.crt"
198
- assert !trust.verify(valicert)
199
- starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_issuing.crt"
198
+ sf_root=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf-class2-root.crt"
199
+ assert !trust.verify(sf_root)
200
+ starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_intermediate.crt"
200
201
  assert !trust.verify(starfield)
201
- wideword=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/wideword.net.cert"
202
- assert !trust.verify(wideword)
202
+ agree2=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/agree2.com.cert"
203
+ assert !trust.verify(agree2)
203
204
 
204
- trust.add valicert
205
- assert trust.verify(valicert)
205
+ trust.add sf_root
206
+ assert trust.verify(sf_root)
206
207
  assert trust.verify(starfield)
207
- assert !trust.verify(wideword)
208
+ assert !trust.verify(agree2)
208
209
 
209
210
  trust.add starfield
210
- assert trust.verify(wideword)
211
+ assert trust.verify(agree2)
211
212
  end
212
213
 
213
214
  def test_disk_store
214
215
  trust=EzCrypto::TrustStore.new File.dirname(__FILE__) + "/store"
215
- valicert=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/valicert_class2_root.crt"
216
- assert trust.verify(valicert)
217
- starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_issuing.crt"
216
+ sf_root=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf-class2-root.crt"
217
+ trust.add(sf_root)
218
+ assert trust.verify(sf_root)
219
+ starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_intermediate.crt"
218
220
  assert trust.verify(starfield)
219
- wideword=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/wideword.net.cert"
220
- assert trust.verify(wideword)
221
+ trust.add(starfield)
222
+ agree2=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/agree2.com.cert"
223
+ assert trust.verify(agree2)
221
224
 
222
225
  cert=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/testsigner.cert"
223
226
  assert !trust.verify(cert)
@@ -236,40 +239,41 @@ class EzCryptoTest < Test::Unit::TestCase
236
239
 
237
240
  def test_load_trusted_truststore
238
241
  trust=EzCrypto::TrustStore.default_trusted
239
- valicert=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/valicert_class2_root.crt"
240
- assert trust.verify(valicert)
241
- starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_issuing.crt"
242
+ sf_root=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf-class2-root.crt"
243
+ assert trust.verify(sf_root)
244
+ starfield=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/sf_intermediate.crt"
242
245
  assert trust.verify(starfield)
243
- wideword=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/wideword.net.cert"
244
- assert trust.verify(wideword)
246
+ agree2=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/agree2.com.cert"
247
+ assert trust.verify(agree2)
245
248
 
246
249
  cert=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/testsigner.cert"
247
250
  assert !trust.verify(cert)
248
251
  trust.add cert
249
252
  assert trust.verify(cert)
250
253
  end
251
-
252
- def test_public_key_load_from_pkyp
253
- verifier=EzCrypto::Verifier.from_pkyp "e93e18114cbefaaa89fda908b09df63d3662879a"
254
- wideword=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/wideword.net.cert"
255
- assert_equal wideword.cert.to_s,verifier.cert.to_s
256
- assert verifier
257
- end
258
254
 
259
- def test_register_public_key_at_pkyp
260
- pub=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/wideword.net.cert"
261
- assert_equal pub.digest,pub.register_with_pkyp
262
- end
263
-
264
- def test_create_register_and_fetch_public_key
265
- signer=EzCrypto::Signer.generate
266
- assert_equal signer.verifier.digest,signer.verifier.register_with_pkyp
267
- verifier=EzCrypto::Verifier.from_pkyp signer.verifier.digest
268
- sig=signer.sign "hello"
269
- assert sig
270
- assert verifier.verify( sig,"hello")
271
- end
272
-
255
+ # Disabling these until pkyp is back up
256
+ # def test_public_key_load_from_pkyp
257
+ # verifier=EzCrypto::Verifier.from_pkyp "e93e18114cbefaaa89fda908b09df63d3662879a"
258
+ # agree2=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/agree2.com.cert"
259
+ # assert_equal agree2.cert.to_s,verifier.cert.to_s
260
+ # assert verifier
261
+ # end
262
+ #
263
+ # def test_register_public_key_at_pkyp
264
+ # pub=EzCrypto::Verifier.from_file File.dirname(__FILE__) + "/agree2.com.cert"
265
+ # assert_equal pub.digest,pub.register_with_pkyp
266
+ # end
267
+ #
268
+ # def test_create_register_and_fetch_public_key
269
+ # signer=EzCrypto::Signer.generate
270
+ # assert_equal signer.verifier.digest,signer.verifier.register_with_pkyp
271
+ # verifier=EzCrypto::Verifier.from_pkyp signer.verifier.digest
272
+ # sig=signer.sign "hello"
273
+ # assert sig
274
+ # assert verifier.verify( sig,"hello")
275
+ # end
276
+ #
273
277
 
274
278
  def assert_signer(signer)
275
279
  assert signer
@@ -2,7 +2,7 @@ require 'association_key_holder_test'
2
2
 
3
3
  class EncUser < ActiveRecord::Base
4
4
  set_table_name "users"
5
- encrypt :name
5
+ encrypt :name, :base64=>true
6
6
  end
7
7
 
8
8
  class RawUser < ActiveRecord::Base
@@ -14,6 +14,10 @@ class EncryptTest < AssociationKeyHolderTest
14
14
  @key_holder=EncUser.create
15
15
  end
16
16
 
17
+ def test_should_be_base64
18
+ assert EncUser.ezcrypto_base64?
19
+ end
20
+
17
21
  def test_should_retain_session_key_on_reload
18
22
  key=EzCrypto::Key.generate
19
23
  key_holder.set_session_key key
@@ -0,0 +1,24 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzEl
3
+ MCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMp
4
+ U3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHk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-----END CERTIFICATE-----
@@ -23,7 +23,6 @@ require 'initializer'
23
23
 
24
24
  Rails::Initializer.run(:set_load_path)
25
25
 
26
- config = YAML::load(IO.read(File.dirname(__FILE__) + '/database.yml'))
27
26
  ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
28
27
  ActiveRecord::Base.establish_connection(
29
28
  :adapter => "mysql",
@@ -1,9 +1,9 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIDWDCCAwKgAwIBAgIJALUoIN839aaAMA0GCSqGSIb3DQEBBQUAMIGmMQswCQYD
2
+ MIIDWDCCAwKgAwIBAgIJAKV7PmO5YH5XMA0GCSqGSIb3DQEBBQUAMIGmMQswCQYD
3
3
  VQQGEwJESzEQMA4GA1UECBMHRGVubWFyazETMBEGA1UEBxMKQ29wZW5oYWdlbjEi
4
4
  MCAGA1UEChMZRXpDcnlwdG8gVGVzdCBDZXJ0aWZpY2F0ZTEQMA4GA1UECxMHdGVz
5
5
  dGluZzEZMBcGA1UEAxMQRXpDcnlwdG8gVGVzdGluZzEfMB0GCSqGSIb3DQEJARYQ
6
- cGVsbGViQGdtYWlsLmNvbTAeFw0wNjA3MzEyMTQ1NTVaFw0wNzA3MzEyMTQ1NTVa
6
+ cGVsbGViQGdtYWlsLmNvbTAeFw0wOTAzMTAxNjUwMjVaFw0xOTAzMDgxNjUwMjVa
7
7
  MIGmMQswCQYDVQQGEwJESzEQMA4GA1UECBMHRGVubWFyazETMBEGA1UEBxMKQ29w
8
8
  ZW5oYWdlbjEiMCAGA1UEChMZRXpDcnlwdG8gVGVzdCBDZXJ0aWZpY2F0ZTEQMA4G
9
9
  A1UECxMHdGVzdGluZzEZMBcGA1UEAxMQRXpDcnlwdG8gVGVzdGluZzEfMB0GCSqG
@@ -14,7 +14,7 @@ YRKfpdfN+Y+EeklG7n0wgdsGA1UdIwSB0zCB0IAUNdcj4z5pYRKfpdfN+Y+EeklG
14
14
  7n2hgaykgakwgaYxCzAJBgNVBAYTAkRLMRAwDgYDVQQIEwdEZW5tYXJrMRMwEQYD
15
15
  VQQHEwpDb3BlbmhhZ2VuMSIwIAYDVQQKExlFekNyeXB0byBUZXN0IENlcnRpZmlj
16
16
  YXRlMRAwDgYDVQQLEwd0ZXN0aW5nMRkwFwYDVQQDExBFekNyeXB0byBUZXN0aW5n
17
- MR8wHQYJKoZIhvcNAQkBFhBwZWxsZWJAZ21haWwuY29tggkAtSgg3zf1poAwDAYD
18
- VR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAANBABOyoG6oY7rtWIw8ffKV5XSeVLzU
19
- HyNQJYK7D2JN17vwgHPhilbeFKi7tT9HuUHt0o2Fxg1rikRJbFPiky348ww=
17
+ MR8wHQYJKoZIhvcNAQkBFhBwZWxsZWJAZ21haWwuY29tggkApXs+Y7lgflcwDAYD
18
+ VR0TBAUwAwEB/zANBgkqhkiG9w0BAQUFAANBAGF11JQ6+PaaklljorNsSMsvikM4
19
+ xD8CiqYnM/TueQR6N5eWHL5L7tElfM2SxecwBtwiHpCzhPoXXBfRjCzj3Dg=
20
20
  -----END CERTIFICATE-----
metadata CHANGED
@@ -1,37 +1,34 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: ezcrypto
5
3
  version: !ruby/object:Gem::Version
6
- version: "0.7"
7
- date: 2006-09-12 00:00:00 +02:00
8
- summary: Simplified encryption library.
9
- require_paths:
10
- - lib
11
- email: pelle@stakeitout.com
12
- homepage: http://ezcrypto.rubyforge.org
13
- rubyforge_project: ezcrypto
14
- description: Makes it easier and safer to write crypto code.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.7.2
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Pelle Braendgaard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-03-10 00:00:00 -07:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Makes it easier and safer to write crypto code.
17
+ email: pelle@stakeventures.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - CHANGELOG
24
+ - README.rdoc
25
+ - README_ACTIVE_CRYPTO
26
+ - README_DIGITAL_SIGNATURES
31
27
  files:
32
28
  - rakefile
33
- - README
29
+ - README.rdoc
34
30
  - README_ACTIVE_CRYPTO
31
+ - README_DIGITAL_SIGNATURES
35
32
  - MIT-LICENSE
36
33
  - CHANGELOG
37
34
  - init.rb
@@ -40,9 +37,11 @@ files:
40
37
  - lib/ezsig.rb
41
38
  - lib/trusted.pem
42
39
  - test/active_crypto_test.rb
40
+ - test/agree2.com.cert
43
41
  - test/association_key_holder_test.rb
44
42
  - test/database.yml
45
43
  - test/debug.log
44
+ - test/digest_test.rb
46
45
  - test/dsakey.pem
47
46
  - test/dsapubkey.pem
48
47
  - test/dsig_test.rb
@@ -50,7 +49,8 @@ files:
50
49
  - test/ezcrypto_test.rb
51
50
  - test/key_holder_test.rb
52
51
  - test/protectedsigner.pem
53
- - test/sf_issuing.crt
52
+ - test/sf-class2-root.crt
53
+ - test/sf_intermediate.crt
54
54
  - test/store
55
55
  - test/test_helper.rb
56
56
  - test/testchild.pem
@@ -59,18 +59,53 @@ files:
59
59
  - test/testsigner.cert
60
60
  - test/testsigner.pem
61
61
  - test/valicert_class2_root.crt
62
- - test/wideword.net.cert
63
- test_files: []
64
-
62
+ has_rdoc: true
63
+ homepage: http://ezcrypto.rubyforge.org
64
+ post_install_message:
65
65
  rdoc_options: []
66
66
 
67
- extra_rdoc_files: []
68
-
69
- executables: []
70
-
71
- extensions: []
72
-
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ version:
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: "0"
80
+ version:
73
81
  requirements:
74
82
  - none
75
- dependencies: []
76
-
83
+ rubyforge_project: ezcrypto
84
+ rubygems_version: 1.3.1
85
+ signing_key:
86
+ specification_version: 2
87
+ summary: Simplified encryption library.
88
+ test_files:
89
+ - test/active_crypto_test.rb
90
+ - test/agree2.com.cert
91
+ - test/association_key_holder_test.rb
92
+ - test/database.yml
93
+ - test/debug.log
94
+ - test/digest_test.rb
95
+ - test/dsakey.pem
96
+ - test/dsapubkey.pem
97
+ - test/dsig_test.rb
98
+ - test/encrypt_test.rb
99
+ - test/ezcrypto_test.rb
100
+ - test/key_holder_test.rb
101
+ - test/protectedsigner.pem
102
+ - test/sf-class2-root.crt
103
+ - test/sf_intermediate.crt
104
+ - test/store
105
+ - test/test_helper.rb
106
+ - test/testchild.pem
107
+ - test/testchild.req
108
+ - test/testpub.pem
109
+ - test/testsigner.cert
110
+ - test/testsigner.pem
111
+ - test/valicert_class2_root.crt
@@ -1,25 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIEQTCCA6qgAwIBAgICAQQwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1Zh
3
- bGlDZXJ0IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIElu
4
- Yy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24g
5
- QXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAe
6
- BgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTA0MDExNDIxMDUyMVoX
7
- DTI0MDEwOTIxMDUyMVowgewxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25h
8
- MRMwEQY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