ElGamal support added, fix of some minor GUI bugs, added a bunch of safe primes for ElGamal key creation

This commit is contained in:
Thialfihar
2010-04-24 17:40:09 +00:00
parent e30a531229
commit 81cdd6b943
7 changed files with 287 additions and 40 deletions

View File

@@ -72,7 +72,10 @@ public class EditKeyActivity extends BaseActivity implements OnClickListener {
if (intent.getExtras() != null) {
keyId = intent.getExtras().getLong("keyId");
}
if (keyId != 0) {
if (keyId == 0) {
Apg.setPassPhrase(null);
} else {
PGPSecretKey masterKey = null;
mKeyRing = Apg.getSecretKeyRing(keyId);
if (mKeyRing != null) {