Open
Description
If the entry name/ID you're looking up has parentheses in it, the get
method won't find it and you'll get a null response. For example, say you have a KeePass entry with the name "Email (work)"; the following call to .get()
will return None (in Python terms). I'm doing the lookups from a Python script I wrote; here's a minimalist version of the code I'm using.
import keepasshttp
association_key_filename = "association_key.bin"
entry_name = "Email (Work)"
kph = keepasshttp.KeePassHTTP(
storage = association_key_filename,
)
print(kph.get(entry_name))
Lookups for other entries work fine, and I was also able to look this entry up after I changed the name to "Email - Work". I'm including the versions of everything below, including my other plugins which I'm guessing aren't relevant, but I suppose one never knows. 🙂
Component | Version |
---|---|
KeePass | 2.44 |
KeePassHTTP | 1.8.4.2 |
KeePassRPC | 1.14.0.0 |
KeeTrayTOTP | 0.108.0.0 |
Metadata
Metadata
Assignees
Labels
No labels