remove sensitive info

This commit is contained in:
zhangpan 2023-06-12 07:32:25 +00:00
parent 410344eaaf
commit a679201ecc
2 changed files with 29 additions and 1 deletions

View File

@ -8,13 +8,14 @@
Name: libnma
Summary: NetworkManager GUI library
Version: 1.10.4
Release: 2
Release: 3
License: GPLv2+ and LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libnma/
Source0: https://download.gnome.org/sources/libnma/1.10/%{name}-%{version}.tar.xz
Patch1: 0001-nm-applet-no-notifications.patch
Patch2: fix-network-configuration-parameters-invalid.patch
Patch9000: remove-sensitive-info.patch
Requires: mobile-broadband-provider-info >= %{mbp_version}
Conflicts: libnma < %{old_libnma_version}
@ -86,6 +87,9 @@ GUI tools with NetworkManager.
%{_datadir}/gtk-doc
%changelog
* Mon Jun 12 2023 zhangpan <zhangpan103@h-partners.com> - 1.10.4-3
- remove sensitive info
* Thu Mar 9 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.10.4-2
- fix network configuration parameters invalid

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