Skip to content

Commit 8710b03

Browse files
authored
Merge pull request #67 from Authenticator-Extension/master
5.0.6 master to release
2 parents da11c25 + 199821d commit 8710b03

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

manifest-chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extName__",
44
"short_name": "__MSG_extShortName__",
5-
"version": "5.0.5",
5+
"version": "5.0.6",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"icons": {

manifest-firefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extName__",
44
"short_name": "__MSG_extShortName__",
5-
"version": "5.0.5",
5+
"version": "5.0.6",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"applications": {

src/ui/entry.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ function getBackupFile(entryData: {[hash: string]: OTPStorage}) {
5656
let json = JSON.stringify(entryData, null, 2);
5757
// for windows notepad
5858
json = json.replace(/\n/g, '\r\n');
59-
const base64Data = btoa(json);
59+
const base64Data =
60+
CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(json));
6061
return `data:application/octet-stream;base64,${base64Data}`;
6162
}
6263

0 commit comments

Comments
 (0)