ovpn-key 0.5 → 0.6

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: 9633044981ff6bf9803e1d85d6f2d2079486582b70fbc4e8c5bf8d35ee4997c5
4
- data.tar.gz: 05d4b59429a86762fdd39fc483fb65f4c6b70ad169d2abdf720e12a3dd6862e8
3
+ metadata.gz: f60d05d50c8ac0dadbeb3d66c42dd89aba6bb8135e52492d1f01762a5a6610d1
4
+ data.tar.gz: 82a7b940a2b9fa42aead55809a7dcf98cc2a08645b64a0280ad3a630226edffb
5
5
  SHA512:
6
- metadata.gz: a2f53785c0609b54f6098873e9f6007fcbb8140d3935cbfb85500696b3358e914df8b890bc423b215bd1266a699d7c5def67e7192576e6dc302b162b78195e4f
7
- data.tar.gz: 0a136f837885312002d0a9c7a0e9a0be7981cecf66155338abd344897f1a335bd3c7b4668f07bd53468e4ee0341016283404bc7e0779020ea4a04c1357985a84
6
+ metadata.gz: ee193d03bddcf4516ee3f7b53029a87ab4c8369263402337ac2282f73eb4d3a7ec75a155717b3bf28ad3e552137921bff18ce7dc685f548fa5dffd09e2fbb6b1
7
+ data.tar.gz: bea13e65fcdbcb99e707d65917161daa17e205009f7e3719ab8bcfaaf701e514fcf2f7d0e4ce99883d9e33d2bd55463f4299cf59186abd299a75b7bf60fa73df
data/README.md CHANGED
@@ -40,7 +40,7 @@ cd: ~/some/path
40
40
  ```
41
41
 
42
42
  This setting is used as a default directory if:
43
- 1. current directory does not have a `ovpn-key.yml`
43
+ 1. current directory does not have `ovpn-key.yml`
44
44
  2. `--init` is not specified
45
45
 
46
46
  If you specify the default directory, you don't need to travel to it every time you want to launch `ovpn-key`, i.e. you can use it from your home directory or any other, as long as requirements above are met.
data/bin/ovpn-key CHANGED
@@ -81,12 +81,12 @@ begin
81
81
  rescue Errno::ENOENT
82
82
  abort "Run `#{File.basename $0} --init` before generating certificates"
83
83
  end
84
- ZIP_DIR = settings['zip_dir'] || '~'
85
- OPENSSL = settings['openssl'] || 'openssl'
84
+ ZIP_DIR = settings['zip_dir'] || '~'
85
+ OPENSSL = settings['openssl'] || 'openssl'
86
86
  KEY_SIZE = settings['key_size'] || 2048
87
- ENCRYPT = settings['encrypt'] || 'aes128'
88
- REQ = settings['req']
89
- CN_CA = settings['cn_ca'] || 'Certification Authority'
87
+ ENCRYPT = settings['encrypt'] || 'aes128'
88
+ CN_CA = settings['ca_name'] || 'Certification Authority'
89
+ REQ = settings['details']
90
90
 
91
91
  if options[:generate_ca]
92
92
  genrsa('ca', 'ca', options[:no_password])
@@ -2,5 +2,5 @@ zip_dir: '~'
2
2
  openssl: openssl
3
3
  key_size: 2048
4
4
  encrypt: aes128
5
- req: /C=US/L=San Francisco/O=Dva Debila/OU=OpenVPN
6
- cn_ca: Certification Authority
5
+ ca_name: Certification Authority
6
+ details: /C=US/L=San Francisco/O=Dva Debila/OU=OpenVPN
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- ::Version = '0.5'
1
+ ::Version = '0.6'
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.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Korytov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-08 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip