sailfishos / sailfish-secrets

BSD 3-Clause "New" or "Revised" License
24 stars 15 forks source link

[sailfish-secrets] Clean emails before storing them for S/MIME keys. #148

Closed dcaliste closed 5 years ago

dcaliste commented 5 years ago

Email filtering is currently failing in a FindSecretRequest for S/MIME keys because emails are stored within brackets. This PR is removing the brackets if any, storing emails as they are.

@chriadam this will be necessary for selection of S/MIME keys for email signature.

chriadam commented 5 years ago

One minor comment, feel free to ignore that one if you deem it unnecessary. LGTM.

chriadam commented 5 years ago

LGTM thanks, merging