Skip to content

Add ifDevice feature to Auto-Open #2871

@PhilippC

Description

@PhilippC

Summary

KeeAutoExec functionality has been updated for Keepass2 and Keepass2Android. I suggest that the KeepassXC implementation is updated also to keep best compatibility.

Context

KeeAutoExec functionality has been added (#477), but KeeAutoExec has sinced received an update which I have requested and discussed with Dominic in https://sourceforge.net/p/keepass/discussion/329220/thread/509d35a111/?limit=250. (Note: I am the author of KP2A).

The main update is introducing support for an IfDevice field which allows to select which entries should be opened on which devices. This makes sense for local files and also provides good support for mobile apps where paths e.g. to Dropbox files look different. The feature is implemented in Keepass2Android's current beta (https://play.google.com/apps/testing/keepass2android.keepass2android) which will soon be released to stable.
Would be great if KeepassXC would support the IfDevice extension.

Desired Behavior

If an AutoOpen entry has a field "IfDevice", this field should be respected. Otherwise I am expecting people to complain if they add child databases in Keepass2Android which have the IfDevice field set because they should be restricted to the Android device.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions