Skip to content

Commit

Permalink
fix the loading of certain passwords from the keychain (fixes #21817) (
Browse files Browse the repository at this point in the history
…#21818)

If a password contains certain characters (such as a backslash), the
security command line tool will output the password in hexadecimal
format followed by a quoted escaped string.

Version 0.1.5 of the security gem supports this format, so updating to
this version will make it so fastlane can properly load saved passwords
that contain these special characters.
  • Loading branch information
rpendleton committed Jan 24, 2024
1 parent 39ed6fe commit 7bf2642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PATH
optparse (>= 0.1.1, < 1.0.0)
plist (>= 3.1.0, < 4.0.0)
rubyzip (>= 2.0.0, < 3.0.0)
security (= 0.1.3)
security (= 0.1.5)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
terminal-table (~> 3)
Expand Down Expand Up @@ -296,7 +296,7 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
security (0.1.3)
security (0.1.5)
signet (0.18.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
Expand Down
2 changes: 1 addition & 1 deletion fastlane.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Gem::Specification.new do |spec|
spec.add_dependency('optparse', '>= 0.1.1', '< 1.0.0') # Used to parse options with Commander
spec.add_dependency('plist', '>= 3.1.0', '< 4.0.0') # Needed for set_build_number_repository and get_info_plist_value actions
spec.add_dependency('rubyzip', '>= 2.0.0', '< 3.0.0') # fix swift/ipa in gym
spec.add_dependency('security', '= 0.1.3') # macOS Keychain manager, a dead project, no updates expected
spec.add_dependency('security', '= 0.1.5') # macOS Keychain manager, a dead project, no updates expected
spec.add_dependency('simctl', '~> 1.6.3') # Used for querying and interacting with iOS simulators
spec.add_dependency('terminal-notifier', '>= 2.0.0', '< 3.0.0') # macOS notifications
spec.add_dependency('terminal-table', '~> 3') # Actions documentation
Expand Down

0 comments on commit 7bf2642

Please sign in to comment.