mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
add support for encrypted json export (#1483)
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: abb54f0073...dcbd09e736
@@ -609,6 +609,9 @@
|
|||||||
"exportWarningDesc": {
|
"exportWarningDesc": {
|
||||||
"message": "This export contains your vault data in an unencrypted format. You should not store or send the exported file over unsecure channels (such as email). Delete it immediately after you are done using it."
|
"message": "This export contains your vault data in an unencrypted format. You should not store or send the exported file over unsecure channels (such as email). Delete it immediately after you are done using it."
|
||||||
},
|
},
|
||||||
|
"encExportWarningDesc": {
|
||||||
|
"message": "This export encrypts your data using your account's encryption key. If you ever rotate your account's encryption key you should export again since you will not be able to decrypt this export file."
|
||||||
|
},
|
||||||
"exportMasterPassword": {
|
"exportMasterPassword": {
|
||||||
"message": "Enter your master password to export your vault data."
|
"message": "Enter your master password to export your vault data."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
<select id="format" name="Format" [(ngModel)]="format">
|
<select id="format" name="Format" [(ngModel)]="format">
|
||||||
<option value="json">.json</option>
|
<option value="json">.json</option>
|
||||||
<option value="csv">.csv</option>
|
<option value="csv">.csv</option>
|
||||||
|
<option value="encrypted_json">.json (Encrypted)</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-content-row box-content-row-flex" appBoxRow>
|
<div class="box-content-row box-content-row-flex" appBoxRow>
|
||||||
@@ -40,7 +41,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<div class="box-footer">
|
||||||
<p>{{'exportMasterPassword' | i18n}}</p>
|
<p>{{'exportMasterPassword' | i18n}}</p>
|
||||||
<strong>{{'warning' | i18n}}</strong>: {{'exportWarningDesc' | i18n}}
|
<strong>{{'warning' | i18n}}</strong>:
|
||||||
|
<span *ngIf="!encryptedFormat">
|
||||||
|
{{'exportWarningDesc' | i18n}}
|
||||||
|
</span>
|
||||||
|
<span *ngIf="encryptedFormat">
|
||||||
|
{{'encExportWarningDesc' | i18n}}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</content>
|
</content>
|
||||||
|
|||||||
Reference in New Issue
Block a user