Coverage for pass_import/managers/encryptr.py: 100%
12 statements
« prev ^ index » next coverage.py v7.4.3, created at 2024-02-26 12:11 +0000
« prev ^ index » next coverage.py v7.4.3, created at 2024-02-26 12:11 +0000
1# -*- encoding: utf-8 -*-
2# pass import - Passwords importer swiss army knife
3# Copyright (C) 2017-2024 Alexandre PUJOL <alexandre@pujol.io>.
4#
6from pass_import.core import register_managers
7from pass_import.formats.csv import CSV
10class Encryptr(CSV):
11 """Importer for Encryptr in CSV format."""
12 name = 'encryptr'
13 url = 'https://spideroak.com/encryptr'
14 hexport = ('Compile from source and follow instructions from this guide: '
15 'https://github.com/SpiderOak/Encryptr/issues/295#issuecomment'
16 '-322449705')
17 himport = 'pass import encryptr file.csv'
18 keys = {
19 'title': 'Label',
20 'password': 'Password',
21 'login': 'Username',
22 'url': 'Site URL',
23 'comments': 'Notes',
24 'text': 'Text'
25 }
27 @classmethod
28 def header(cls):
29 """Get Encryptr special format header."""
30 return ["Entry Type", "Label", "Notes"]
33register_managers(Encryptr)