Skip to content

Conversation

NickHu
Copy link
Contributor

@NickHu NickHu commented May 13, 2025

Fixes two issues:

  1. arguments to security add-generic-password are not quoted properly; particularly the label which is of the form oama - foo@example.com (contains spaces) and the OAuth token itself which also contains spaces and double-quotes;
  2. add-generic-password is called in interactive mode (security -i) in order to prevent the secrets from appearing in the process list, but its input needs an extra newline to be accepted (hPutStr -> hPutStrLn).

@pdobsan
Copy link
Owner

pdobsan commented May 13, 2025

Thanks, I merged it.
Next time base you PR on top of the last commit. I am using jj, so detached head is normal.

@pdobsan pdobsan closed this May 13, 2025
@NickHu
Copy link
Contributor Author

NickHu commented May 14, 2025

Thanks! I'd appreciate a release soon so I can get this fix in my distro's package

@pdobsan
Copy link
Owner

pdobsan commented May 17, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants