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 +4 -4
- data/README.md +1 -1
- data/bin/ovpn-key +5 -5
- data/defaults/ovpn-key.yml +2 -2
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f60d05d50c8ac0dadbeb3d66c42dd89aba6bb8135e52492d1f01762a5a6610d1
|
4
|
+
data.tar.gz: 82a7b940a2b9fa42aead55809a7dcf98cc2a08645b64a0280ad3a630226edffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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']
|
84
|
+
ZIP_DIR = settings['zip_dir'] || '~'
|
85
|
+
OPENSSL = settings['openssl'] || 'openssl'
|
86
86
|
KEY_SIZE = settings['key_size'] || 2048
|
87
|
-
ENCRYPT = settings['encrypt']
|
88
|
-
|
89
|
-
|
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])
|
data/defaults/ovpn-key.yml
CHANGED
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
::Version = '0.
|
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.
|
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-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|