aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-09-29 03:37:38 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-09-29 03:37:38 +0200
commit91c357707354b6cce7b11b6ac6663fd3adb3a872 (patch)
treea34b5242a9eac3480fd73f3dadbcb8edce1602d7
parentb0b65abbc63bda61a39ce9c7418132af728d0203 (diff)
downloadopen-keychain-91c357707354b6cce7b11b6ac6663fd3adb3a872.tar.gz
open-keychain-91c357707354b6cce7b11b6ac6663fd3adb3a872.tar.bz2
open-keychain-91c357707354b6cce7b11b6ac6663fd3adb3a872.zip
enc-export: add comments about debug mechanisms
-rw-r--r--OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/BackupCodeFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/BackupCodeFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/BackupCodeFragment.java
index 34fbe4a9b..c742ce130 100644
--- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/BackupCodeFragment.java
+++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/BackupCodeFragment.java
@@ -295,6 +295,7 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
return;
}
+ // TODO remove debug code
if (backupCodeInput.toString().startsWith("ABC")) {
switchState(BackupCodeState.STATE_OK);
return;
@@ -467,6 +468,8 @@ public class BackupCodeFragment extends CryptoOperationFragment<ExportKeyringPar
@Nullable
@Override
public ExportKeyringParcel createOperationInput() {
+ // TODO replace debug code with real thing
+ // return new ExportKeyringParcel(new Passphrase(mBackupCode), mMasterKeyIds, mExportSecret, mCachedExportUri);
return new ExportKeyringParcel(new Passphrase("abc"), mMasterKeyIds, mExportSecret, mCachedExportUri);
}