Coverage for pass_import/managers/myki.py: 100%

9 statements  

« 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# 

5 

6from pass_import.core import register_managers 

7from pass_import.formats.csv import CSV 

8 

9 

10class Myki(CSV): 

11 """Importer for Myki in CSV format.""" 

12 name = 'myki' 

13 url = 'https://myki.com' 

14 hexport = ('See this guide: https://support.myki.com/myki-app/export' 

15 'ing-your-passwords-from-the-myki-app/how-to-export-your' 

16 '-passwords-account-data-from-myki') 

17 himport = 'pass import myki file.csv' 

18 keys = { 

19 'title': 'nickname', 

20 'password': 'password', 

21 'login': 'username', 

22 'url': 'url', 

23 'comments': 'additionalInfo', 

24 'otpauth': 'twofaSecret', 

25 } 

26 

27 

28register_managers(Myki)