fastlane-plugin-match_keystore 0.1.7 → 0.1.8

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: 3cf1cf5e0df1d941bd776ab65ad5bccf1ef4059a07fcbd31040ccc0cd988332e
4
- data.tar.gz: 9bd6479f34526a30974d7a4a65874be1a9232c967facff8b0f09b8f624c91314
3
+ metadata.gz: 49e735f7fda8b92409a84f94a1e826254555ee6b33a9f2333a8891e37fee25a5
4
+ data.tar.gz: 1e8b9230a2e0f0d3f315d1c587e08589ab03308e3570adb8d703b6f84b65fce1
5
5
  SHA512:
6
- metadata.gz: 5b20f9c4d03b4a6ba7e733007bdc5d55103c9bce852c83e438bb0177ed30636b9feaa28fee2da68e80a4ab2bc95a47c574e41fafc56915383926e451b2fb46ee
7
- data.tar.gz: b25983d059e338fd93d582292e02c87ff154179872a1944dd9b465365fbd181bb26d8e02e409b204a2bba5bd322985acd58fc92983a22e6e153a9ea1df748997
6
+ metadata.gz: 5ce5971aa35734b0ce58746631d107db20833edb7d8d6fa2f1c9ae6a700efce48db7ca36f8ed59800a95ed6fae660001e3ec3477dc06090594ab8dca88d9c30c
7
+ data.tar.gz: aa7171f32c1818427d0b8b8b6fc2f117e78aa7f688c53135099c80c1465762819c906e35f6adf91645f3b81f956c149fd3426c6a722496af199ff8d3b89dd4aa
@@ -157,6 +157,9 @@ module Fastlane
157
157
  FileUtils.mkdir_p(dir_name)
158
158
  end
159
159
 
160
+ UI.message("OpenSSL version: ")
161
+ puts `openssl version`
162
+
160
163
  key_path = dir_name + '/key.hex'
161
164
  if !File.file?(key_path)
162
165
  if ci_password.to_s.strip.empty?
@@ -166,11 +169,14 @@ module Fastlane
166
169
  end
167
170
  UI.message "Generating security key..."
168
171
  self.gen_key(key_path, security_password)
169
- else
170
- UI.message "Security key already exists"
171
172
  end
173
+
172
174
  tmpkey = self.get_file_content(key_path).strip
173
- UI.message "Key: '#{tmpkey}'"
175
+ if tmpkey.length == 128
176
+ UI.message "Security key initialized"
177
+ else
178
+ raise "The security key format is invalid, or not initialized!"
179
+ end
174
180
 
175
181
  repo_dir = dir_name + '/repo'
176
182
  unless File.directory?(repo_dir)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module MatchKeystore
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-match_keystore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher NEY