diff --git a/agent/systemauth/biometrics/polkit.go b/agent/systemauth/biometrics/polkit.go index d8b5c5b..dcb7565 100644 --- a/agent/systemauth/biometrics/polkit.go +++ b/agent/systemauth/biometrics/polkit.go @@ -9,36 +9,37 @@ import ( const POLICY = ` - + "http://www.freedesktop.org/software/polkit/policyconfig-1.dtd"> - - Allow access to the vault - Allows access to the vault entries - - auth_self - auth_self - auth_self - - - - Use SSH Key - Authenticate to use an SSH Key from your vault - - auth_self - auth_self - auth_self - - - - Browser Biometrics - Authenticate to allow Goldwarden to unlock your browser. - - auth_self - auth_self - auth_self - - + + + Allow access to the vault + Allows access to the vault + + auth_self + auth_self + auth_self + + + + Use SSH Key + Authenticate to use an SSH Key from your vault + + auth_self + auth_self + auth_self + + + + Browser Biometrics + Authenticate to allow Goldwarden to unlock your browser + + auth_self + auth_self + auth_self + + + ` func CheckBiometrics(approvalType Approval) bool { diff --git a/resources/com.quexten.goldwarden.policy b/resources/com.quexten.goldwarden.policy index b7fe542..ec0ba4e 100644 --- a/resources/com.quexten.goldwarden.policy +++ b/resources/com.quexten.goldwarden.policy @@ -1,52 +1,35 @@ - + "http://www.freedesktop.org/software/polkit/policyconfig-1.dtd"> - - Allow Credential Access - Authenticate to allow access to a single credential - - auth_self - auth_self - auth_self - - - - Approve Pin Change - Authenticate to change your Goldwarden PIN. - - auth_self - auth_self - auth_self - - - - Use Bitwarden SSH Key - Authenticate to use an SSH Key from your vault - - auth_self - auth_self - auth_self - - - - Modify Bitwarden Vault - Authenticate to allow modification of your Bitvarden vault in Goldwarden - - auth_self - auth_self - auth_self - - - - Browser Biometrics - Authenticate to allow Goldwarden to unlock your browser. - - auth_self - auth_self - auth_self - - - + + + Allow access to the vault + Allows access to the vault + + auth_self + auth_self + auth_self + + + + Use SSH Key + Authenticate to use an SSH Key from your vault + + auth_self + auth_self + auth_self + + + + Browser Biometrics + Authenticate to allow Goldwarden to unlock your browser + + auth_self + auth_self + auth_self + + + + \ No newline at end of file