mirror of
https://github.com/twofas/2fas-android.git
synced 2024-11-24 11:19:57 +01:00
Fix Aegis HOTP import
This commit is contained in:
parent
73fc17412d
commit
b56ea1cd9a
@ -73,7 +73,7 @@ internal class AegisImporter(
|
||||
.asSequence()
|
||||
.filter { it.type.equals("totp", true) || it.type.equals("hotp", true) || it.type.equals("steam", true)}
|
||||
.filter { it.info.digits == 5 ||it.info.digits == 6 || it.info.digits == 7 || it.info.digits == 8 }
|
||||
.filter { it.info.period == 10 || it.info.period == 30 || it.info.period == 60 || it.info.period == 90 }
|
||||
.filter { it.info.period == 10 || it.info.period == 30 || it.info.period == 60 || it.info.period == 90 || it.type.equals("hotp", true)}
|
||||
.filter {
|
||||
it.info.algo.equals("SHA1", true) || it.info.algo.equals("SHA224", true) || it.info.algo.equals(
|
||||
"SHA256",
|
||||
|
Loading…
Reference in New Issue
Block a user