PSKeePass / PoShKeePass

PowerShell module for KeePass
MIT License
255 stars 56 forks source link

When will your module be compatible with Powershell 7? #179

Open superfliege opened 4 years ago

superfliege commented 4 years ago

Unfortunately I had a few library errors with Powershell 7.

Are you currently working on compatibility with Powershell 7?

jkdba commented 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.

donid commented 4 years ago

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.

user8446 commented 2 years ago

https://github.com/PSKeePass/PoShKeePass/issues/188