keepassxreboot/keepassxc

Pass command line credentials and key files to single instance

開放

#2,089 建立於 2018年7月3日

 (8 則留言) (13 個反應) (1 位負責人)C++ (1,797 個分叉)batch import
help wanted

倉庫指標

星標
 (27,139 顆星)
PR 合併指標
 (平均合併 19天 12小時) (30 天內合併 17 個 PR)

描述

It would be very nice to have a way to automatically unlock a database after unlocking the session. Especially for cases where the setting "Close database when session is locked" is turned on.

Expected Behavior

Provide a way to open/unlock a database of an running instance of keepassxc, similar to the method used for autostart on login (which on gnome/linux would be something like:"secret-tool lookup 'keepass' 'passwords' | keepassxc --pw-stdin path/to/database.kdbx")

Current Behavior

If I try to open a database (with the above --pw-stdin command) when an instance of keepassxc is already running, I just get "Another instance of KeePassXC is already running"

Possible Solution

Provide a way of sending a password (for a closed database) to a running instance of keepassxc via the command line

Steps to Reproduce (for bugs)

  1. start keepassxc with closed database (such as you would have after automatically locking the session of the os)
  2. try to open a database from the command line with the --pw-stdin command
  3. You get a message at the terminal telling you that another instance of keepassxc is already running

Operating system: Arch Linux, Gnome

貢獻者指南