1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 22:21:18 +00:00

Explicitly set userid for PGP sign key

This commit is contained in:
M66B 2021-07-06 17:17:43 +02:00
parent 28969048e8
commit d8ad5e4095

View file

@ -2704,6 +2704,9 @@ public class FragmentCompose extends FragmentBase {
if (identity == null)
throw new IllegalArgumentException(context.getString(R.string.title_from_missing));
if (OpenPgpApi.ACTION_GET_SIGN_KEY_ID.equals(data.getAction()))
data.putExtra(OpenPgpApi.EXTRA_USER_ID, identity.email.toLowerCase(Locale.ROOT));
// Create files
File tmp = new File(context.getFilesDir(), "encryption");
if (!tmp.exists())