maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   pySafe - for personal information security (https://talk.maemo.org/showthread.php?t=40108)

Netweaver 2010-01-26 17:18

Re: pySafe - for personal information security
 
Thanks to you !! I've just send you a part of the extract file via PM.

There are items for 5 groups in there :
"Atlas Copco"
"Friends-Amy"
"Friends-Eliza"
"IBM"
"Persoonlijk"

The itemnames are always separated from the groupnames with a dot, in the first line. Subsequent lines are the fields in the item, always "Label": "Value"
Notes fields strat just with "Note:", the value can already start on the same name of the label. Multi-line. Hard thing might be recognizing when a note field value ends and what's the start of a new record ....

Let me know if I can provide more info or help testing.

Cheers.

jaguilar 2010-01-26 17:50

Re: pySafe - for personal information security
 
Thanks for the file!!

I'll reply your PM there....I have questions about the "notes" field!

But the only problem is it....notes! The remaing fields are easy to import.

jaguilar 2010-02-06 04:24

Re: pySafe - for personal information security
 
A new version is available in the repository.

- import data from Handy Safe Pro (plain text file only)
- improvements in the UI
- now is possible create groups inside another groups (and itens outside a group)

The import is made only from text files exported from Handy Safe Pro (I don't know if the exported files in all Handy Safe versions are equals). The import is not perfect and sometimes you will need to fix the informations.

Before running the new version, it is strongly recomended perform a backup of the pySafe database.

Any issues, let me know! :)

titou1234 2010-02-09 13:51

Re: pySafe - for personal information security
 
Hi,

I tried to import data in pySafe with no avail. When I import the xml file generated by Handy Safe Pro, nothing appears in pySafe.
What is the format you are waiting for ? Do you have an example of the file to import ?

Thanks in advance.

Rob1n 2010-02-09 14:00

Re: pySafe - for personal information security
 
Quote:

Originally Posted by titou1234 (Post 517694)
Hi,

I tried to import data in pySafe with no avail. When I import the xml file generated by Handy Safe Pro, nothing appears in pySafe.
What is the format you are waiting for ? Do you have an example of the file to import ?

Thanks in advance.

The relevant portion of the post above yours reads:
Quote:

import data from Handy Safe Pro (plain text file only)

titou1234 2010-02-09 14:43

Re: pySafe - for personal information security
 
Quote:

Originally Posted by Rob1n (Post 517704)
The relevant portion of the post above yours reads:

I have downloaded the lastest version of Handy Safe Pro and unfortunatly, the only export format is xml.

But my question is still valid: What is the format you are waiting for ? csv, tab separated, one field by line.
Do you have an example of the file to import ?

jaguilar 2010-02-09 16:31

Re: pySafe - for personal information security
 
Quote:

Originally Posted by titou1234 (Post 517753)
But my question is still valid: What is the format you are waiting for ? csv, tab separated, one field by line.
Do you have an example of the file to import ?

As Rob1n said, the file needs to be in plain text. This is an example:

[Category: XXX]
[Card, Icon: 19]
Name: Whatever
User ID: my_name
Password: Cleartext
Note:

[Card, Icon: 19]
System: VPN
Login: my_login
Password: Cleartext
Access:
Other:
Note:

Here we have one category ("XXX"), which contains one item ("Whatever") with 2 details ("User ID" and "Password"). And have one item ("VPN") with 2 details ("Login" and "Password"), that are not inside the category "XXX".

If it is not correct, I'm sorry! I don't have anymore a Symbian device, and I don't use Windows in my computer, so I cannot use Handy Safe and try to understand the format of the file that it creates.

If somebody send me an example file, with several lines, categories and details, I could try to write the import code.

jaguilar 2010-02-09 19:13

Re: pySafe - for personal information security
 
I installed the Handy Safe Pro in a VMWare Windows installation, and I will work in an import from the XML exported file from it.

titou1234 2010-02-09 20:40

Re: pySafe - for personal information security
 
Quote:

Originally Posted by jaguilar (Post 517921)
[Category: XXX]
[Card, Icon: 19]
Name: Whatever
User ID: my_name
Password: Cleartext
Note:

[Card, Icon: 19]
System: VPN
Login: my_login
Password: Cleartext
Access:
Other:
Note:

Thank you, this format is easier to manage than the handy safe pro xml format !
Like you I installed handy safe pro (in wine ) just to see precisely the format you need. Indeed my data comes from a rare application (gnukeyring in Palm), so I think it was best to adapt my data to your import format instead of asking you to adapt your application to my data ! Thats why I was asking for the format you use as I cannot find it myself.

Thank you for your time and your application.

jaguilar 2010-02-09 21:34

Re: pySafe - for personal information security
 
Quote:

Originally Posted by titou1234 (Post 518275)
Thank you, this format is easier to manage than the handy safe pro xml format !
Like you I installed handy safe pro (in wine ) just to see precisely the format you need. Indeed my data comes from a rare application (gnukeyring in Palm), so I think it was best to adapt my data to your import format instead of asking you to adapt your application to my data ! Thats why I was asking for the format you use as I cannot find it myself.

In fact, I think that the XML format is better than the plain text one! The reason: in XML I have a perfect control of what is what!

I don't like XML, to be honest! But it is better than an unformatted text (which is the case).

If you wish, you can PM me with an example of the file generated by gnukeyring (or send the URL where it shows the format), so I can do a import code for it!

I'm almost finished the import from XML...it was easier than I thought!


All times are GMT. The time now is 13:05.

vBulletin® Version 3.8.8