!15 remove sensitive info

From: @zppzhangpan 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-02-13 09:15:29 +00:00 committed by Gitee
commit 4d774ddc38
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View File

@ -4,12 +4,14 @@
Name: gcr Name: gcr
Version: 3.41.1 Version: 3.41.1
Release: 1 Release: 2
Summary: A library for bits of crypto UI and parsing Summary: A library for bits of crypto UI and parsing
License: LGPLv2+ License: LGPLv2+
URL: https://wiki.gnome.org/Projects/CryptoGlue URL: https://wiki.gnome.org/Projects/CryptoGlue
Source0: https://download-fallback.gnome.org/sources/%{name}/3.41/%{name}-%{version}.tar.xz Source0: https://download-fallback.gnome.org/sources/%{name}/3.41/%{name}-%{version}.tar.xz
Patch9000: remove-sensitive-info.patch
BuildRequires: pkgconfig(gio-unix-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) pkgconfig(p11-kit-1) BuildRequires: pkgconfig(gio-unix-2.0) pkgconfig(gobject-introspection-1.0) pkgconfig(gtk+-3.0) pkgconfig(p11-kit-1)
BuildRequires: chrpath docbook-style-xsl libgcrypt-devel desktop-file-utils intltool vala gnupg2 libxslt meson BuildRequires: chrpath docbook-style-xsl libgcrypt-devel desktop-file-utils intltool vala gnupg2 libxslt meson
BuildRequires: gi-docgen gettext cmake pkgconfig(libsecret-1) pkgconfig(libsystemd) BuildRequires: gi-docgen gettext cmake pkgconfig(libsecret-1) pkgconfig(libsystemd)
@ -113,6 +115,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop
%{_libdir}/libgcr-base-3.so.1* %{_libdir}/libgcr-base-3.so.1*
%changelog %changelog
* Mon Feb 13 2023 zhangpan <zhangpan103@h-partners.com> - 3.41.1-2
- remove sensitive info
* Fri Nov 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.41.1-1 * Fri Nov 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.41.1-1
- update to gcr-3.41.1 - update to gcr-3.41.1

View File

@ -0,0 +1,25 @@
From d12a449ba5ff74dc9a03755610f7a24e61e5c062 Mon Sep 17 00:00:00 2001
From: zhouwenpei <zhouwenpei1@h-partners.com>
Date: Sat, 28 Jan 2023 17:27:58 +0800
Subject: [PATCH] remove sensitive information
---
gcr/gcr-ssh-askpass.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/gcr/gcr-ssh-askpass.c b/gcr/gcr-ssh-askpass.c
index fd9e20b..b4b33d4 100644
--- a/gcr/gcr-ssh-askpass.c
+++ b/gcr/gcr-ssh-askpass.c
@@ -193,8 +193,6 @@ askpass_thread (gpointer data)
if (input->len == 0)
g_string_append (input, _("Enter your OpenSSH passphrase"));
- g_debug ("asking for ssh-askpass password: %s", input->str);
-
password = g_tls_password_new (G_TLS_PASSWORD_NONE, input->str);
res = g_tls_interaction_invoke_ask_password (ctx->interaction, password, ctx->cancellable, &error);
--
2.33.0