Auto reset PGP sign key

This commit is contained in:
M66B
2025-06-07 12:57:47 +02:00
parent c3ffcfe506
commit ed821ecd8b

View File

@@ -4276,6 +4276,8 @@ public class FragmentCompose extends FragmentBase {
throw new IllegalStateException("Unknown action=" + data.getAction());
case OpenPgpApi.RESULT_CODE_USER_INTERACTION_REQUIRED:
if (OpenPgpApi.ACTION_GET_KEY.equals(data.getAction()))
db.identity().setIdentitySignKey(identity.id, null);
args.putBoolean("interactive", largs.getBoolean("interactive"));
return result.getParcelableExtra(OpenPgpApi.RESULT_INTENT);