pkcs11 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fb60ecaa0300930499d7783396ff4f471174f6bca63a97082208baaa9d3521b
4
- data.tar.gz: c3019089cd8d0a8c2aed6d11f8a3f3b55d688c199ea62fb85b385e195e98494c
3
+ metadata.gz: fc4ee509784e2ea587d9e33242c9322d66b87448d69c188e278571695e878206
4
+ data.tar.gz: 4f36de60d2d734fc686a195edccaa08a7f89456e3cefacc7d2b90cbf1e8271da
5
5
  SHA512:
6
- metadata.gz: d3f00f7d6fa0b386477b06de8e1fe30257f0fb4e625c7661ca90bad46fee20449d3f2b17ce71c132f11c3f2d11ed2aa8e27cbfb8c6000cb33d23c4a10d6a2aee
7
- data.tar.gz: af86c163e05b8d7e850563fa724901bad4a6ed395a712b2c7f6a0a5dfc1c65352bd729d0f722d00b52db33f19bd8e4884d3ac26cbf5eda8f3c6db0c2bdfb6d73
6
+ metadata.gz: 51cf700dae9e033ea20741905c38609741b99bfb106515b58aa4e1d2bf6e4678a7e88691689bb7aaf87c4e48a2d34c450a9148bef11ead1c747f1188e76ec41a
7
+ data.tar.gz: 9373aa9ddfec25d955379495b13d1cf2f5b2aa0732f4eaa9f06d62cf815fddc482749d11d4e389074a378e1c849b6bb3bda202f331141d0b2dce43a3dd1adeb0
checksums.yaml.gz.sig CHANGED
Binary file
data/.appveyor.yml CHANGED
@@ -1,20 +1,22 @@
1
+ image: Visual Studio 2019
2
+
1
3
  install:
2
- - SET PATH=C:/Ruby%ruby_version%/bin;%PATH%
3
- - SET RAKEOPT=-rdevkit
4
+ - set PATH=C:/Ruby%ruby_version%/bin;c:/Program Files/Git/cmd;c:/Windows/system32;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files/Mercurial
5
+ - set RAKEOPT=-rdevkit
6
+ - set RUBYOPT=--verbose
4
7
  - ps: |
5
8
  if ($env:ruby_version -like "*head*") {
6
9
  $(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-$env:ruby_version.exe", "$pwd/ruby-setup.exe")
7
10
  cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
8
11
  }
9
- - ruby --version
12
+ - ridk version
13
+ - ridk exec sh -c "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-gcc"
10
14
  - gem --version
11
15
  - bundle install
12
16
 
13
- # When running ruby-x86, we make use of the softokn3.dll that is part of the
14
- # pre-installed firefox. The test helper will find it automatically.
15
- # When running ruby-x64, we equally need a 64 bit softokn3.dll to test against.
17
+ # We need a 32 or 64 bit softokn3.dll to test against.
16
18
  # However it is not part of any installed software on Appveyor,
17
- # so we download and install a 64 bit firefox version and use it's softokn3.dll.
19
+ # so we download and install a 32 or 64 bit firefox version and use it's softokn3.dll.
18
20
  - ps: |
19
21
  if ($env:ruby_version -like "*x64*") {
20
22
  $(new-object net.webclient).DownloadFile('http://ftp.mozilla.org/pub/firefox/releases/68.3.0esr/win64/en-US/Firefox%20Setup%2068.3.0esr.exe', 'C:/firefox-setup.exe')
@@ -38,7 +40,5 @@ environment:
38
40
  RUBY_DLL_PATH: "C:/Program Files/Mozilla Firefox"
39
41
  - ruby_version: "25"
40
42
  RUBY_DLL_PATH: "C:/Program Files (x86)/Mozilla Firefox"
41
- - ruby_version: "24-x64"
43
+ - ruby_version: "31-x64"
42
44
  RUBY_DLL_PATH: "C:/Program Files/Mozilla Firefox"
43
- - ruby_version: "22"
44
- - ruby_version: "23-x64"
data/.travis.yml CHANGED
@@ -1,8 +1,8 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - "2.2"
5
4
  - "2.5.7"
5
+ - "3.1.2"
6
6
  - "ruby-head"
7
7
  - truffleruby
8
8
  matrix:
data/Gemfile CHANGED
@@ -7,10 +7,10 @@ source "https://rubygems.org/"
7
7
 
8
8
  gem "yard", "~>0.6", :group => [:development, :test]
9
9
  gem "rake-compiler", "~>1.0", :group => [:development, :test]
10
- gem "rake-compiler-dock", "~>0.6.2", :group => [:development, :test]
10
+ gem "rake-compiler-dock", "~>1.2", :group => [:development, :test]
11
11
  gem "minitest", "~>5.7", :group => [:development, :test]
12
12
  gem "hoe-bundler", "~>1.0", :group => [:development, :test]
13
13
  gem "rdoc", ">=4.0", "<7", :group => [:development, :test]
14
- gem "hoe", "~>3.22", :group => [:development, :test]
14
+ gem "hoe", "~>3.23", :group => [:development, :test]
15
15
 
16
16
  # vim: syntax=ruby
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.4 / 2022-04-20
2
+
3
+ * Fix compatibility with ruby-3.2
4
+
1
5
  === 0.3.3 / 2020-11-07
2
6
 
3
7
  * Fix possible segfault on GC pressure at startup
data/Rakefile CHANGED
@@ -36,7 +36,7 @@ hoe = Hoe.spec 'pkcs11' do
36
36
  developer('Lars Kanis', 'kanis@comcard.de')
37
37
  extra_dev_deps << ['yard', '~> 0.6']
38
38
  extra_dev_deps << ['rake-compiler', '~> 1.0']
39
- extra_dev_deps << ['rake-compiler-dock', '~> 0.6.2']
39
+ extra_dev_deps << ['rake-compiler-dock', '~> 1.2']
40
40
  extra_dev_deps << ['minitest', '~> 5.7']
41
41
  extra_dev_deps << ['hoe-bundler', '~> 1.0']
42
42
 
data/ext/pk11.c CHANGED
@@ -1553,7 +1553,7 @@ cCK_MECHANISM_set_pParameter(VALUE self, VALUE value)
1553
1553
 
1554
1554
 
1555
1555
  void
1556
- Init_pkcs11_ext()
1556
+ Init_pkcs11_ext(void)
1557
1557
  {
1558
1558
  mPKCS11 = rb_define_module("PKCS11");
1559
1559
  sNEW = rb_intern("new");
@@ -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 = Data_Make_Struct(rb_cData, CK_ULONG, 0, -1, *ptr);
89
+ new_obj = Data_Make_Struct(rb_cObject, CK_ULONG, 0, -1, *ptr);
90
90
  rb_iv_set(obj, name, new_obj);
91
91
  **ptr = NUM2ULONG(value);
92
92
  return value;
data/ext/pk11_version.h CHANGED
@@ -1,6 +1,6 @@
1
1
  #ifndef RUBY_PK11_VERSION_H
2
2
  #define RUBY_PK11_VERSION_H
3
3
 
4
- static const char *VERSION = "0.3.3";
4
+ static const char *VERSION = "0.3.4";
5
5
 
6
6
  #endif
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pkcs11
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryosuke Kutsuna
@@ -12,26 +12,26 @@ bindir: bin
12
12
  cert_chain:
13
13
  - |
14
14
  -----BEGIN CERTIFICATE-----
15
- MIIDPDCCAiSgAwIBAgIBATANBgkqhkiG9w0BAQsFADAkMSIwIAYDVQQDDBl0cmF2
16
- aXMtY2kvREM9ZHVtbXkvREM9b3JnMB4XDTIwMDQwODExMDA0MFoXDTIxMDQwODEx
17
- MDA0MFowJDEiMCAGA1UEAwwZdHJhdmlzLWNpL0RDPWR1bW15L0RDPW9yZzCCASIw
18
- DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK+5uh+zqCXKho0zXIaLmJD6YDpa
19
- l07nJ+PQFcMBYgsKA2ip01THj3DVYwP/va6hYgqPmxEJB3tsEthKnHVHm0dgqqg/
20
- gfyDFU0ZfbSYKeNlZQRIdddKPc6dNbmtY2gBWFt6YOZnBccsgJmSUAbh0a9xhVbm
21
- qAStn/q7eq9iW9+12AB9HM+QCWrsCAXEHGGNENDAK9HtHwBs4KsneiIQY5rd/Mzs
22
- Ii25XXnDUa1NjC4u/mMuJXBpWLw2rEAQkzEFQBZR0W0ehm9Mi4TokhLy/QH8GRaH
23
- 0KADzpk1cxuOrEBIhy6ISQs7g/tI6YTePA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hOJeGPqIhLfJEpxn
22
+ lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
23
+ Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
24
+ L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
25
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
26
+ x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQELBQADggEBAILiaB/unSVBfX5n7uL8
27
+ veGGCOHuGYhCGqspb6mYiCx0dmV3RPRiEfGDLfzcXbHNx/3AjygcxH4Slr+pmaxr
28
+ 04Xli3WurocnjoANSWqCwpHH3OhSVxFgBNrCa3OMWcIr0xKH+I7PXA80SXe0pzfg
29
+ ePjpzTY71j+rcyRJqWiU5/zwdUaCCelBJscxh/0IaNcz67ocCEMRj0n4m5HFEmZL
30
+ 9zKkMZFoOjxRQjcL84QU7ZXnnFR5HG8nLw+NqWjo49W6MBQ9HGFda2tk3OpBhyWS
31
+ sc3NyOkGUGdfiee5VRG31Sh3LLON3YGED+zZAS+ZF6598y4vhv8MBLa1Oy357byC
32
+ tTg=
33
33
  -----END CERTIFICATE-----
34
- date: 2020-11-07 00:00:00.000000000 Z
34
+ date: 2022-04-20 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
@@ -67,14 +67,14 @@ dependencies:
67
67
  requirements:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: 0.6.2
70
+ version: '1.2'
71
71
  type: :development
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - "~>"
76
76
  - !ruby/object:Gem::Version
77
- version: 0.6.2
77
+ version: '1.2'
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: minitest
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -129,14 +129,14 @@ dependencies:
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.22'
132
+ version: '3.23'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '3.22'
139
+ version: '3.23'
140
140
  description: 'This module allows Ruby programs to interface with "RSA Security Inc.
141
141
  PKCS #11 Cryptographic Token Interface (Cryptoki)".'
142
142
  email:
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.1.4
236
+ rubygems_version: 3.3.7
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: PKCS#11 binding for Ruby
metadata.gz.sig CHANGED
Binary file