Author Topic: PWM really slow when using it manually to generate a password  (Read 14488 times)

Offline tanstaafl

  • Administrator
  • *****
  • Posts: 1361
PWM really slow when using it manually to generate a password
« on: August 31, 2010, 06:21:03 PM »
Hey Eric,

This was introduced very recently...

I also confirmed it is doing the same thing in 4.0b4 with no other extensions installed...

To reproduce:

1. Open PWM (I always click the ring icon in the Statusbar)

2. Select an account

3. Modify the 'Using Text' field - it updates really slowly, like, one character per second or so

4. SHIFT-TAB to the MPW field - it updates aslowly too, but not quite as slow

Hopefully its an easy fix, cause its driving me crazy when I have to log into one of our users accounts (especially if they have a long username)...

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: PWM really slow when using it manually to generate a password
« Reply #1 on: August 31, 2010, 06:56:03 PM »
Operating system?

Do you get this with Firefox 3.6.x ?

eric

Offline tanstaafl

  • Administrator
  • *****
  • Posts: 1361
Re: PWM really slow when using it manually to generate a password
« Reply #2 on: August 31, 2010, 07:11:07 PM »
Operating system?

Sorry...

XP Pro sp3, fully patched

Quote
Do you get this with Firefox 3.6.x ?

Yes, 3.6.8 (still use it for daily stuff)...

Offline Eric H. Jung

  • grimholtz
  • Administrator
  • *****
  • Posts: 3348
    • http://passwordmaker.org/
Re: PWM really slow when using it manually to generate a password
« Reply #3 on: September 01, 2010, 09:26:13 PM »
I cannot reproduce this. Can you either:

1. Try with a new firefox profile and no other extensions (somehow I bet you've already done this)
2. Let me remote desktop to your machine to debug?   ::)

Offline tanstaafl

  • Administrator
  • *****
  • Posts: 1361
Re: PWM really slow when using it manually to generate a password
« Reply #4 on: September 01, 2010, 09:36:47 PM »
Crap... ok apparently it is related to my (bloated) .rdf file...

I tried a clean passwordmaker rdf file, and no problems...

Mine is currently 254KB - could it be size related? Maybe it happened after I added a new account, and I just didn't notice it right away (I don't use  the manual method all that often)...

I'd hate to ask you to examine my rdf file. Wish there was a way to export groups, I could try export/importing one group at a time. Maybe I'll try manually copy/pasting from my current rdf file to a new one...

Offline tanstaafl

  • Administrator
  • *****
  • Posts: 1361
Re: PWM really slow when using it manually to generate a password
« Reply #5 on: September 02, 2010, 11:11:47 AM »
Maybe I'll try manually copy/pasting from my current rdf file to a new one...

Well, that's not gonna work very well... I can't even figure out how each account is linked to a Group - heck, I did a text search, and can't even find the Group Names anywhere in the RDF file?

Eric? Any ideas on how I can try to track this down? Do you have any documentation on the structure of the RDF file that you could send me so I could try to clean it up manually?

Offline Miquel 'Fire' Burns

  • Administrator
  • *****
  • Posts: 1141
  • Programmer
    • http://www.miquelfire.com/
Re: PWM really slow when using it manually to generate a password
« Reply #6 on: September 02, 2010, 04:38:25 PM »
The RDF is NOT human readable.

The root tag is RDF (assuming RDF: namespace/prefix).

The direct child tags is either one of Description or Seq. Seq has li child tags.
Both have the attribute about. The auto generated ids start with rdf: (might be something else if another edition exports to this format but doesn't want to bother with Firefox's ID system) and ids for items defined by PasswordMaker (like the default account for example) use a url format.

Groups actually have both Description and Seq tags. Description tags will have the name of the group (and the notes). Note the id in the about tag and search for the seq tag to get a list of the child accounts. then search those ids for the Description tags for the accounts.

There is NO ordering with the RDF file. The group may have their Seq and Description tags together, but that's it. The account you're looking for may be in the middle, or it could be at the top (being the very first Description you see in the file). In my file the first Description tag is an account in the last group of the list (being in the middle of the group).
"I'm not drunk, just sleep deprived."

Offline tanstaafl

  • Administrator
  • *****
  • Posts: 1361
Re: PWM really slow when using it manually to generate a password
« Reply #7 on: September 02, 2010, 06:40:28 PM »
Yeah, I noticed all of that...

Guess I might be forced to take the time to see if Abine is going to work for me (I just haven't had the spare day I need to really take it for a test spin, but maybe this weekend)...

PasswordMaker Forums

Re: PWM really slow when using it manually to generate a password
« Reply #7 on: September 02, 2010, 06:40:28 PM »

 

anything