From 3857920805730b205845de999cf77e83a530c96c Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 8 May 2018 07:59:56 -0600 Subject: [PATCH] add pledge for getpw on OpenBSD --- browserpass.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browserpass.go b/browserpass.go index c7a809b..60e4aa4 100644 --- a/browserpass.go +++ b/browserpass.go @@ -64,7 +64,7 @@ func SendError(err error, stdout io.Writer) error { // Run starts browserpass. func Run(stdin io.Reader, stdout io.Writer) error { - protector.Protect("stdio rpath proc exec") + protector.Protect("stdio rpath proc exec getpw") for { // Get message length, 4 bytes var n uint32