fastlane-plugin-secrets 0.0.2 → 0.0.3
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: 1952c89329b1108e7ecd812bddb25a9b039b030f3dc8e49ab5ac57bf4ee6f899
|
4
|
+
data.tar.gz: 46ab9387e2830cc420dd234b502633d5d27afeaee6bf8cb5be78e26a5201d79f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 868cef63f20765b9ac8cd1ce1fbd74a4abc86d7c760109909db1256ed461d5ad627fc0d895a4ca36465d6613194d274767a31ae33776bd0938dff7a228234ba3
|
7
|
+
data.tar.gz: ccc1c623e80e0d58cf678729943d69c5c78e30dcff792abc8f715833cc82f87a8319a2e5996e1aae28d30be2511dd9b955bd2650cc169d7b26f134df0d55a262
|
@@ -10,7 +10,8 @@ module Fastlane
|
|
10
10
|
language = params[:language]
|
11
11
|
secrets_dir_path = params[:secrets_dir_path]
|
12
12
|
secrets_dict = params[:secrets]
|
13
|
-
|
13
|
+
files = params[:files]
|
14
|
+
config_yml = {"MobileSecrets" => {"hashKey"=>hash_key,"language"=>language, "secrets"=>secrets_dict, "files"=>files}}.to_yaml
|
14
15
|
|
15
16
|
MobileSecrets::SecretsHandler.new.encrypt "#{secrets_dir_path}/secrets.gpg", config_yml, secrets_dir_path
|
16
17
|
end
|
@@ -35,7 +36,7 @@ module Fastlane
|
|
35
36
|
def self.available_options
|
36
37
|
[
|
37
38
|
FastlaneCore::ConfigItem.new(key: :hash_key,
|
38
|
-
description: "Key that will be used to hash the secrets using XOR technique",
|
39
|
+
description: "Key that will be used to hash the secrets using XOR technique and encrypt files with AES. If files are encrypted the password must have 32 characters as an AES standard.",
|
39
40
|
is_string: true),
|
40
41
|
FastlaneCore::ConfigItem.new(key: :language,
|
41
42
|
description: "Source code language, currently supported - [swift]",
|
@@ -46,6 +47,10 @@ module Fastlane
|
|
46
47
|
FastlaneCore::ConfigItem.new(key: :secrets,
|
47
48
|
description: "Key-value dictionary of secrets",
|
48
49
|
type: Hash,
|
50
|
+
optional: true),
|
51
|
+
FastlaneCore::ConfigItem.new(key: :files,
|
52
|
+
description: "Array of files that will be encrypted",
|
53
|
+
type: Array,
|
49
54
|
optional: true)
|
50
55
|
]
|
51
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-secrets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Cermak
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mobile-secrets
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.0.
|
20
|
+
version: 0.0.8
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.0.
|
27
|
+
version: 0.0.8
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: pry
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|