Added new patches

- Use BoringSSL for RandBytes
- Restore chrome password store
This commit is contained in:
Carmelo Messina
2024-06-09 14:35:30 +02:00
parent 2c48db6e5e
commit 7b0784a8ca
3 changed files with 85 additions and 0 deletions
+2
View File
@@ -291,6 +291,8 @@ Enable-menu-on-reload-button.patch
Enable-Global-Privacy-Control.patch
Enable-Do-Not-Track-by-default.patch
Media-fingerprinting-mitigations.patch
Use-BoringSSL-for-RandBytes.patch
Restore-chrome-password-store.patch
Temp-PerformanceNavigationTiming-privacy-fix.patch
Temp-disable-predictive-back-gesture.patch
@@ -0,0 +1,35 @@
From: uazo <uazo@users.noreply.github.com>
Date: Wed, 30 Sep 2020 07:40:01 +0000
Subject: Restore chrome password store
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
chrome/browser/ui/android/strings/android_chrome_strings.grd | 2 +-
components/password_manager/core/browser/buildflags.gni | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/browser/ui/android/strings/android_chrome_strings.grd b/chrome/browser/ui/android/strings/android_chrome_strings.grd
--- a/chrome/browser/ui/android/strings/android_chrome_strings.grd
+++ b/chrome/browser/ui/android/strings/android_chrome_strings.grd
@@ -713,7 +713,7 @@ CHAR_LIMIT guidelines:
Passwords
</message>
<message name="IDS_PASSWORD_MANAGER_SETTINGS_TITLE" desc="Title for the settings menu item leading to the Password Manager UI surface. This allows users to e.g. manage their saved passwords, toggle saving and auto-sign-in on/off, etc. [CHAR_LIMIT=32]">
- Google Password Manager
+ Password Manager
</message>
<message name="IDS_PASSWORD_SAVING_ON_BY_ADMINISTRATOR" desc="Subtitle for the settings menu item leading to the Password Manager UI surface, shown when the device administrator set saving passwords to enabled.">
Password saving is turned on by your administrator
diff --git a/components/password_manager/core/browser/buildflags.gni b/components/password_manager/core/browser/buildflags.gni
--- a/components/password_manager/core/browser/buildflags.gni
+++ b/components/password_manager/core/browser/buildflags.gni
@@ -9,7 +9,7 @@ declare_args() {
# The legacy password store backend is supported on android but usually disabled
# in favor of a downstream implementation. Important: the support for this flag
# is planned to be removed in November 2024.
- use_login_database_as_backend = !is_android
+ use_login_database_as_backend = true
}
# Drawables from the downstream clank/ repository are
--
@@ -0,0 +1,48 @@
From: uazo <uazo@users.noreply.github.com>
Date: Wed, 30 Sep 2020 07:40:01 +0000
Subject: Use BoringSSL for RandBytes
License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html
---
base/rand_util_fuchsia.cc | 2 +-
base/rand_util_posix.cc | 2 +-
base/rand_util_win.cc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/rand_util_fuchsia.cc b/base/rand_util_fuchsia.cc
--- a/base/rand_util_fuchsia.cc
+++ b/base/rand_util_fuchsia.cc
@@ -30,7 +30,7 @@ std::atomic<bool> g_use_boringssl;
BASE_FEATURE(kUseBoringSSLForRandBytes,
"UseBoringSSLForRandBytes",
- FEATURE_DISABLED_BY_DEFAULT);
+ FEATURE_ENABLED_BY_DEFAULT);
} // namespace
diff --git a/base/rand_util_posix.cc b/base/rand_util_posix.cc
--- a/base/rand_util_posix.cc
+++ b/base/rand_util_posix.cc
@@ -163,7 +163,7 @@ std::atomic<bool> g_use_boringssl;
BASE_FEATURE(kUseBoringSSLForRandBytes,
"UseBoringSSLForRandBytes",
- FEATURE_DISABLED_BY_DEFAULT);
+ FEATURE_ENABLED_BY_DEFAULT);
} // namespace
diff --git a/base/rand_util_win.cc b/base/rand_util_win.cc
--- a/base/rand_util_win.cc
+++ b/base/rand_util_win.cc
@@ -41,7 +41,7 @@ std::atomic<bool> g_use_boringssl;
BASE_FEATURE(kUseBoringSSLForRandBytes,
"UseBoringSSLForRandBytes",
- FEATURE_DISABLED_BY_DEFAULT);
+ FEATURE_ENABLED_BY_DEFAULT);
} // namespace
--