Fix Aegis HOTP import

This commit is contained in:
Rafał Kobyłko 2024-09-01 13:30:13 +02:00
parent 73fc17412d
commit b56ea1cd9a

View File

@ -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",