diff --git a/helpers/helpers.go b/helpers/helpers.go index 9877a1c..4a0e5f3 100644 --- a/helpers/helpers.go +++ b/helpers/helpers.go @@ -33,6 +33,7 @@ func ValidateGpgBinary(gpgPath string) error { } func GpgDecryptFile(filePath string, gpgPath string) (string, error) { + filePath = strings.TrimSuffix(filePath, ".gpg"); // browserpass-extension forcibly adds the .gpg extension passwordFile, err := os.Open(filePath) if err != nil { return "", err