π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Redact passkey callback URLs in application logs
Neeraj Gupta0ed0355b9b56
diff --git a/desktop/src/main.ts b/desktop/src/main.tsindex 90a43ef1d2..7ccf111b50 100644--- a/desktop/src/main.ts+++ b/desktop/src/main.ts@@ -60,7 +60,7 @@ const main = () => {registerPrivilegedSchemes();const handleOpenEnteURLEnsuringWindow = (url: string) => {- log.info(`Attempting to handle request to open URL: ${url}`);+ log.info("Attempting to handle deep link");if (mainWindow) handleEnteLinks(mainWindow, url);else setTimeout(() => handleOpenEnteURLEnsuringWindow(url), 1000);};diff --git a/mobile/apps/photos/lib/ui/account/passkey_page.dart b/mobile/apps/photos/lib/ui/account/passkey_page.dartindex f0a63f9592..39f1ae09f0 100644--- a/mobile/apps/photos/lib/ui/account/passkey_page.dart+++ b/mobile/apps/photos/lib/ui/account/passkey_page.dart@@ -125,7 +125,7 @@ class _PasskeyPageState extends State<PasskeyPage> {final json = jsonDecode(res) as Map<String, dynamic>;await UserService.instance.onPassKeyVerified(context, json);} else {- _logger.info('ignored deeplink: $link mounted $mounted');+ _logger.info('ignored deeplink: mounted $mounted');}} catch (e, s) {_logger.severe('passKey: failed to handle deeplink', e, s);diff --git a/mobile/apps/photos/lib/ui/tabs/home_widget.dart b/mobile/apps/photos/lib/ui/tabs/home_widget.dartindex 7272d4e22d..ec9ea1b07d 100644--- a/mobile/apps/photos/lib/ui/tabs/home_widget.dart+++ b/mobile/apps/photos/lib/ui/tabs/home_widget.dart@@ -800,7 +800,7 @@ class _HomeWidgetState extends State<HomeWidget> {if (_isPublicAlbumDeepLink(initialUri)) {await _handlePublicAlbumLink(initialUri, "appLinks.getInitialLink");} else {- _logger.info("Ignoring deep link: $initialUri");+ _logger.info("Ignoring deep link");}} else {_logger.info(@@ -817,7 +817,7 @@ class _HomeWidgetState extends State<HomeWidget> {if (_isPublicAlbumDeepLink(uri)) {_handlePublicAlbumLink(uri, "appLinks.uriLinkStream");} else {- _logger.info("Ignoring deep link: $uri");+ _logger.info("Ignoring deep link");}} else {_logger.info("No link received in public album link subscription.");diff --git a/mobile/packages/accounts/lib/pages/passkey_page.dart b/mobile/packages/accounts/lib/pages/passkey_page.dartindex 7f957c7089..fe4e7cabf7 100644--- a/mobile/packages/accounts/lib/pages/passkey_page.dart+++ b/mobile/packages/accounts/lib/pages/passkey_page.dart@@ -136,7 +136,7 @@ class _PasskeyPageState extends State<PasskeyPage> {json,);} else {- _logger.info('ignored deeplink: $link mounted $mounted');+ _logger.info('ignored deeplink: mounted $mounted');}} catch (e, s) {_logger.severe('passKey: failed to handle deeplink', e, s);diff --git a/web/apps/accounts/src/pages/passkeys/verify.tsx b/web/apps/accounts/src/pages/passkeys/verify.tsxindex d956b044c2..ab28a24cc8 100644--- a/web/apps/accounts/src/pages/passkeys/verify.tsx+++ b/web/apps/accounts/src/pages/passkeys/verify.tsx@@ -275,7 +275,7 @@ export default Page;const isHTTP = (url: URL) => url.protocol.startsWith("http");const redirectToURL = (url: URL) => {- log.info(`Redirecting to ${url.href}`);+ log.info("Redirecting after passkey authentication");window.location.href = url.href;};diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsxindex 36193b9560..ceb5bdd1a0 100644--- a/web/apps/photos/src/pages/_app.tsx+++ b/web/apps/photos/src/pages/_app.tsx@@ -111,7 +111,7 @@ const App: React.FC<PhotosAppProps> = ({ Component, pageProps }) => {if (url.startsWith("ente://app")) {void router.push(url);} else {- log.info(`Ignoring unhandled open request for URL ${url}`);+ log.info("Ignoring unhandled deep link");}};