Hi all, strange problem but I can reliably reproduce this result.
I use the password manager KeePassDroid to paste credentials from the Android clipboard because it’s so much easier than typing them and it eliminates the possibility of typing them incorrectly. After a lot of testing, I have discovered that pasting my FastMail password into Davdroid produces a different outcome than typing it in manually. Pasting the password always results in failure to authenticate.
This only happens with my FastMail account and Davdroid. I can paste credentials into other apps (or even into a plain text editor to visually check clipboard contents are output correctly) and see the expected outcome.
I can even generate a QR code of my password and use a barcode scanner app to get the password into the Android clipboard and paste from there, in case this was somehow a KeePassDroid issue, but that also fails.
The act of pasting a password from the Android clipboard produces different results than the act of manually inputting them using the Android keyboard, and this only occurs for password entry on DAV syncing apps. It’s bizarre but I have tested this exhaustively and I see the same result consistently.
Thinking this was a FastMail issue, I installed the ‘CardDAV-Sync’ app they recommend and see the exact same issue.
I’m using a Nexus 4, running Android 5.1.1 build LMY48T and DAVdroid 0.9.1.3 installed via the F-Droid repository.
Is there anything that can be done to troubleshoot this further, or am I stuck with a strange clipboard/pasting bug?