ovpn-key 0.8.4 → 0.8.5

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: 0ae3146e987d293da8fbf2880e9696e94d7d51c06db2f63fd2c021d63158dea5
4
- data.tar.gz: fbac8d69275b82527304e063db26bdea596186a7dee71acd98d9a3da282a6f59
3
+ metadata.gz: 7416051f932e40fb29c714599ad2ae7090b33dd0cf90ac31d3186993adc5a29a
4
+ data.tar.gz: 85b35e1706fd1ea6892363cb01caf734b7c6bf84614aac5a31d3d31c1f10bf8d
5
5
  SHA512:
6
- metadata.gz: 2dfbae985471d80c40a7ea2ada9b8dfdd237b3973027c737640e782f0dc8503cc466ee5560d0f3f0456a20c2199fba2407a59202a4bf4c08291ec2a820b02333
7
- data.tar.gz: 5451ceb967404146948d348bd63deb7d2bc2e73df9ed93c840c4cf160a1cb6048b923e48ad96b1c121efd64cd5386da6bdca20606dbfa9c69f5bd85b484710a8
6
+ metadata.gz: 4c6baffe4fe1c9340cc4a2cff365eb82ea5a63aa4e943ea4aecd3bb629459558363f6fcd4621b97f287427a91f05562689ab4451915bf84b2dfde192970a6d1e
7
+ data.tar.gz: 4759d340ff8f701aa5f1ea2e084070dd55a9511ddd9ee0583feb6d1c51a62187661207022a6e401010f89c9435dff71df767e34bbfef5c0c42f03aec1a67e2e7
data/README.md CHANGED
@@ -40,7 +40,7 @@ If you're brave, [let me know](https://github.com/chillum/ovpn-key/issues), wher
40
40
 
41
41
  ### Configuration
42
42
 
43
- Most of configuration is done in `open-vpn.key` and `openssl.ini` files in the directory.
43
+ It's just a single simple YAML file named [`ovpn-key.yml`](https://github.com/chillum/ovpn-key/blob/master/defaults/ovpn-key.yml).
44
44
 
45
45
  ovpn-key also processes `~/.ovpn-key.yml` file, for now it has only one possible setting:
46
46
  ```yaml
data/bin/ovpn-key CHANGED
@@ -65,7 +65,6 @@ if options[:generate_client] && options[:generate_zip]
65
65
  # I assume that user likely wants one of them and is confused with usage
66
66
  abort 'There can be only one: --client or --zip'
67
67
  end
68
- umask = File.umask 0o077
69
68
 
70
69
  if options[:init]
71
70
  unless options[:init] == '.'
@@ -180,7 +179,6 @@ if options[:generate_zip]
180
179
 
181
180
  zip_file = File.join(File.expand_path(ZIP_DIR), "#{File.basename ovpn_file, '.ovpn'}.tblk.zip")
182
181
  File.delete(zip_file) if File.exist?(zip_file)
183
- File.umask umask
184
182
  Zip::File.open(zip_file, Zip::File::CREATE) do |zip|
185
183
  zip.get_output_stream(ovpn_file) {|f|
186
184
  f.write File.read(ovpn_file)
data/lib/functions.rb CHANGED
@@ -110,7 +110,6 @@ def customize_cert(type, cert)
110
110
  cert.add_extension ef.create_extension('keyUsage', 'digitalSignature')
111
111
  cert.add_extension ef.create_extension('extendedKeyUsage', 'clientAuth')
112
112
  end
113
-
114
113
  cert
115
114
  end
116
115
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ::VERSION = '0.8.4'
3
+ ::VERSION = '0.8.5'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovpn-key
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Korytov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip