From 777dcd0eb8330e06da719866336efcde87974d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Wed, 29 Mar 2023 15:55:56 +0200 Subject: [PATCH] Update cookie_password_macos.go --- internal/slackclient/cookie_password_macos.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/slackclient/cookie_password_macos.go b/internal/slackclient/cookie_password_macos.go index c7376a1..d8ddd22 100644 --- a/internal/slackclient/cookie_password_macos.go +++ b/internal/slackclient/cookie_password_macos.go @@ -26,6 +26,7 @@ func cookiePassword() ([]byte, error) { func cookiePasswordFromKeychain(accountName string) ([]byte, error) { query := keychain.NewItem() + query.SetSecClass(keychain.SecClassGenericPassword) query.SetService("Slack Safe Storage") query.SetAccount(accountName) query.SetMatchLimit(keychain.MatchLimitOne)