From a679201ecc5ef77dbeab04ab0897fa814e94ad04 Mon Sep 17 00:00:00 2001 From: zhangpan Date: Mon, 12 Jun 2023 07:32:25 +0000 Subject: [PATCH] remove sensitive info --- libnma.spec | 6 +++++- remove-sensitive-info.patch | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 remove-sensitive-info.patch diff --git a/libnma.spec b/libnma.spec index a76ffbe..3985dad 100644 --- a/libnma.spec +++ b/libnma.spec @@ -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 - 1.10.4-3 +- remove sensitive info + * Thu Mar 9 2023 zhouwenpei - 1.10.4-2 - fix network configuration parameters invalid diff --git a/remove-sensitive-info.patch b/remove-sensitive-info.patch new file mode 100644 index 0000000..2d76e70 --- /dev/null +++ b/remove-sensitive-info.patch @@ -0,0 +1,24 @@ +From d0fa74e1de2545e1678cdada73aad08ffcca099d Mon Sep 17 00:00:00 2001 +From: zhouwenpei +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 +