Comments (2)
Same issue for me, but I'm not using a keyfile.
1.- If i pass the password manually it works
2.- If i used the System.Security.SecureString doesn't work and get the same error
PS D:\gdlrayas\GitLab\marco-wintel-scripts> Get-KeePassEntry -DatabaseProfileName 'TEST' -MasterKey $PWord
Exception calling "Open" with "3" argument(s): "The composite key is invalid!
Make sure the composite key is correct and try again."
At C:\Program Files\WindowsPowerShell\Modules\PoShKeePass\2.1.3.0\PoShKeePass.psm1:2664 char:9
-
$null = $DatabaseObject.Open($IOInfo, $CompositeKey, $IStatus ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : InvalidCompositeKeyException
InvalidDatabaseConnectionException : The database is not open.
At C:\Program Files\WindowsPowerShell\Modules\PoShKeePass\2.1.3.0\PoShKeePass.psm1:2669 char:13
-
Throw 'InvalidDatabaseConnectionException : The database ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (InvalidDatabase...se is not open.:String) [], RuntimeException
- FullyQualifiedErrorId : InvalidDatabaseConnectionException : The database is not open.
from poshkeepass.
I had similar issue. My initial keyfile, I've generated using Format version 2.0(recommended). However, when I've generated new keyfile using Format Version 1.0(compatible with older KeePass version/ports) I was able to use PoShKeePass with keyfile.
from poshkeepass.
Related Issues (20)
- Module fails with PowerShell 7 HOT 1
- Allow non-administrator use by writing to $env:LocalAppData
- Allow a non-persistent DatabaseProfile option HOT 1
- Not working with newer KeePass
- Convert keepass generated password into plain text HOT 1
- GroupPath not returned if Username value is too long
- How can I get the last modified time or the expiry time information?
- Not able to add new entry to keypass db HOT 1
- -whatif option don't affect command.
- No way to persist an entry's $entry.KPEntry.Strings to database since the breaking changes in Cmdlet naming
- Is there a way to add, list, retrieve attachments to an entry item? It is a complete show stopper for me if these options not available
- Remove-KeePassEntry does not delete properly
- how to modify keepass without having to put usermasterkey
- Can not open database with both KeyFile and MasterKey - The composite key is invalid HOT 1
- Unable to use module with master password HOT 1
- Customize password prompt when accessing KeePass database
- crash after Get-KeePassEntry HOT 5
- Unable to create new entry - InvalidDatabaseConnectionException : The database is not open.
- The update-help fails
- Update KeePassEntry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poshkeepass.