vidibus-secure 4.0.0 → 4.0.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6e19394e65e0b26b4b984609723d708e93cbfcc0d8e26c4b8f9b3c14ba168b3
|
4
|
+
data.tar.gz: 55981c68d9fc1269a0302e40ec47f6b95c48243665b9d0035b846607af877b7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 328a4d934659747d50ff53ddb1e77fe462e9168daa05d0ed92aa899867656aee326a02383ac1ed4e098d8fc1d40c48e698cba0d61434297c7279a7563a775147
|
7
|
+
data.tar.gz: a7c90ccf4e6c508deda61a89a88ce5a3303ba55a1c3e9120f2a99a7d12305b325fa80474bf6bd1a00ebf17647ef47c3772f3677ed956bd48be1ae24b41ebca2c
|
@@ -1,11 +1,7 @@
|
|
1
1
|
class VidibusSecureKeyGenerator < Rails::Generators::Base
|
2
|
-
desc '
|
2
|
+
desc 'Creates secure key to be stored as ENV["VIDIBUS_SECURE_KEY"]'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
%(# Do not change this encryption key! Otherwise you will not be able to decrypt data already stored in your database.\n) +
|
8
|
-
%(ENV["VIDIBUS_SECURE_KEY"] = "#{Vidibus::Secure.random(:encoding => :base64, :length => 100)}")
|
9
|
-
end
|
10
|
-
end
|
4
|
+
puts "\nAdd VIDIBUS_SECURE_KEY to your env file like ~/.bashrc, /etc/profile or ~/.zprofile"
|
5
|
+
key = %(export VIDIBUS_SECURE_KEY=#{Vidibus::Secure.random(:encoding => :base64, :length => 100)})
|
6
|
+
puts key
|
11
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidibus-secure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andre Pankratz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|