Compare commits
1 Commits
1248--totp
...
2246--fix-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fcc4d44786 |
@@ -5,6 +5,7 @@ using keepass2android;
|
|||||||
using KeePassLib;
|
using KeePassLib;
|
||||||
using KeePassLib.Cryptography;
|
using KeePassLib.Cryptography;
|
||||||
using KeePassLib.Utility;
|
using KeePassLib.Utility;
|
||||||
|
using KeeTrayTOTP.Libraries;
|
||||||
|
|
||||||
namespace PluginTOTP
|
namespace PluginTOTP
|
||||||
{
|
{
|
||||||
@@ -66,7 +67,7 @@ namespace PluginTOTP
|
|||||||
|
|
||||||
entryFields.TryGetValue(strPrefix + "Secret-Base32", out str);
|
entryFields.TryGetValue(strPrefix + "Secret-Base32", out str);
|
||||||
if (!string.IsNullOrEmpty(str))
|
if (!string.IsNullOrEmpty(str))
|
||||||
return MemUtil.ParseBase32(str);
|
return Base32.Decode(str);
|
||||||
|
|
||||||
entryFields.TryGetValue(strPrefix + "Secret-Base64", out str);
|
entryFields.TryGetValue(strPrefix + "Secret-Base64", out str);
|
||||||
if (!string.IsNullOrEmpty(str))
|
if (!string.IsNullOrEmpty(str))
|
||||||
|
|||||||
Reference in New Issue
Block a user