diff options
author | Werner Koch <[email protected]> | 2023-03-27 09:37:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-03-27 09:47:28 +0000 |
commit | ab35d756d86438db124fa68aa633fe528ff8be50 (patch) | |
tree | c4d3ea165d795b897a0ac0df1fdd3144fefba1eb /sm/sign.c | |
parent | gpg: New command --quick-add-adsk (diff) | |
download | gnupg-ab35d756d86438db124fa68aa633fe528ff8be50.tar.gz gnupg-ab35d756d86438db124fa68aa633fe528ff8be50.zip |
agent: New option --restricted for PRESET_PASSPHRASE.
* agent/command.c (cmd_preset_passphrase): Add option.
* agent/preset-passphrase.c (oRestricted): New.
(opts): Add option --restricted.
(main): Set option.
(preset_passphrase): Use option.
--
We use a different cache for connections from the extra-socket.
However, with gpg-preset-passphrase is only able to preset a
passphrase into the regular cache. Further, a restricted connection
may not use PRESET_PASSPHRASE. To solve this we add an new option to
preset the passphrase into the "restricted" cache. For the
gpg-preset-passphrase tool we also add the option --restricted.
Note that this does not yet work with gpg-preset-passphrase --forget.
Diffstat (limited to 'sm/sign.c')
0 files changed, 0 insertions, 0 deletions