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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGQ2MGJiYjljMGYxZDI0NDI1OGFhZDgyNzEyNDYzYTBkZWM1MDhlYw==
4
+ MDJjMWZjOWY2YzI2NWFiNTRhZTk4ZGI4ZDcwMzRmYjg4ZTU0YzdhMw==
5
5
  data.tar.gz: !binary |-
6
- Njg5YWZiOGY1ZTEyODUwNTc2NDQ1MWUzYTUxZDA4YjY1YjA0MGU2Yg==
6
+ ZDAyYTM2YWU1YjUzYmZkNTI1MjgxNzJiMmE3MmMzNjUyN2IyNzA5MA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Zjk5MDBlMTgzNDcwNDlmMDg4Yzk1OTc2NTgwNWFkMzAyNmUxNzI1NTk3ZGIx
10
- NjM4MDk5ZjM3ZGRhMzk0OTk5ZGYyY2JhOTBlOTMyMTA5MGMyZjE4ODE0ZDNm
11
- OWQzMDUzMDE0OWEwYjBmNzlhYzc5MTY0NTUyZjk1ZGUxMTEyNzA=
9
+ NWIwMzg1YWY2NGUwZGYzZjY1MzRjNGJhZjZmOWNiNzczY2I2YmIyNGI4Njk5
10
+ MDFmNTRlMTFlMzE5ZGI5NzJkYWNlMjQ1MThjYjU1MTczMmY0N2U3YmEzOTkx
11
+ MzJkNTdhOWI1NTQ3M2VjNDA0MmZkOWViMzIyMmMyNmQ2NzVlYjI=
12
12
  data.tar.gz: !binary |-
13
- M2MyNmM3YzBjNGRiZGU3ZWFkM2MyODhjNzBlNTE0MzFjMGUwMDZhNGQ4YzQx
14
- MmQ1YmEzZWFkMWY0OWQyYzY4ZTRlODAzMDRiMWY3OWFhMjg1ZDMxZmFlYjEx
15
- MTgwNjNiODQwMjVhNWY2NmQyYWMyMzc1OGJjYTgyZDUyMDFmODI=
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
@@ -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
@@ -333,7 +333,7 @@ BEGIN {
333
333
  require 'tmpdir'
334
334
 
335
335
  class Sekrets < ::String
336
- Version = '1.8.0' unless defined?(Version)
336
+ Version = '1.8.1' unless defined?(Version)
337
337
 
338
338
  class << Sekrets
339
339
  def version
data/sekrets.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "sekrets"
6
- spec.version = "1.8.0"
6
+ spec.version = "1.8.1"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "sekrets"
9
9
  spec.description = "description: sekrets kicks the ass"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sekrets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard