rejetto forum

Using HFS to keep DB from KeePass synced

Ranger · 11 · 3063

0 Members and 1 Guest are viewing this topic.

Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
I was thinking the feature in KeePass may not be working, but I thought I double check here as well.

I use KeePass across multiple computers so I keep the DataBase on my server that only I can access via login. Keepass supports retrieving from URL with Username/pass and it also allows to save the DB to URL via the same method.

Currently I get errors trying to save to my server through KeePass.

Quote
The new file's content does not match the data that KeePass has written, i.e. writing to the file has failed and it might be corrupted now.
Please try saving again, and if that fails, save the database to a different location.

Is this because you would need to hit upload files to be able to save/upload a new DB? And if so is there way to circumvent this?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile

Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
Here is what I get when I try to save it to URL:

2/5/2009 7:48:24 AM ***@192.168.41.1:61232 Requested POST /Private Downloads & Uploads/KeePass/NicksKP.kdbx
2/5/2009 7:48:24 AM ***@192.168.41.1:61232 Request dump
> POST /Private%20Downloads%20&%20Uploads/KeePass/NicksKP.kdbx HTTP/1.1
> Authorization: Basic bmljazpuYXNzaW56
> Host: ***.***es.net
> Cache-Control: no-store,no-cache
> Pragma: no-cache
> Content-Length: 34119
> Expect: 100-continue
2/5/2009 7:48:24 AM ***@192.168.41.1:61232 Fully downloaded - 33.16 KB @ 361 KB/s - /Private Downloads & Uploads/KeePass/NicksKP.kdbx
2/5/2009 7:49:24 AM ***@192.168.41.1:61236 Requested GET /Private Downloads & Uploads/KeePass/NicksKP.kdbx
2/5/2009 7:49:24 AM ***@192.168.41.1:61236 Request dump
> GET /Private%20Downloads%20&%20Uploads/KeePass/NicksKP.kdbx HTTP/1.1
> Authorization: Basic bmljazpuYXNzaW56
> Host: ***.***es.net
> Cache-Control: no-store,no-cache
> Pragma: no-cache
2/5/2009 7:49:24 AM ***@192.168.41.1:61236 Fully downloaded - 33.16 KB @ 1095 KB/s - /Private Downloads & Uploads/KeePass/NicksKP.kdbx
2/5/2009 7:50:39 AM ***@192.168.41.1:61240 Requested GET /Private Downloads & Uploads/KeePass/NicksKP.kdbx
2/5/2009 7:50:39 AM ***@192.168.41.1:61240 Request dump
> GET /Private%20Downloads%20&%20Uploads/KeePass/NicksKP.kdbx HTTP/1.1
> Authorization: Basic bmljazpuYXNzaW56
> Host: ***.***es.net
> Cache-Control: no-store,no-cache
> Pragma: no-cache
2/5/2009 7:50:39 AM ***@192.168.41.1:61240 Fully downloaded - 33.16 KB @ 1095 KB/s - /Private Downloads & Uploads/KeePass/NicksKP.kdbx


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i see, what it does is to POST the file directly to its full path.
hfs doesn't support this method at the moment, the file must be posted to the folder, and the name specified elsewhere.

does anybody know if the method used by keepass is a de facto standard to upload files?
if yes, i may decide to support it.


Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
Thanks for the clarification.
That is KeePass's way of saving to URL.
There is also a sync with URL, but this options is always greyed out for me so I never had a chance to try it. I imagine it works the same way though.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i think i will support it.
shouldn't be hard.
and although i don't know how standard it is, it is the straightest way to do it. i like it.
although it has some limits that prevent me to use it as the standard method for the HFS upload form.



Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
Any chance you can still add this Rejetto?

I know your a busy man.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
sure.
but i can't say when.
i like it, so it won't take a year.


Offline Ranger

  • Tireless poster
  • ****
    • Posts: 115
    • View Profile
sure.
but i can't say when.
i like it, so it won't take a year.

Ok, I was just hoping it didn't get lost in the old posts.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile