only sign keys if private key has capability

This commit is contained in:
Ash Hughes
2013-03-19 02:04:56 +00:00
parent 2d856c5f0e
commit 650b22d5e9
3 changed files with 17 additions and 1 deletions

View File

@@ -121,6 +121,7 @@ public class SignKeyActivity extends SherlockFragmentActivity {
// kick off the SecretKey selection activity so the user chooses which key to sign with
// first
Intent intent = new Intent(this, SelectSecretKeyActivity.class);
intent.putExtra(SelectSecretKeyActivity.EXTRA_FILTER_CERTIFY, true);
startActivityForResult(intent, Id.request.secret_keys);
}
}