Commits

Erik Grinaker committed 3c2ae1b

added MyPasswordSafe import/export

Comments (0)

Files changed (4)

 
 	* added Password Gorilla import/export
 
+	* added MyPasswordSafe import/export
+
 2005-08-17  Erik Grinaker <erikg@codepoet.no>
 
 	* default lock timeout for applet set to 10 minutes
 New features:
 - added Password Safe 2.x import/export
 - added Password Safe 1.x import/export
+- added MyPasswordSafe import/export
 - added Password Gorilla import/export
 
 Bugfixes:

src/lib/datahandler/__init__.py

 from fpm import FPM
 from gpass import GPass
 from netrc import NetRC
-from pwsafe import PasswordSafe1, PasswordSafe2, PasswordGorilla
+from pwsafe import PasswordSafe1, PasswordSafe2, MyPasswordSafe, PasswordGorilla
 from rvl import RevelationXML, Revelation
 from text import PlainText
 from xhtml import XHTML
 HANDLERS = [
 	FPM,
 	GPass,
+	MyPasswordSafe,
 	NetRC,
 	PasswordGorilla,
 	PasswordSafe1,

src/lib/datahandler/pwsafe.py

 
 
 
+class MyPasswordSafe(PasswordSafe2):
+	"Data handler for MyPasswordSafe data"
+
+	name		= "MyPasswordSafe"
+	importer	= True
+	exporter	= True
+	encryption	= True
+
+
+
 class PasswordGorilla(PasswordSafe2):
 	"Data handler for Password Gorilla data"