encryptatron 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -1
- data/.travis.yml +11 -0
- data/.version +1 -1
- data/Gemfile.lock +4 -4
- data/LICENSE +2 -2
- data/README.md +3 -1
- data/encryptatron.gemspec +4 -4
- data/lib/encryptatron/cli.rb +1 -1
- data/lib/encryptatron/file.rb +1 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 04c41bdacaf99969e34f49d0f564d6121403b98d9711073876ff5d54c9d8c242
|
4
|
+
data.tar.gz: 357c028f977374e124556d0d4d7b42cb55a2a4067ac5cf4ab45f8642d739a603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d9694f68f41e900a176d5410edbaab3516af0bba100df77aa7b56155e2869b3a38240fbde2585a39946ee16b7d8b12e549fcb8c6c41b854d4836c0532c73f3e
|
7
|
+
data.tar.gz: 1c19af2bb1ce1551bb256c9aff6441b5fd0f9c243e4edacf3dbb09e0454ad23a8902a051975c86762e4598e4740d7c203bf57a9b14ea4d66e5c36738232d0256
|
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/.version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
encryptatron (1.0.
|
4
|
+
encryptatron (1.0.1)
|
5
5
|
configatron (> 2)
|
6
6
|
deep_merge (> 1)
|
7
7
|
dotenv (> 1)
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
coderay (~> 1.1.0)
|
25
25
|
method_source (~> 0.9.0)
|
26
26
|
rainbow (3.0.0)
|
27
|
-
rake (
|
27
|
+
rake (13.0.1)
|
28
28
|
rspec (3.7.0)
|
29
29
|
rspec-core (~> 3.7.0)
|
30
30
|
rspec-expectations (~> 3.7.0)
|
@@ -55,9 +55,9 @@ DEPENDENCIES
|
|
55
55
|
bundler (~> 1.16)
|
56
56
|
encryptatron!
|
57
57
|
pry (> 0)
|
58
|
-
rake (~>
|
58
|
+
rake (~> 13.0)
|
59
59
|
rspec (~> 3.0)
|
60
60
|
rubocop (~> 0.56)
|
61
61
|
|
62
62
|
BUNDLED WITH
|
63
|
-
1.
|
63
|
+
1.17.2
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2019, Granicus
|
2
2
|
All rights reserved.
|
3
3
|
|
4
4
|
Redistribution and use in source and binary forms, with or without
|
@@ -11,7 +11,7 @@ modification, are permitted provided that the following conditions are met:
|
|
11
11
|
this list of conditions and the following disclaimer in the documentation
|
12
12
|
and/or other materials provided with the distribution.
|
13
13
|
|
14
|
-
* Neither the name of
|
14
|
+
* Neither the name of Granicus nor the names of its
|
15
15
|
contributors may be used to endorse or promote products derived from
|
16
16
|
this software without specific prior written permission.
|
17
17
|
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
Used to load encrypted data from disk into configatron.
|
4
4
|
|
5
|
+
[![Build Status](https://travis-ci.org/granicus/encryptatron.svg?branch=master)](https://travis-ci.org/granicus/encryptatron)
|
6
|
+
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your application's Gemfile:
|
@@ -33,4 +35,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
33
35
|
|
34
36
|
## Contributing
|
35
37
|
|
36
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/granicus/encryptatron.
|
data/encryptatron.gemspec
CHANGED
@@ -6,11 +6,11 @@ require "encryptatron/version"
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "encryptatron"
|
8
8
|
spec.version = Encryptatron::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["Team Pigeon"]
|
10
|
+
spec.email = ["pigeon@granicus.com"]
|
11
11
|
|
12
12
|
spec.summary = 'Load and encrypt configuration files for configatron'
|
13
|
-
spec.homepage = "https://github.com/
|
13
|
+
spec.homepage = "https://github.com/granicus/encryptatron"
|
14
14
|
|
15
15
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
16
16
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
|
35
35
|
spec.add_development_dependency "bundler", "~> 1.16"
|
36
36
|
spec.add_development_dependency "pry", ">0"
|
37
|
-
spec.add_development_dependency "rake", "~>
|
37
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
38
38
|
spec.add_development_dependency "rspec", "~> 3.0"
|
39
39
|
spec.add_development_dependency "rubocop", "~>0.56"
|
40
40
|
end
|
data/lib/encryptatron/cli.rb
CHANGED
data/lib/encryptatron/file.rb
CHANGED
@@ -30,6 +30,7 @@ module Encryptatron
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def load_encrypted(encoded_key)
|
33
|
+
raise 'Encryption key is nil, you may need to set the ENCRYPTATRON_KEY environment variable' unless encoded_key
|
33
34
|
key = Base64.decode64(encoded_key)
|
34
35
|
decipher = OpenSSL::Cipher::AES.new(256, :CBC)
|
35
36
|
decipher.decrypt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: encryptatron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Team Pigeon
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configatron
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '13.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '13.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,9 +122,9 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0.56'
|
125
|
-
description:
|
125
|
+
description:
|
126
126
|
email:
|
127
|
-
-
|
127
|
+
- pigeon@granicus.com
|
128
128
|
executables:
|
129
129
|
- encryptatron
|
130
130
|
extensions: []
|
@@ -134,6 +134,7 @@ files:
|
|
134
134
|
- ".rspec"
|
135
135
|
- ".rubocop.yml"
|
136
136
|
- ".ruby-version"
|
137
|
+
- ".travis.yml"
|
137
138
|
- ".version"
|
138
139
|
- Gemfile
|
139
140
|
- Gemfile.lock
|
@@ -148,11 +149,11 @@ files:
|
|
148
149
|
- lib/encryptatron/cli.rb
|
149
150
|
- lib/encryptatron/file.rb
|
150
151
|
- lib/encryptatron/version.rb
|
151
|
-
homepage: https://github.com/
|
152
|
+
homepage: https://github.com/granicus/encryptatron
|
152
153
|
licenses: []
|
153
154
|
metadata:
|
154
155
|
allowed_push_host: https://rubygems.org
|
155
|
-
post_install_message:
|
156
|
+
post_install_message:
|
156
157
|
rdoc_options: []
|
157
158
|
require_paths:
|
158
159
|
- lib
|
@@ -167,9 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
168
|
- !ruby/object:Gem::Version
|
168
169
|
version: '0'
|
169
170
|
requirements: []
|
170
|
-
|
171
|
-
|
172
|
-
signing_key:
|
171
|
+
rubygems_version: 3.1.4
|
172
|
+
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Load and encrypt configuration files for configatron
|
175
175
|
test_files: []
|