Closed Luticus closed 4 years ago
yes, in my ldap server i switched my email to be uppercase so like User@Example.com which previously did not work due to the pgp being registered to user@example.com. I logged out of nextcloud completely and logged back in so it showed the altered email address in the email field, just to be sure. Upon testing I was able to upload my key successfully, and then I sent a test email from my server, which I could then read via kmail.
Nice seams to work.
Added case insensitivity to the uploaduserkey function to allow gpgkey and valid email to ignore case. This will allow it to import keys for email addresses that have varying capitalization. This should work fine as email addresses are not case sensitive, and other email clients tend to handle this just fine.
Not sure if you're interested in this functionality or not per our prior conversation about it, but so far I have tested it and everything seems fine. I'll probably maintain this change on my server, as long as is possible, because I feel it alleviates confusion for my users.