realm / realm-object-server

Tracking of issues related to the Realm Object Server and other general issues not related to the specific SDK's
https://realm.io
293 stars 42 forks source link

Configuring Keychain Title #252

Open nightfall708 opened 7 years ago

nightfall708 commented 7 years ago

I'm using Realm Mobile Platform on macOS and it seems credentials are saved under the title "io.realm.sync.keychain". I would the title to reflect the name of the app, so that:

  1. The user can locate the entry and delete
  2. The user is able to differentiate between different RMP based apps

I also noticed Realm Mobile Browser credentials are labeled correctly under "Realm Browser".

bdash commented 7 years ago

Note that the Realm Browser's keychain item titled "Realm Browser" is not the same as the io.realm.sync.keychain item. The former stores previously-used usernames and passwords, while the latter stores the encryption key used for the Realm(s) that store metadata about synced Realms.

@austinzheng, when you're back from vacation would you please take a look at this and determine at which level changes are required to make this configurable and the nature of the changes?

austinzheng commented 7 years ago

I'm still on vacation, but it should be a very simple change. I'll make it next week.