Menu

KeePassSync Improvements + AmazonS3 Support

2009-10-31
2012-11-20
  • Mitch Capper

    Mitch Capper - 2009-10-31

        Improvements:
        --- Several fixes to KeePassSync:
        --- Compatible with 2.09
        --- No double entries
        --- Proper ability to edit/setup the sync options (will save proper changes)
        --- Other minor bug fixes.

        Additions to KeePassSync:
        --- Amazon S3 Support (http://aws.amazon.com/s3/) - S3 is a cloud storage provider it is not meant for small storage meaning it is actually insanely cheap (as there are no minimums).  Cost is around 5 cents a month and you can quickly sign up if you have an amazon account.   Transfer is done over SSL and has strong security features.  In addition the S3 KeePassSync module I programmed to have a backup option, to save 30 days of old keepass files.
        --- Background Sync Support - Previously KeePassSync would run in the foreground meaning when it would sync keepass would freeze up.  One of my other plugins auto-saves the database every time an entry is changed, so this became an annoying issue.  Now keepasssync runs in the background, it will still update the status bar once done.   If you manually choose to sync (through the plugin's menu option) rather than saving the database it will still sync in the foreground.

    Now for the bad news.   I cannot create a PLGX.  KeePassSync works on having the providers as plugins to the main plugin.  It is a good system, it allows people to create their own provider without making their own version of the plugin.  In theory PLGX's I believe should be able to do this, the documentation says "use custom assembly references", but I am not sure what he means here, I have a bug about it so if I get a reply (or someone else understands it) I can release PLGX's. Otherwise someone can compile and sign their own binaries, but I prefer not to release DLL versions of my changes.

    So here is a source patch, its not super clean (includes upgrades to VS2k10 and other not so important changes) but will apply fine to the latest source.  The patch is at: http://mitchcapper.com/keepass/keepass_sync_updates.patch

    Also, keepass currently has some slightly odd behavior with icon syncing, in which if two databases are synced the end database will always have the combined set of icons of both.  This means that with KeePassSync if you delete an icon, and then sync, it will reappear.  I will look at this at some point.

     
  • Paul

    Paul - 2009-11-01

    There was a previous thread about icons not syncing. I thought Dominik had sorted this? Will search for more later.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2009-11-01

    Such dependencies are currently unsupported and it's rather unlikely that they'll be supported in the near future. My suggestion would be to either merge the providers into the main plugin (easiest way), or make the providers completely independent of KeePass and KeePassSync (which allows you to ship compiled provider DLLs that work with all KeePass and KeePassSync versions).

    Icons are currently merged, but not deleted in the synchronization process (feature request 2876036); it's on my to-do list.

    Best regards,
    Dominik

    https://sourceforge.net/projects/keepasssync/forums/forum/810363/topic/3398957

     
  • Mitch Capper

    Mitch Capper - 2009-11-01

    I will try and take care of that feature request soon (as I believe I was the one who made it).    I can merge the projects all into one but the modular design is fairly nice, the plugin page mentions "use custom assembly references"  so I assume that can't or doesn't apply in this case then?

     
  • Dominik Reichl

    Dominik Reichl - 2009-11-01

    No, this doesn't apply in this case. You can only use references on own DLLs, if the DLLs are independent from KeePass and your main plugin assembly.

    Best regards,
    Dominik

     
  • Piotr

    Piotr - 2009-11-04

    If I am thinking correctly - this could provide the modular design and would be independent of the KP version.

    - plgx - main pluging dll
    - S3 support
       for that pluggin

    Looking forward for the new plugin.

    PJ

     
  • Piotr

    Piotr - 2009-11-04

    S3 in the dll - and referenced in plgx.

    PJ

     
  • glycolized

    glycolized - 2009-12-17

    Sorry to sound so dumb…

    …but how do I apply the patch? I have never used this plugin, and I just updated recently to KP v/2.09 from v1.x, but I have had an Amazon S3 account for a while, so I am very interested in this plugin.

    I installed Keepass with the .exe installer, and I am using Windows XP.

     
  • Paul

    Paul - 2009-12-19

    Have you looked at the plug-in ?

    cheers, Paul
      : http://keepass.info/plugins.html#keepasssync

     
  • matty256

    matty256 - 2009-12-26

    Mitch, your patch link (http://mitchcapper.com/keepass/keepasssyncupdates.patch) appears to be broken.

    Can you repost please? :)
    Thanks!

     
  • Mitch Capper

    Mitch Capper - 2009-12-27

    http://mitchcapper.com/keepass/keepass_sync_updates.patch

    not sure why the first link had the underscores stripped.

     
  • Mitch Capper

    Mitch Capper - 2009-12-27

    Ah crap now I see, problem seems to be an underscores in the link are screwing it up as my reply also was screwed up:

    > http://mitchcapper.com/keepass/keepass\_sync_updates.patch

     
  • Stephan Jones

    Stephan Jones - 2010-12-09

    I have installed Keepass Sync and signed up to an s3 account.

    I have completed the Sync options and all was ok after some tinkering

    Lastly i attempted to Sync with a copy of the kdbx and got the following error messager… any ideas??

     
  • Stephan Jones

    Stephan Jones - 2010-12-09

    Just to add that all Keepass apps installed from latest available releases as of today

     
  • Mitch Capper

    Mitch Capper - 2010-12-09

    Just to confirm you do have the Access key , Secret key, and Bucket Name all correctly filled in with values correct?

     
  • Stephan Jones

    Stephan Jones - 2010-12-09

    Yes Access key, secret access key and bucket name all correct, just to add some other detail when i choose the "Open" function from the Tools menu > KeePass Sync > Open  this produces a message "Possible connection issue. Unable to retrieve database. Test your connection and try again"

     

Log in to post a comment.

MongoDB Logo MongoDB