Fixes two issues: 1. arguments to `security add-generic-password` are not quoted properly; particularly the `label` which is of the form `oama - [email protected]` (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`).
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by NickHu and has received 3 comments.