-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash after Get-KeePassEntry #208
Comments
I see than error is like in this issue #148 but I only get entry, not update |
I'm getting exactly the same issue on Get-KeePassEntry |
It looks like the old KeePassLib included in the module (2.39.1) is unable to handle some recent changes to the kdbx file format.
A proper fix would be to obtain/create a build of KeePassLib.dll for the current KeePass version and release a new PoShKeePass version with this dll included. |
Thanks a lot, but I've tried to swap dll from Keepass portable and it didn't help. After weeks of misunderstanding and ignorance I've migrated my project from Keepass to Hashicorp vault. |
I have been using the powershell script for over a year and today I noticed that something is not working. after debugging found that the script crashes after Get-KeePassEntry. So I don't understand what the root cause of this behaviour. During this year I didn't change windows, powershell, ps module versions or something else.
my code is
` New-KeePassDatabaseConfiguration -DatabaseProfileName 'KeePass' -DatabasePath $dbpath -UseMasterKey -Default
$keepasskey = Get-Content $global:masterpass -raw
$Securekeepasskey = ConvertTo-SecureString $keepasskey –asplaintext –force
Get-KeePassEntry -AsPlainText -DatabaseProfileName 'KeePass' -MasterKey $Securekeepasskey `
after that I get an error
The text was updated successfully, but these errors were encountered: