From 89bd841b4d17028feef69ac6120b3dbfd6b3b734 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 1 Sep 2022 14:31:49 +0200 Subject: [PATCH] Update execution mode of gopass_wrapper.sh ux -> Ux. This at least scrubs environment variables before executing the script. For px and cx we would need to create a profile for gopass_wrapper.sh. ix inherits the firefox profile, which leads to errors. --- .../provs/desktop/infrastructure/GopassBridge.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt index 7d3200b..ad32208 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/GopassBridge.kt @@ -74,7 +74,7 @@ fun Prov.enableGopassWrapperShForFirefox() = task { if (checkFile(appArmorFile)) { addTextToFile( - "\nowner @{HOME}/.config/gopass/gopass_wrapper.sh ux\n", + "\nowner @{HOME}/.config/gopass/gopass_wrapper.sh Ux\n", File(appArmorFile), sudo = true )