sekrets 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/sekrets +4 -0
- data/lib/sekrets/capistrano.rb +4 -0
- data/lib/sekrets.rb +1 -1
- data/sekrets.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDJjMWZjOWY2YzI2NWFiNTRhZTk4ZGI4ZDcwMzRmYjg4ZTU0YzdhMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDAyYTM2YWU1YjUzYmZkNTI1MjgxNzJiMmE3MmMzNjUyN2IyNzA5MA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWIwMzg1YWY2NGUwZGYzZjY1MzRjNGJhZjZmOWNiNzczY2I2YmIyNGI4Njk5
|
10
|
+
MDFmNTRlMTFlMzE5ZGI5NzJkYWNlMjQ1MThjYjU1MTczMmY0N2U3YmEzOTkx
|
11
|
+
MzJkNTdhOWI1NTQ3M2VjNDA0MmZkOWViMzIyMmMyNmQ2NzVlYjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzNjMjk2ZGI2NmVlY2FhNTdiYjFhNjY1N2M5ZTkzNDkwYTgxMWU2YWZjYzFh
|
14
|
+
ODc1YjUwNzE4OWUwNWQxYWU3NTcwMmJhYjQ2ZGQ4ZmI5OTNjMTU2YzdjZWQ0
|
15
|
+
MzQ1M2VjNDI5NGRiN2JiZDIyMWE1Y2VmNTE5ZTFlMDIxMDc4Nzk=
|
data/bin/sekrets
CHANGED
@@ -54,6 +54,10 @@ Main {
|
|
54
54
|
|
55
55
|
settings = Sekrets.settings_for('./config/settings.yml.enc')
|
56
56
|
|
57
|
+
# recrypt an existing encrypted file (aka change the key)
|
58
|
+
|
59
|
+
sekrets recrypt sekrets.enc [-k current_key] [-k new_key]
|
60
|
+
|
57
61
|
|
58
62
|
GENERAL
|
59
63
|
sekrets provides commandline tools and a library to manage and access
|
data/lib/sekrets/capistrano.rb
CHANGED
@@ -19,6 +19,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
abort 'could not determine rails_root!' unless rails_root
|
22
|
+
|
23
|
+
unless test(?s, File.join(rails_root, '.sekrets.key'))
|
24
|
+
abort "d'oh - you need a .sekrets.key to deploy ;-("
|
25
|
+
end
|
22
26
|
|
23
27
|
namespace :sekrets do
|
24
28
|
task :upload_key do
|
data/lib/sekrets.rb
CHANGED
data/sekrets.gemspec
CHANGED