-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
key_list(): embedded nul in string #158
Comments
Seems like it is possible to store arbitrary byte sequences in the keyring, and these are not always representable in R strings. You can use OTOH, ideally We could probably also have a Btw. you can still use the |
Tnx! I wasn't aware. This saved me a lot of trouble! As to |
For the case when they contain zero bytes. In this case the `service` and/or `username` is `NA`. Closes #158.
You can try PR #159 if you still have a keychain item with a key with embedded zero bytes. |
Hi!
When I try to list the keys in my default (login) keyring with
list_keys(keyring = "login")
I get the following error:When I create a new keyring with a bunch of keys,
key_list()
works fine. Also when I get an existing key from the login keychain withget_key()
, all works fine.I guess there is something wrong with one of my keys in the login keychain, but I can't figure out what. Mainly because Apple replaced the keychain access app with the new passwords app. The latter doesn't give me access to the login keychain and neither does keyring at this moment. In other words, I sadly can't create a reprex.
some version details:
The text was updated successfully, but these errors were encountered: