certutil 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/certutil +3 -0
- data/lib/certutil/certificate_parser.rb +4 -0
- data/lib/certutil/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1a1245a6f2d280e509d8fd607b95f876ab73ab4
|
4
|
+
data.tar.gz: e44b5eae0ac889a4bbbe51b9ad20d59b3d705978
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bdd26f01ebfb72eabfec86579ae8d066c7071457c200841006a1492b0df1f8f1a76a3e7bc36e1c9d6a33ec8c9732cd5ae23fc7065a53652dea435a00664a471
|
7
|
+
data.tar.gz: 9f5f019ff29ba82d2502e52717757d6ecc37cf03881a8e869b6682f9a0670756c16e34789cfe44b925d22bd8de1159252af7cd978629fb347771372134e22a5d
|
data/Gemfile.lock
CHANGED
data/bin/certutil
CHANGED
@@ -16,6 +16,8 @@ class App
|
|
16
16
|
debug "from bin, wd is #{Dir.pwd}"
|
17
17
|
|
18
18
|
@cp = CertificateParser.new_from_input(source)
|
19
|
+
puts "cp is #{@cp}, a #{@cp.class}"
|
20
|
+
@cp.flipit! if options[:reverse]
|
19
21
|
#if options["input"]
|
20
22
|
#@cp = CertificateParser.new_from_file(File.expand_path(options["input"]))
|
21
23
|
#elsif options["hostname"]
|
@@ -56,6 +58,7 @@ class App
|
|
56
58
|
on("--output FORMAT", "-o", "Write out results to the current directory (formats are crt or txt (decoded)")
|
57
59
|
on("--split", "-s", "Split multiple certs into separate files for writing")
|
58
60
|
on("--mute", "-m", "Mute output")
|
61
|
+
on("--reverse", "-r", "Reverse the order of multiple certs (CA first, domain last)")
|
59
62
|
|
60
63
|
# options[flag] will contain VAL
|
61
64
|
#
|
data/lib/certutil/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: certutil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Bailey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|