goldwarden icon indicating copy to clipboard operation
goldwarden copied to clipboard

Polkit setup crashing on Fedora 39

Open Lcchy opened this issue 2 months ago • 5 comments

Hello, thanks so much for this great software! I appreciate the security focused approach.

On Fedora 39, when installing via the rpm, I am somehow unable to setup Polkit properly:

$ goldwarden setup polkit
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/bin/mv /tmp/goldwarden-policy /us ... actions/com.quexten.goldwarden.policy' as the super user
Authenticating as: lcchy
Password: 
==== AUTHENTICATION FAILED ====
panic: exit status 127

goroutine 1 [running]:
github.com/quexten/goldwarden/cmd.setupPolkit()
	/home/runner/work/goldwarden/goldwarden/cmd/setup_linux.go:48 +0x496
github.com/quexten/goldwarden/cmd.glob..func24(0xc96aa0?, {0x92c989?, 0x0?, 0x0?})
	/home/runner/work/goldwarden/goldwarden/cmd/setup_linux.go:80 +0x17
github.com/spf13/cobra.(*Command).execute(0xc96aa0, {0xd062b0, 0x0, 0x0})
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:987 +0xa91
github.com/spf13/cobra.(*Command).ExecuteC(0xc953a0)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x425
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039
github.com/quexten/goldwarden/cmd.Execute({{0x0, 0x0}, 0x0, {0xc000030a80, 0x2e}, 0x0, 0x0, {0x0, 0x0}, {0x0, ...}, ...})
	/home/runner/work/goldwarden/goldwarden/cmd/root.go:29 +0xea
main.main()
	/home/runner/work/goldwarden/goldwarden/main.go:52 +0x5f8

Any help would be very appreciated.

Lcchy avatar Apr 13 '24 00:04 Lcchy