remove sensitive info

(cherry picked from commit 773eae6e38a6c292a306c20176cf57c3214feb9a)
This commit is contained in:
zhangpan 2023-06-12 07:44:23 +00:00 committed by openeuler-sync-bot
parent ab2a6434fc
commit 9b3faf3bf6
2 changed files with 29 additions and 1 deletions

View File

@ -8,12 +8,13 @@
Name: libnma
Summary: NetworkManager GUI library
Version: 1.8.38
Release: 1
Release: 2
License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libnma/
Source0: https://download.gnome.org/sources/libnma/1.8/%{name}-%{version}.tar.xz
Patch1: 0001-nm-applet-no-notifications.patch
Patch9000: remove-sensitive-info.patch
Requires: mobile-broadband-provider-info >= %{mbp_version}
Conflicts: libnma < %{old_libnma_version}
@ -85,6 +86,9 @@ GUI tools with NetworkManager.
%{_datadir}/gtk-doc
%changelog
* Mon Jun 12 2023 zhangpan <zhangpan103@h-partners.com> - 1.8.38-2
- remove sensitive info
* Wed Nov 02 2022 wangkai <wangkai385@h-partners.com> - 1.8.38-1
- Update to 1.8.38

View File

@ -0,0 +1,24 @@
From d0fa74e1de2545e1678cdada73aad08ffcca099d Mon Sep 17 00:00:00 2001
From: zhouwenpei <zhouwenpei1@h-partners.com>
Date: Tue, 31 Jan 2023 22:52:08 +0800
Subject: [PATCH] remove sensitive info
---
src/nma-mobile-providers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nma-mobile-providers.c b/src/nma-mobile-providers.c
index 95f352f..b1a67d0 100644
--- a/src/nma-mobile-providers.c
+++ b/src/nma-mobile-providers.c
@@ -1044,7 +1044,6 @@ static void
dump_generic (NMAMobileAccessMethod *method)
{
g_print (" username: %s\n", method->username ? method->username : "");
- g_print (" password: %s\n", method->password ? method->password : "");
if (method->dns) {
guint i;
--
2.27.0