Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

ios login should escape username and password #17

Closed
a2 opened this issue Jul 21, 2012 · 1 comment
Closed

ios login should escape username and password #17

a2 opened this issue Jul 21, 2012 · 1 comment

Comments

@a2
Copy link

a2 commented Jul 21, 2012

$ ios login
Username:
username@domain.tlc
Password:
**********
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `security add-internet-password -a username@domain.tlc -w ********** -s developer.apple.com'
Account credentials saved

My password needs to be escaped because it contains some symbols that would otherwise interfere with this shell command.

@mattt
Copy link
Contributor

mattt commented Jul 22, 2012

Patch has been applied to the Security gem, and Cupertino has been updated to 0.5.1 with the new fix.

Here's something fun: I had no idea this was in Ruby stdlib: Shellwords

@mattt mattt closed this as completed Jul 22, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants