sslserve 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/sslserve +2 -2
- metadata +1 -1
data/bin/sslserve
CHANGED
|
@@ -6,7 +6,7 @@ require 'openssl'
|
|
|
6
6
|
require 'base64'
|
|
7
7
|
require 'optparse'
|
|
8
8
|
|
|
9
|
-
version = "0.1.
|
|
9
|
+
version = "0.1.1"
|
|
10
10
|
options = {
|
|
11
11
|
:dir => Dir.pwd,
|
|
12
12
|
:host => '127.0.0.1',
|
|
@@ -40,7 +40,7 @@ OptionParser.new do |opts|
|
|
|
40
40
|
options[:expire] = e
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
opts.on("-a", "--auth PASSWORD", "PASSWORD for HTTP Basic Auth. Defaults to disabled. Username is the
|
|
43
|
+
opts.on("-a", "--auth PASSWORD", "PASSWORD for HTTP Basic Auth. Defaults to disabled. Username is the MD5 certificate fingerprint") do |p|
|
|
44
44
|
options[:pass] = p
|
|
45
45
|
end
|
|
46
46
|
|