Blame SOURCES/0005-Stop-sending-stderr-to-the-void-when-decryption-does.patch

4ba90c
From da17589f0706b27690a11484165fd58dea1a5eb1 Mon Sep 17 00:00:00 2001
4ba90c
From: Sergio Correia <scorreia@redhat.com>
4ba90c
Date: Thu, 25 Nov 2021 19:18:03 -0300
4ba90c
Subject: [PATCH 5/5] Stop sending stderr to the void when decryption doesn't
4ba90c
 happen
4ba90c
4ba90c
---
4ba90c
 src/luks/clevis-luks-common-functions | 2 +-
4ba90c
 1 file changed, 1 insertion(+), 1 deletion(-)
4ba90c
4ba90c
diff --git a/src/luks/clevis-luks-common-functions b/src/luks/clevis-luks-common-functions
4ba90c
index 879ca4c..df8e16d 100644
4ba90c
--- a/src/luks/clevis-luks-common-functions
4ba90c
+++ b/src/luks/clevis-luks-common-functions
4ba90c
@@ -323,7 +323,7 @@ clevis_luks_unlock_device_by_slot() {
4ba90c
         return 1
4ba90c
     fi
4ba90c
 
4ba90c
-    if ! passphrase="$(printf '%s' "${jwe}" | clevis decrypt 2>/dev/null)" \
4ba90c
+    if ! passphrase="$(printf '%s' "${jwe}" | clevis decrypt)" \
4ba90c
                        || [ -z "${passphrase}" ]; then
4ba90c
         return 1
4ba90c
     fi
4ba90c
-- 
4ba90c
2.33.1
4ba90c