enpass csv importer

This commit is contained in:
Kyle Spearrin 2018-07-12 00:11:14 -04:00
parent ce00587041
commit 4d759a6995
3 changed files with 9 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit 17d50fc90cc21ba547b6f083180ae89d2932de19 Subproject commit b4846e5feaf0d5a6122950e0b432d792a443015f

View File

@ -79,6 +79,11 @@
Using the Password Dragon desktop application, navigate to "File" → "Export" → "To XML". In the dialog that pops Using the Password Dragon desktop application, navigate to "File" → "Export" → "To XML". In the dialog that pops
up select "All Rows" and check all fields. Click the "Export" button and save the XML file. up select "All Rows" and check all fields. Click the "Export" button and save the XML file.
</ng-container> </ng-container>
<ng-container *ngIf="format === 'enpasscsv'">
Using the Enpass desktop application, navigate to "File" &rarr; "Export" &rarr; "As CSV". Select "OK" to the warning alert
and save the CSV file. Note that the importer only supports files exported while Enpass is set to the English
language, so adjust your settings accordingly.
</ng-container>
</app-callout> </app-callout>
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6">

View File

@ -25,6 +25,7 @@ import { AviraCsvImporter } from 'jslib/importers/aviraCsvImporter';
import { BitwardenCsvImporter } from 'jslib/importers/bitwardenCsvImporter'; import { BitwardenCsvImporter } from 'jslib/importers/bitwardenCsvImporter';
import { BlurCsvImporter } from 'jslib/importers/blurCsvImporter'; import { BlurCsvImporter } from 'jslib/importers/blurCsvImporter';
import { ChromeCsvImporter } from 'jslib/importers/chromeCsvImporter'; import { ChromeCsvImporter } from 'jslib/importers/chromeCsvImporter';
import { EnpassCsvImporter } from 'jslib/importers/enpassCsvImporter';
import { FirefoxCsvImporter } from 'jslib/importers/firefoxCsvImporter'; import { FirefoxCsvImporter } from 'jslib/importers/firefoxCsvImporter';
import { Importer } from 'jslib/importers/importer'; import { Importer } from 'jslib/importers/importer';
import { KeePass2XmlImporter } from 'jslib/importers/keepass2XmlImporter'; import { KeePass2XmlImporter } from 'jslib/importers/keepass2XmlImporter';
@ -254,6 +255,8 @@ export class ImportComponent implements OnInit {
return new KeeperCsvImporter(); return new KeeperCsvImporter();
case 'passworddragonxml': case 'passworddragonxml':
return new PasswordDragonXmlImporter(); return new PasswordDragonXmlImporter();
case 'enpasscsv':
return new EnpassCsvImporter();
default: default:
return null; return null;
} }