mirror of https://github.com/keeweb/keeweb.git
possibility to use V2 keyfiles (.keyx)
This commit is contained in:
parent
7e36418276
commit
3177a87690
|
@ -522,10 +522,11 @@ class FileModel extends Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
generateAndSetKeyFile() {
|
generateAndSetKeyFile() {
|
||||||
const keyFile = kdbxweb.Credentials.createRandomKeyFile();
|
return kdbxweb.Credentials.createRandomKeyFile().then((keyFile) => {
|
||||||
const keyFileName = 'Generated';
|
const keyFileName = 'Generated';
|
||||||
this.setKeyFile(keyFile, keyFileName);
|
this.setKeyFile(keyFile, keyFileName);
|
||||||
return keyFile;
|
return keyFile;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
resetKeyFile() {
|
resetKeyFile() {
|
||||||
|
|
|
@ -434,10 +434,11 @@ class SettingsFileView extends View {
|
||||||
}
|
}
|
||||||
|
|
||||||
generateKeyFile() {
|
generateKeyFile() {
|
||||||
const keyFile = this.model.generateAndSetKeyFile();
|
this.model.generateAndSetKeyFile().then((keyFile) => {
|
||||||
const blob = new Blob([keyFile], { type: 'application/octet-stream' });
|
const blob = new Blob([keyFile], { type: 'application/octet-stream' });
|
||||||
FileSaver.saveAs(blob, this.model.name + '.key');
|
FileSaver.saveAs(blob, this.model.name + '.key');
|
||||||
this.renderKeyFileSelect();
|
this.renderKeyFileSelect();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
clearKeyFile() {
|
clearKeyFile() {
|
||||||
|
|
|
@ -9783,9 +9783,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"kdbxweb": {
|
"kdbxweb": {
|
||||||
"version": "1.11.0",
|
"version": "1.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-1.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/kdbxweb/-/kdbxweb-1.13.0.tgz",
|
||||||
"integrity": "sha512-8jhyAU+X8Kk9zsQobwMwx6wFI6XJyMrWuPWq+PcWaYwBW3l9ruN91FbRWbLSQvKku3IRLgpMgCIqiWBS/tQjCQ==",
|
"integrity": "sha512-WDTZH63zYP4zdS/kCigyIeX0kEboRgR7wuToaLBHVchTKeNOisi3d2rdpJRQaCzcAAzoqOR8nZon2wpW8DH1+w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc",
|
"pako": "github:keeweb/pako#653c0b00d8941c89d09ed4546d2179001ec44efc",
|
||||||
"text-encoding": "github:keeweb/text-encoding#4dfb7cb0954c222852092f8b06ae4f6b4f60bfbb",
|
"text-encoding": "github:keeweb/text-encoding#4dfb7cb0954c222852092f8b06ae4f6b4f60bfbb",
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
"jquery": "3.5.1",
|
"jquery": "3.5.1",
|
||||||
"json-loader": "^0.5.7",
|
"json-loader": "^0.5.7",
|
||||||
"jsqrcode": "github:antelle/jsqrcode#0.1.3",
|
"jsqrcode": "github:antelle/jsqrcode#0.1.3",
|
||||||
"kdbxweb": "^1.11.0",
|
"kdbxweb": "^1.13.0",
|
||||||
"load-grunt-tasks": "5.1.0",
|
"load-grunt-tasks": "5.1.0",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
"marked": "^1.2.5",
|
"marked": "^1.2.5",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Release notes
|
Release notes
|
||||||
-------------
|
-------------
|
||||||
##### v1.16.2 (2020-12-??)
|
##### v1.16.2 (2020-12-??)
|
||||||
|
`+` possibility to use V2 keyfiles (.keyx)
|
||||||
`-` fixed a missing icon in the local file question box
|
`-` fixed a missing icon in the local file question box
|
||||||
`-` minor license screen fixes
|
`-` minor license screen fixes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue