Fix YubiKey import
This commit is contained in:
@@ -180,17 +180,17 @@ public class CreateKeyActivity extends BaseNfcActivity {
|
|||||||
finish();
|
finish();
|
||||||
|
|
||||||
} catch (PgpKeyNotFoundException e) {
|
} catch (PgpKeyNotFoundException e) {
|
||||||
// Fragment frag = CreateYubiKeyImportFragment.newInstance(
|
Fragment frag = CreateYubiKeyImportFragment.newInstance(
|
||||||
// mScannedFingerprints, mNfcAid, mNfcUserId);
|
mScannedFingerprints, mNfcAid, mNfcUserId);
|
||||||
// loadFragment(frag, FragAction.TO_RIGHT);
|
loadFragment(frag, FragAction.TO_RIGHT);
|
||||||
Notify.create(this,
|
|
||||||
"YubiKey key creation is currently not supported. Please follow our FAQ.",
|
|
||||||
Notify.Style.ERROR
|
|
||||||
).show();
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Fragment frag = CreateYubiKeyBlankFragment.newInstance();
|
// Fragment frag = CreateYubiKeyBlankFragment.newInstance();
|
||||||
loadFragment(frag, FragAction.TO_RIGHT);
|
// loadFragment(frag, FragAction.TO_RIGHT);
|
||||||
|
Notify.create(this,
|
||||||
|
"YubiKey key creation is currently not supported. Please follow our FAQ.",
|
||||||
|
Notify.Style.ERROR
|
||||||
|
).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user