You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fastlane reads a password from the keychain, if the password contains a character such as \, fastlane fails to read the keychain item and re-prompts the user for their password. After this, when it tries to save the password to the keychain, it shows an error indicating that the item already exists in the keychain.
Complete output when running fastlane, including the stack trace and command used
$ fastlane sigh download_all -b $MY_TEAM_ID --username $MY_USERNAME
[✔] 🚀
[20:38:58]: Starting login with user '$MY_USERNAME'
-------------------------------------------------------------------------------------
Please provide your Apple Developer Program account credentials
The login information you enter will be stored in your macOS Keychain
You can also pass the password using the `FASTLANE_PASSWORD` environment variable
See more information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager
-------------------------------------------------------------------------------------
Password (for $MY_USERNAME):
security: SecKeychainAddInternetPassword <NULL>: The specified item already exists in the keychain.
Could not store password in keychain
[20:39:01]: Successfully logged in
...
Expected output
$ fastlane sigh download_all -b $MY_TEAM_ID --username $MY_USERNAME
[✔] 🚀
[20:41:31]: Starting login with user '$MY_USERNAME'
[20:41:32]: Successfully logged in
...
fastlane currently pins the security gem to version 0.1.3, so fixing the issue in fastlane should be as simple as just updating that gem to the latest version. As far as I can tell, it's only pinned to the older version because updates weren't expected. I don't see any obviously incompatible changes in versions 0.1.4 or 0.1.5.
…#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.
New Issue Checklist
Issue Description
When fastlane reads a password from the keychain, if the password contains a character such as
\
, fastlane fails to read the keychain item and re-prompts the user for their password. After this, when it tries to save the password to the keychain, it shows an error indicating that the item already exists in the keychain.Command executed
Complete output when running fastlane, including the stack trace and command used
Expected output
Environment
The text was updated successfully, but these errors were encountered: