Open superfliege opened 4 years ago
@superfliege unfortunately this is a difficult question to answer, the underlying keepasslib that I use from the KeePass requires .Net Framework and does not support .Net Core, it has dependencies on librarys such as winforms and some cryptos, etc that prevent its ease of support.
I do understand that PS 7 has the intention of support some or most of the older non-core libraries to increase uptake but it will obviously only be able to do so on windows.
If you are getting library errors, i suspect they have yet to fully support all the required libraries by the keepasslib.
Last I read keepass has zero intention of supporting or moving to .net core, hopefully I am incorrect, until this is supported or I or Someone wants to take it on to rewrite this module and .net core compatible keepass library it will remain support for ps 5.
While a web search result about "keepass .net core" will reveal some attempts, they are either private or old and not maintained.
Since Dominik Reichl wasn't too keen on porting to .net Core, I searched and found ModernKeePassLib. It seems to be maintained and worked quite well in a short test (if you use byte[] instead of filePath).
Another point to consider is that Microsoft is creating a Secrets Management Module which is extensible - could be interesting to provide such an extension.
Unfortunately I had a few library errors with Powershell 7.
Are you currently working on compatibility with Powershell 7?