File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/com/beemdevelopment/aegis/importers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
import android .content .pm .PackageManager ;
5
5
import android .database .Cursor ;
6
6
7
- import com .beemdevelopment .aegis .encoding .Base32 ;
8
7
import com .beemdevelopment .aegis .encoding .EncodingException ;
8
+ import com .beemdevelopment .aegis .otp .GoogleAuthInfo ;
9
9
import com .beemdevelopment .aegis .otp .HotpInfo ;
10
10
import com .beemdevelopment .aegis .otp .OtpInfo ;
11
11
import com .beemdevelopment .aegis .otp .OtpInfoException ;
@@ -73,7 +73,7 @@ public Result convert() {
73
73
74
74
private static VaultEntry convertEntry (Entry entry ) throws DatabaseImporterEntryException {
75
75
try {
76
- byte [] secret = Base32 . decode (entry .getSecret ());
76
+ byte [] secret = GoogleAuthInfo . parseSecret (entry .getSecret ());
77
77
78
78
OtpInfo info ;
79
79
switch (entry .getType ()) {
You can’t perform that action at this time.
0 commit comments