Skip to content

Commit dbda707

Browse files
committed
Fixed issue #9.
1 parent 224c492 commit dbda707

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

KeePassQuickUnlockExt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private void FileClosingPreHandler(object sender, FileClosingEventArgs e)
113113
if (rootGroup != null)
114114
{
115115
// Check if a QuickUnlock entry is available.
116-
var entry = rootGroup.Entries.Where(en => en.Strings.GetSafe(PwDefs.TitleField).ReadString() == ShortProductName).FirstOrDefault();
116+
var entry = rootGroup.GetEntries(true).Where(en => en.Strings.GetSafe(PwDefs.TitleField).ReadString() == ShortProductName).FirstOrDefault();
117117
if (entry != null)
118118
{
119119
var password = entry.Strings.GetSafe(PwDefs.PasswordField);

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
3333
// übernehmen, indem Sie "*" eingeben:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.1.0.0")]
36-
[assembly: AssemblyFileVersion("2.1.0.0")]
35+
[assembly: AssemblyVersion("2.1.1.0")]
36+
[assembly: AssemblyFileVersion("2.1.1.0")]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The QuickUnlock plugin has two different modes: The default mode uses a custom e
2727
2828
**Custom Entry Mode**
2929

30-
- To enable QuickUnlock for a database you need to create a special entry in the root group of the database. The title of this entry must be "QuickUnlock". The password you set in this entry will be the key you need to provide while unlocking the database. Only the title and the password field are mandatory, all other fields are ignored. QuickUnlock will not be available for the database if no entry with the title "QuickUnlock" is found in the root group or the password field is empty.
30+
- To enable QuickUnlock for a database you need to create a special entry in a group of the database. The title of this entry must be "QuickUnlock". The password you set in this entry will be the key you need to provide while unlocking the database. Only the title and the password field are mandatory, all other fields are ignored. QuickUnlock will not be available for the database if no entry with the title "QuickUnlock" is found or the password field is empty.
3131

3232
![alt tag](https://abload.de/img/quickunlock11msja.jpg)
3333

@@ -42,7 +42,7 @@ The QuickUnlock plugin has two different modes: The default mode uses a custom e
4242

4343
![alt tag](https://abload.de/img/quickunlock_keypromptdmsro.jpg)
4444

45-
- To disable QuickUnlock for a database just remove the QuickUnlock entry from the root group (or don't create it). If you have enabled the PartOf mode you will need to disable this mode in order to disable QuickUnlock.
45+
- To disable QuickUnlock for a database just remove the QuickUnlock entry (or don't create it). If you have enabled the PartOf mode you will need to disable this mode in order to disable QuickUnlock.
4646

4747
OPTIONS
4848
-----
@@ -51,7 +51,7 @@ QuickUnlock integrates itself into the KeePass settings dialog.
5151
![alt tag](https://abload.de/img/quickunlock_optionsqgahv.jpg)
5252

5353
**QuickUnlock Mode**
54-
- 'QuickUnlock' Entry only (default): Enable QuickUnlock only if the custom entry is available in the root group of the database.
54+
- 'QuickUnlock' Entry only (default): Enable QuickUnlock only if the custom entry is available in a group of the database.
5555
- 'QuickUnlock' Entry / Part of Master Password: Enable QuickUnlock if a custom entry is available or the master password satisfies the needed requirements.
5656

5757
**QuickUnlock Settings**

keepass.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:
2-
KeePassQuickUnlock:2.1.0
2+
KeePassQuickUnlock:2.1.1
33
:

0 commit comments

Comments
 (0)