When I have "Save in password manager" selected, pinentry fails to work at all for my tpm protected private key. The error I get is: The value for attribute 'keygrip' was not a valid UTF-8 string. If I do not have "Save in password manager" selected, it works fine.