jwk-tool 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/jwk_tool +2 -2
  3. data/jwk-tool.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 094af6b8e41a0b218d4205381bb988f6aa409ef8
4
- data.tar.gz: 1d21033835a5fcef8620b52639c2a6aa093c6c35
3
+ metadata.gz: 948f10914152938492f08b0190e45f9b81e03cd2
4
+ data.tar.gz: 44a10ff54fb9fb4a3db46149de189e05f8cce714
5
5
  SHA512:
6
- metadata.gz: aa7e1c634e1f1370886ed7e26896bd98d3d8bf46de8529af6d38db83a466fa1c574816720b922f9491a4b3cb9fcfc7635775552aa2919d457467d0c76b72f53b
7
- data.tar.gz: fdec515b52e33154f12e9a7af9640d0a9a8c2b26067910db19895a64102bb57922c845e5c9ce081e17e1111c8eb3d03de88ad17c803bdba5b3115d96c0a24426
6
+ metadata.gz: 64e28dcad302984466632af656c92296afc47106b52b138e0946d6501fe13673d7a1d320221bc24764046cee7456d37b54b33d3b88f9962aca1f36c31bb30151
7
+ data.tar.gz: f057fe393814b5e303e6adbf449155d9f8d7a18ea5a24cf8bcff2aca7b4725596b9a6b960a3694d4778fdcd8f0b45ab59f06ac80bc48df593723c5810be2e81f
@@ -62,8 +62,8 @@ class JwkTool
62
62
  # create JSON Web Key (public) for sender
63
63
  jwk_pub = JSON::JWK.new(ssl_pkey.public_key)
64
64
  begin
65
- open(pubkey_file, "w") {|f| f.write(jwk_pub)}
66
- open(privkey_file, "w") {|f| f.write(jwk)}
65
+ open(pubkey_file, "w") {|f| f.write(jwk_pub.to_json)}
66
+ open(privkey_file, "w") {|f| f.write(jwk.to_json)}
67
67
  rescue => e
68
68
  $stderr.puts "#{e.class}, #{e.message}"
69
69
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "jwk-tool"
3
- gem.version = "0.0.1"
3
+ gem.version = "0.0.2"
4
4
 
5
5
  gem.authors = ["Toyokazu Akiyama"]
6
6
  gem.email = ["toyokazu@gmail.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwk-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyokazu Akiyama