pkcs11_luna 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/generate_constants.rb +1 -1
- data/ext/pk11_version.h +1 -1
- data/ext/pk11l.c +1 -0
- data/ext/pk11l_const_def.inc +804 -804
- data/test/test_pkcs11_luna.rb +1 -1
- data/test/test_pkcs11_luna_crypt.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
data/test/test_pkcs11_luna.rb
CHANGED
@@ -76,7 +76,7 @@ class TestPkcs11Luna < Minitest::Test
|
|
76
76
|
pkcs11 = @pk
|
77
77
|
slot = Slot.new(pkcs11, @slot)
|
78
78
|
|
79
|
-
assert_raises(Luna::CKR_OPERATION_NOT_ALLOWED, CKR_USER_TYPE_INVALID) {
|
79
|
+
assert_raises(Luna::CKR_OPERATION_NOT_ALLOWED, CKR_DATA_LEN_RANGE, CKR_USER_TYPE_INVALID) {
|
80
80
|
slot.init_token("anypin", "new_label")
|
81
81
|
}
|
82
82
|
end
|
@@ -95,7 +95,7 @@ class TestPkcs11LunaCrypt < Minitest::Test
|
|
95
95
|
destroy_object(@session, priv_label)
|
96
96
|
|
97
97
|
pub_attr = {ENCRYPT: true, VERIFY: true,
|
98
|
-
MODULUS_BITS: 2048, TOKEN: true, WRAP: true, LABEL: pub_label}
|
98
|
+
MODULUS_BITS: 2048, TOKEN: true, WRAP: true, LABEL: pub_label, PUBLIC_EXPONENT: [0x01, 0x00, 0x01].pack('C*')}
|
99
99
|
priv_attr = {DECRYPT: true, SIGN: true, SENSITIVE: true, PRIVATE: true,
|
100
100
|
TOKEN: true, UNWRAP: true, LABEL: priv_label}
|
101
101
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkcs11_luna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SafeNet
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
D5uWyL3krcnTOgVS0jv7qSuxDjlvpHqvN1BNaw64Gf5TpqRDNM5r+hXhD8U339Ot
|
30
30
|
lrxBVhTTtOOm6AE6oziYmw==
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: pkcs11
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3.
|
40
|
+
version: 0.3.1
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.3.
|
47
|
+
version: 0.3.1
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: yard
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|