Skip to content

Commit a2b067f

Browse files
jonsimantova-maurice
authored andcommitted
Change keychain key names to end in .firebase.iid, .firebase.auth rather than putting the name of the subsystem in brackets, as it looks cleaner in the keychain list.
PiperOrigin-RevId: 248736399
1 parent 1cc5b5c commit a2b067f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/src/secure/user_secure_darwin_internal.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
// Prefix and suffix to add to keychain service name.
2525
static const char kServicePrefix[] = "";
26-
static const char kServiceSuffix1[] = " [firebase.";
27-
static const char kServiceSuffix2[] = " ]";
28-
// For example: com.my_company.my_app [firebase.auth], com.my_company.my_app [firebase.iid]
26+
static const char kServiceSuffix1[] = ".firebase.";
27+
static const char kServiceSuffix2[] = "";
28+
// For example: com.my_company.my_app.firebase.auth, com.my_company.my_app.firebase.iid
2929

3030
static const int kMaxAllowedKeychainEntries = INT_MAX;
3131

app/src/secure/user_secure_windows_internal.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ namespace secure {
2323

2424
// Prefix and suffix to add to specified namespace.
2525
static const char kNamespacePrefix[] = "";
26-
static const char kNamespaceSuffix1[] = " [firebase.";
27-
static const char kNamespaceSuffix2[] = " ]";
26+
static const char kNamespaceSuffix1[] = ".firebase.";
27+
static const char kNamespaceSuffix2[] = "";
2828
// For example:
29-
// com.my_company.my_app [firebase.auth]
30-
// com.my_company.my_app [firebase.iid]
29+
// com.my_company.my_app.firebase.auth
30+
// com.my_company.my_app.firebase.iid
3131

3232
UserSecureWindowsInternal::UserSecureWindowsInternal(const char* domain,
3333
const char* key_namespace)

0 commit comments

Comments
 (0)