pkcs11_protect_server 0.3.3 → 0.4.0
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -1
- data/Rakefile +7 -0
- data/ext/generate_constants.rb +3 -3
- data/ext/generate_protect_server_constants.rb +1 -1
- data/ext/generate_protect_server_structs.rb +1 -1
- data/ext/generate_structs.rb +1 -1
- data/ext/pk11_struct_macros.h +66 -16
- data/ext/pk11_version.h +1 -1
- data/lib/pkcs11_protect_server/extensions.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +25 -25
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85036e87853b3055faa50184adc310256222c56fa532b4a87fc9d430182a2fd9
|
|
4
|
+
data.tar.gz: beafa47a02910e2595d16db90a77182061afce08d8e760d097cd8b45fc5874e0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d095aed1f37f2ba1747d9197110992a3b62331904c7861b203a50bc7566e2962f8316aa3101fadd45766c6b0d45d742f01d7da6f8c18605c48cb5b9071c2c25
|
|
7
|
+
data.tar.gz: f043656275eeb2f7a81f6b6c8f86a1b80e9aadafee30fd86a46395e23b22cdfc3f39028136ef2af72c63e258af7e0089c6637e6e4e734f6db0570743992f6ba5
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
�,���N)�+�>hZ_�yA"g>��M���z9�8f�KBKR�j�h�G����
|
|
2
|
+
8����$�{p!�:�l�Ѵ����)�Ù��*�W���={/�y�Q��I�f�X�!���g��3��F��Q&^�u��+�"�)唑���|���,�yZe����>$?*8�`��J^d�/��x-�����E�fE`��}ʂ �3�ڃB�
|
|
3
|
+
���+<
|
data/Rakefile
CHANGED
|
@@ -21,6 +21,12 @@ GENERATED_FILES = [
|
|
|
21
21
|
"ext/std_structs.rb"
|
|
22
22
|
]
|
|
23
23
|
|
|
24
|
+
CLEAN.include [
|
|
25
|
+
'ext/pk11s_struct_impl.inc',
|
|
26
|
+
'ext/pk11s_struct_def.inc',
|
|
27
|
+
'ext/pk11s_const_def.inc',
|
|
28
|
+
'ext/pk11s_struct.doc',
|
|
29
|
+
]
|
|
24
30
|
CLEAN.include SHARED_FILES
|
|
25
31
|
CLEAN.include GENERATED_FILES
|
|
26
32
|
CLEAN.include 'lib/pkcs11_protect_server_ext.so'
|
|
@@ -37,6 +43,7 @@ task :remove_pkg do
|
|
|
37
43
|
rm_rf 'pkg'
|
|
38
44
|
end
|
|
39
45
|
task :gem => [:remove_pkg]
|
|
46
|
+
task :compile => GENERATED_FILES
|
|
40
47
|
|
|
41
48
|
hoe = Hoe.spec 'pkcs11_protect_server' do
|
|
42
49
|
developer('Lars Kanis', 'kanis@comcard.de')
|
data/ext/generate_constants.rb
CHANGED
|
@@ -26,7 +26,7 @@ class ConstantParser
|
|
|
26
26
|
s.options = options
|
|
27
27
|
s.start!
|
|
28
28
|
end
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
ConstTemplate = Struct.new :regexp, :def
|
|
31
31
|
ConstGroups = [
|
|
32
32
|
ConstTemplate.new(/#define\s+(CKM_[A-Z_0-9]+)\s+(\w+)/, 'PKCS11_DEFINE_MECHANISM'),
|
|
@@ -38,11 +38,11 @@ class ConstantParser
|
|
|
38
38
|
def start!
|
|
39
39
|
File.open(options.const, "w") do |fd_const|
|
|
40
40
|
options.files.each do |file_h|
|
|
41
|
-
c_src =
|
|
41
|
+
c_src = File.read(file_h)
|
|
42
42
|
ConstGroups.each do |const_group|
|
|
43
43
|
c_src.scan(const_group.regexp) do
|
|
44
44
|
const_name, const_value = $1, $2
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
fd_const.puts "#{const_group.def}(#{const_name}); /* #{const_value} */"
|
|
47
47
|
end
|
|
48
48
|
end
|
|
@@ -19,7 +19,7 @@ class ConstantParser < PKCS11::ConstantParser
|
|
|
19
19
|
def start!
|
|
20
20
|
File.open(options.const, "w") do |fd_const|
|
|
21
21
|
options.files.each do |file_h|
|
|
22
|
-
c_src =
|
|
22
|
+
c_src = File.read(file_h)
|
|
23
23
|
ConstGroups.each do |const_group|
|
|
24
24
|
c_src.scan(const_group.regexp) do
|
|
25
25
|
const_name, const_value = $1, $2
|
|
@@ -38,7 +38,7 @@ class StructParser < PKCS11::StructParser
|
|
|
38
38
|
def parse_files(files)
|
|
39
39
|
structs = []
|
|
40
40
|
files.each do |file_h|
|
|
41
|
-
c_src =
|
|
41
|
+
c_src = File.read(file_h)
|
|
42
42
|
c_src.scan(/struct\s+([A-Z_0-9]+)\s*\{(.*?)\}/m) do |struct|
|
|
43
43
|
struct_text = $2
|
|
44
44
|
struct = PKCS11::StructParser::CStruct.new( $1, [] )
|
data/ext/generate_structs.rb
CHANGED
|
@@ -56,7 +56,7 @@ class StructParser
|
|
|
56
56
|
def parse_files(files)
|
|
57
57
|
structs = []
|
|
58
58
|
files.each do |file_h|
|
|
59
|
-
c_src =
|
|
59
|
+
c_src = File.read(file_h)
|
|
60
60
|
c_src.scan(/struct\s+([A-Z_0-9]+)\s*\{(.*?)\}/m) do |struct|
|
|
61
61
|
struct_text = $2
|
|
62
62
|
struct = CStruct.new( $1, [] )
|
data/ext/pk11_struct_macros.h
CHANGED
|
@@ -77,7 +77,7 @@ get_ulong_ptr(VALUE obj, off_t offset)
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
static VALUE
|
|
80
|
-
set_ulong_ptr(VALUE obj, VALUE value, const char *name, off_t offset)
|
|
80
|
+
set_ulong_ptr(VALUE obj, VALUE value, const char *name, off_t offset, const rb_data_type_t *objtype)
|
|
81
81
|
{
|
|
82
82
|
VALUE new_obj;
|
|
83
83
|
CK_ULONG_PTR *ptr = (CK_ULONG_PTR *)((char*)DATA_PTR(obj) + offset);
|
|
@@ -86,7 +86,7 @@ set_ulong_ptr(VALUE obj, VALUE value, const char *name, off_t offset)
|
|
|
86
86
|
*ptr = NULL_PTR;
|
|
87
87
|
return value;
|
|
88
88
|
}
|
|
89
|
-
new_obj =
|
|
89
|
+
new_obj = TypedData_Make_Struct(rb_cObject, CK_ULONG, objtype, *ptr);
|
|
90
90
|
rb_iv_set(obj, name, new_obj);
|
|
91
91
|
**ptr = NUM2ULONG(value);
|
|
92
92
|
return value;
|
|
@@ -180,10 +180,10 @@ set_string_ptr_len(VALUE obj, VALUE value, const char *name, off_t offset, off_t
|
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
static VALUE
|
|
183
|
-
get_struct_inline(VALUE obj, VALUE klass, const char *name, off_t offset)
|
|
183
|
+
get_struct_inline(VALUE obj, VALUE klass, const char *name, off_t offset, const rb_data_type_t *objtype)
|
|
184
184
|
{
|
|
185
185
|
char *ptr = (char*)DATA_PTR(obj) + offset;
|
|
186
|
-
VALUE inline_obj =
|
|
186
|
+
VALUE inline_obj = TypedData_Wrap_Struct(klass, objtype, ptr);
|
|
187
187
|
rb_iv_set(inline_obj, name, obj);
|
|
188
188
|
return inline_obj;
|
|
189
189
|
}
|
|
@@ -199,7 +199,7 @@ set_struct_inline(VALUE obj, VALUE klass, const char *struct_name, VALUE value,
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
static VALUE
|
|
202
|
-
get_struct_ptr(VALUE obj, VALUE klass, const char *name, off_t offset, int sizeofstruct)
|
|
202
|
+
get_struct_ptr(VALUE obj, VALUE klass, const char *name, off_t offset, int sizeofstruct, const rb_data_type_t *objtype)
|
|
203
203
|
{
|
|
204
204
|
char *ptr = (char*)DATA_PTR(obj);
|
|
205
205
|
char *p = *(char**)(ptr+offset);
|
|
@@ -208,7 +208,7 @@ get_struct_ptr(VALUE obj, VALUE klass, const char *name, off_t offset, int sizeo
|
|
|
208
208
|
if (!p) return Qnil;
|
|
209
209
|
mem = xmalloc(sizeofstruct);
|
|
210
210
|
memcpy(mem, p, sizeofstruct);
|
|
211
|
-
new_obj =
|
|
211
|
+
new_obj = TypedData_Wrap_Struct(klass, objtype, mem);
|
|
212
212
|
return new_obj;
|
|
213
213
|
}
|
|
214
214
|
|
|
@@ -229,7 +229,7 @@ set_struct_ptr(VALUE obj, VALUE klass, const char *struct_name, VALUE value, con
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
static VALUE
|
|
232
|
-
get_struct_ptr_array(VALUE obj, VALUE klass, off_t offset, off_t offset_len, int sizeofstruct)
|
|
232
|
+
get_struct_ptr_array(VALUE obj, VALUE klass, off_t offset, off_t offset_len, int sizeofstruct, const rb_data_type_t *objtype)
|
|
233
233
|
{
|
|
234
234
|
unsigned long i;
|
|
235
235
|
char *ptr = DATA_PTR(obj);
|
|
@@ -240,7 +240,7 @@ get_struct_ptr_array(VALUE obj, VALUE klass, off_t offset, off_t offset_len, int
|
|
|
240
240
|
VALUE new_obj;
|
|
241
241
|
void *mem = xmalloc(sizeofstruct);
|
|
242
242
|
memcpy(mem, p + sizeofstruct * i, sizeofstruct);
|
|
243
|
-
new_obj =
|
|
243
|
+
new_obj = TypedData_Wrap_Struct(klass, objtype, mem);
|
|
244
244
|
rb_ary_push(ary, new_obj);
|
|
245
245
|
}
|
|
246
246
|
return ary;
|
|
@@ -273,9 +273,15 @@ set_struct_ptr_array(VALUE obj, VALUE klass, const char *struct_name, VALUE valu
|
|
|
273
273
|
#define SIZE_OF(s, f) (sizeof(((s*)0)->f))
|
|
274
274
|
|
|
275
275
|
#define PKCS11_IMPLEMENT_ALLOCATOR(s) \
|
|
276
|
+
static const rb_data_type_t struct_##s##_obj_type = { \
|
|
277
|
+
"PKCS11::" #s, \
|
|
278
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
279
|
+
0, 0, \
|
|
280
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
281
|
+
}; \
|
|
276
282
|
static VALUE s##_s_alloc(VALUE self){ \
|
|
277
283
|
s *info; \
|
|
278
|
-
VALUE obj =
|
|
284
|
+
VALUE obj = TypedData_Make_Struct(self, s, &struct_##s##_obj_type, info); \
|
|
279
285
|
return obj; \
|
|
280
286
|
} \
|
|
281
287
|
static VALUE c##s##_to_s(VALUE self){ \
|
|
@@ -315,11 +321,18 @@ static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
|
315
321
|
}
|
|
316
322
|
|
|
317
323
|
#define PKCS11_IMPLEMENT_ULONG_PTR_ACCESSOR(s, f) \
|
|
324
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
325
|
+
"PKCS11::" #s "." #f, \
|
|
326
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
327
|
+
0, 0, \
|
|
328
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
329
|
+
}; \
|
|
330
|
+
\
|
|
318
331
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
319
332
|
return get_ulong_ptr(o, OFFSET_OF(s, f)); \
|
|
320
333
|
} \
|
|
321
334
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
322
|
-
return set_ulong_ptr(o, v, #f, OFFSET_OF(s, f)); \
|
|
335
|
+
return set_ulong_ptr(o, v, #f, OFFSET_OF(s, f), &struct_##s##_##f##_obj_type); \
|
|
323
336
|
}
|
|
324
337
|
|
|
325
338
|
#define PKCS11_IMPLEMENT_HANDLE_ACCESSOR(s, f) \
|
|
@@ -355,17 +368,30 @@ static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
|
355
368
|
}
|
|
356
369
|
|
|
357
370
|
#define PKCS11_IMPLEMENT_STRUCT_ACCESSOR(s, k, f) \
|
|
371
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
372
|
+
"PKCS11::" #s "." #f, \
|
|
373
|
+
{0, 0, 0,}, \
|
|
374
|
+
0, 0, \
|
|
375
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
376
|
+
}; \
|
|
377
|
+
\
|
|
358
378
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
359
|
-
return get_struct_inline(o, c##k, #f, OFFSET_OF(s, f)); \
|
|
379
|
+
return get_struct_inline(o, c##k, #f, OFFSET_OF(s, f), &struct_##s##_##f##_obj_type); \
|
|
360
380
|
} \
|
|
361
381
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
362
382
|
return set_struct_inline(o, c##k, #k, v, #f, OFFSET_OF(s, f), sizeof(k)); \
|
|
363
383
|
}
|
|
364
384
|
|
|
365
385
|
#define PKCS11_IMPLEMENT_PKCS11_STRUCT_ACCESSOR(s, k, f) \
|
|
386
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
387
|
+
"PKCS11::" #s "." #f, \
|
|
388
|
+
{0, 0, 0,}, \
|
|
389
|
+
0, 0, \
|
|
390
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
391
|
+
}; \
|
|
366
392
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
367
393
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
|
368
|
-
return get_struct_inline(o, klass, #f, OFFSET_OF(s, f)); \
|
|
394
|
+
return get_struct_inline(o, klass, #f, OFFSET_OF(s, f), &struct_##s##_##f##_obj_type); \
|
|
369
395
|
} \
|
|
370
396
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
371
397
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
|
@@ -373,17 +399,29 @@ static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
|
373
399
|
}
|
|
374
400
|
|
|
375
401
|
#define PKCS11_IMPLEMENT_STRUCT_PTR_ACCESSOR(s, k, f) \
|
|
402
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
403
|
+
"PKCS11::" #s "." #f, \
|
|
404
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
405
|
+
0, 0, \
|
|
406
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
407
|
+
}; \
|
|
376
408
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
377
|
-
return get_struct_ptr(o, c##k, #f, OFFSET_OF(s, f), sizeof(k)); \
|
|
409
|
+
return get_struct_ptr(o, c##k, #f, OFFSET_OF(s, f), sizeof(k), &struct_##s##_##f##_obj_type); \
|
|
378
410
|
} \
|
|
379
411
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
380
412
|
return set_struct_ptr(o, c##k, #k, v, #f, OFFSET_OF(s, f)); \
|
|
381
413
|
}
|
|
382
414
|
|
|
383
415
|
#define PKCS11_IMPLEMENT_PKCS11_STRUCT_PTR_ACCESSOR(s, k, f) \
|
|
416
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
417
|
+
"PKCS11::" #s "." #f, \
|
|
418
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
419
|
+
0, 0, \
|
|
420
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
421
|
+
}; \
|
|
384
422
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
385
423
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
|
386
|
-
return get_struct_ptr(o, klass, #f, OFFSET_OF(s, f), sizeof(k)); \
|
|
424
|
+
return get_struct_ptr(o, klass, #f, OFFSET_OF(s, f), sizeof(k), &struct_##s##_##f##_obj_type); \
|
|
387
425
|
} \
|
|
388
426
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
389
427
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
|
@@ -391,17 +429,29 @@ static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
|
391
429
|
}
|
|
392
430
|
|
|
393
431
|
#define PKCS11_IMPLEMENT_STRUCT_PTR_ARRAY_ACCESSOR(s, k, f, l) \
|
|
432
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
433
|
+
"PKCS11::" #s "." #f, \
|
|
434
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
435
|
+
0, 0, \
|
|
436
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
437
|
+
}; \
|
|
394
438
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
395
|
-
return get_struct_ptr_array(o, c##k, OFFSET_OF(s, f), OFFSET_OF(s, l), sizeof(k)); \
|
|
439
|
+
return get_struct_ptr_array(o, c##k, OFFSET_OF(s, f), OFFSET_OF(s, l), sizeof(k), &struct_##s##_##f##_obj_type); \
|
|
396
440
|
} \
|
|
397
441
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
398
442
|
return set_struct_ptr_array(o, c##k, #k, v, #f, OFFSET_OF(s, f), OFFSET_OF(s, l), sizeof(k)); \
|
|
399
443
|
}
|
|
400
444
|
|
|
401
445
|
#define PKCS11_IMPLEMENT_PKCS11_STRUCT_PTR_ARRAY_ACCESSOR(s, k, f, l) \
|
|
446
|
+
static const rb_data_type_t struct_##s##_##f##_obj_type = { \
|
|
447
|
+
"PKCS11::" #s "." #f, \
|
|
448
|
+
{0, RUBY_DEFAULT_FREE, 0,}, \
|
|
449
|
+
0, 0, \
|
|
450
|
+
RUBY_TYPED_FREE_IMMEDIATELY, \
|
|
451
|
+
}; \
|
|
402
452
|
static VALUE c##s##_get_##f(VALUE o){ \
|
|
403
453
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
|
404
|
-
return get_struct_ptr_array(o, klass, OFFSET_OF(s, f), OFFSET_OF(s, l), sizeof(k)); \
|
|
454
|
+
return get_struct_ptr_array(o, klass, OFFSET_OF(s, f), OFFSET_OF(s, l), sizeof(k), &struct_##s##_##f##_obj_type); \
|
|
405
455
|
} \
|
|
406
456
|
static VALUE c##s##_set_##f(VALUE o, VALUE v){ \
|
|
407
457
|
VALUE klass = rb_const_get(rb_const_get(rb_cObject, rb_intern("PKCS11")), rb_intern(#k)); \
|
data/ext/pk11_version.h
CHANGED
|
@@ -106,9 +106,9 @@ module ProtectServer
|
|
|
106
106
|
MechanismParameters[mech] || super
|
|
107
107
|
end
|
|
108
108
|
|
|
109
|
-
def vendor_raise_on_return_value(rv)
|
|
109
|
+
def vendor_raise_on_return_value(rv, func)
|
|
110
110
|
if ex=ProtectServer::RETURN_VALUES[rv]
|
|
111
|
-
raise(ex, rv
|
|
111
|
+
raise(ex, "#{func} returned #{rv}")
|
|
112
112
|
end
|
|
113
113
|
super
|
|
114
114
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pkcs11_protect_server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lars Kanis
|
|
@@ -10,26 +10,26 @@ bindir: bin
|
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
+
|
|
30
|
-
|
|
13
|
+
MIIDPDCCAiSgAwIBAgIBCTANBgkqhkiG9w0BAQsFADBEMQ0wCwYDVQQDDARsYXJz
|
|
14
|
+
MR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZImiZPyLGQB
|
|
15
|
+
GRYCZGUwHhcNMjYwNDAxMTg0ODAwWhcNMjcwNDAxMTg0ODAwWjBEMQ0wCwYDVQQD
|
|
16
|
+
DARsYXJzMR8wHQYKCZImiZPyLGQBGRYPZ3JlaXotcmVpbnNkb3JmMRIwEAYKCZIm
|
|
17
|
+
iZPyLGQBGRYCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZb4Uv
|
|
18
|
+
RFJfRu/VEWiy3psh2jinETjiuBrL0NeRFGf8H7iU9+gx/DI/FFhfHGLrDeIskrJx
|
|
19
|
+
YIWDMmEjVO10UUdj7wu4ZhmU++0Cd7Kq9/TyP/shIP3IjqHjVLCnJ3P6f1cl5rxZ
|
|
20
|
+
gqo+d3BAoDrmPk0rtaf6QopwUw9RBiF8V4HqvpiY+ruJotP5UQDP4/lVOKvA8PI9
|
|
21
|
+
P0GmVbFBrbc7Zt5h78N3UyOK0u+nvOC23BvyHXzCtcFsXCoEkt+Wwh0RFqVZdnjM
|
|
22
|
+
LMO2vULHKKHDdX54K/sbVCj9pN9h1aotNzrEyo55zxn0G9PHg/G3P8nMvAXPkUTe
|
|
23
|
+
brhXrfCwWRvOXA4TAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0G
|
|
24
|
+
A1UdDgQWBBRAHK81igrXodaDj8a8/BIKsaZrETANBgkqhkiG9w0BAQsFAAOCAQEA
|
|
25
|
+
EjU6iOXhPs6VyCWOEzQvH0qFsS9bvSO6kAY/tiiM1GoMmrFf5aJcJwVGo5dUawAO
|
|
26
|
+
MtPRglzAXUg2PBjXMvdcbcmFVrx86WEtrpt4/VrRg+Sw10A5wwb/7gsmec7CPs5j
|
|
27
|
+
t40augLjTJVe2L+8vVEGXyhI33qGiQv6CFWrMhShdfRxLkEedCE/CS/xsbiOYidf
|
|
28
|
+
VeRnDP4Xd/mWfvi0E8t+OybXpljhmsElg/X9E3Ckr3I/U8xgtCUbfmWrGXXVG6+V
|
|
29
|
+
tJgAY1NWb91NFLi8hIuvg0jUtg6bVkw/m67U70Je/O+qMayhGi/lvdSicZL0y4Ly
|
|
30
|
+
lM5sbwRVBbcM4hV2A0XuHA==
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date:
|
|
32
|
+
date: 2026-04-01 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.
|
|
40
|
+
version: 0.4.0
|
|
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.
|
|
47
|
+
version: 0.4.0
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: yard
|
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -99,14 +99,14 @@ dependencies:
|
|
|
99
99
|
requirements:
|
|
100
100
|
- - "~>"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: '3.
|
|
102
|
+
version: '3.25'
|
|
103
103
|
type: :development
|
|
104
104
|
prerelease: false
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - "~>"
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '3.
|
|
109
|
+
version: '3.25'
|
|
110
110
|
description: This module allows Ruby programs to use vendor extensions for Safenet
|
|
111
111
|
Protect Server.
|
|
112
112
|
email:
|
|
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
161
|
- !ruby/object:Gem::Version
|
|
162
162
|
version: '0'
|
|
163
163
|
requirements: []
|
|
164
|
-
rubygems_version: 3.
|
|
164
|
+
rubygems_version: 3.3.7
|
|
165
165
|
signing_key:
|
|
166
166
|
specification_version: 4
|
|
167
167
|
summary: Safenet-ProtectServer extensions for PKCS#11-Ruby
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
�X�.ή>'}��U(�����s]f��J;]�����sӱ�
|
|
1
|
+
|