creds: permit interactive polkit auth when encrypting/decrypting through IPC

This commit is contained in:
Mike Yuan
2025-01-24 05:08:12 +09:00
committed by Yu Watanabe
parent f3ba767d6c
commit 0dc1716854
5 changed files with 30 additions and 11 deletions
+3 -1
View File
@@ -41,7 +41,7 @@ _systemd_creds() {
local verb comps mode i
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
local -A OPTS=(
[STANDALONE]='-h --help --version --no-pager --no-legend
[STANDALONE]='-h --help --version --no-pager --no-legend --no-ask-password
-H -T --system --user -p --pretty --allow-null'
[ARG]='--tpm2-device
--tpm2-device-key
@@ -77,6 +77,7 @@ _systemd_creds() {
--version
--no-pager
--no-legend
--no-ask-password
--uid
--with-key
-H
@@ -94,6 +95,7 @@ _systemd_creds() {
--version
--no-pager
--no-legend
--no-ask-password
--uid
--tpm2-device
--tpm2-pcrs