PoShKeePass icon indicating copy to clipboard operation
PoShKeePass copied to clipboard

Support for KeePass versions 2.x

Open jkdba opened this issue 8 years ago • 5 comments

Add the ability to support keepass versions 2.3x +.

This would require:

  • [x] ability to choose between multiple binaries
  • [ ] configuration file support
  • [ ] potentially automatic database version detection
  • [ ] warning about older versions of keepass databases compared to supported lib versions
  • [ ] Placeholder for other pieces that I have not thought of

Notes for : 2.35

http://keepass.info/news/n170109_2.35.html

Lots of changes and a new file format.

This will require a bunch of testing and SDK code change review.

Also lots of new features to integrate.

jkdba avatar Jan 09 '17 23:01 jkdba

A new version (2.35) of KeePassLib.dll assembly is needed for this issue. Where i can get this DLL ? Nothing found on the Keepass Homepage or inside a KeePass Installation folder....

WernerMairl avatar Mar 15 '17 07:03 WernerMairl

@WernerMairl

Instead of loading the dll if you can not find it you can use the keepass.exe the same way as the dll.

Alternatively, you can download the keepass 2.35 source from this link and compile the dll for yourself.

jkdba avatar Mar 16 '17 21:03 jkdba

Tested keepasslib 2.39.1 via pester tests and accessing an older database (2.34) and all tests completed without issue.

After running the code using the 2.39.1 lib against the older DB the installed version of Keepass gui 2.34 was able to open the file without issue.

jkdba avatar May 18 '18 20:05 jkdba

As of latest version both versions 2.34 and 2.39.1 of the KeePassLib are supported.

jkdba avatar Jun 25 '18 17:06 jkdba

Would it be possible to get have the Pester tests re-ran against the new version (2.48.1)?

https://keepass.info/news/n210507_2.48.html

Functi0n13 avatar Jul 15 '21 22:07 Functi0n13