1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-03 02:58:57 +02:00
gnupg/agent
Werner Koch 4f754caad8
agent: Make --disable-extended-key-format a dummy option.
* agent/agent.h (opt): Remove enable_extended_key_format.
* agent/gpg-agent.c (enum cmd_and_opt_values): Turn
oDisableExtendedKeyFormat and oEnableExtendedKeyFormat into dummy
options.

* agent/protect.c (do_encryption): Remove arg use_ocb and
corresponding code.
(agent_protect): Ditto.  Change all callers.

* agent/command.c (cmd_readkey): Do not test for key availability here
but defer that agent_write_shadow_key.

* agent/findkey.c (agent_write_private_key): Simplify due to the
removal of disable-extended-key-format.
(write_extended_private_key): Fold into agent_write_private_key.
Remove the maybe_update arg.
(agent_write_shadow_key): Ditto.  Simplify.
--

GnuPG-bug-id: 6386
Backported-from-master: 6d792ae2eb
But with large changes to get 2.2 more aligned with master again.  This
is not finished; in particular the bug is not fixed; this comes wit
the next patch.
2023-03-13 12:28:10 +01:00
..
agent.h agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Make the request origin a part of the cache items. 2018-03-27 08:40:58 +02:00
call-pinentry.c agent: Add translatable text for Caps Lock hint 2023-03-07 14:08:38 +01:00
call-scd.c agent,scd: Make sure to set CONFIDENTIAL flag in Assuan. 2022-06-09 14:28:08 +09:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
command.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
cvt-openpgp.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
findkey.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
genkey.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
gpg-agent-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-agent.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
gpg-agent.w32-manifest.in w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
keyformat.txt agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
learncard.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
Makefile.am w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
pkdecrypt.c gpg: Provide better diagnostic for replaced card keys. 2020-11-13 16:06:59 +01:00
pksign.c gpg: Provide better diagnostic for replaced card keys. 2020-11-13 16:06:59 +01:00
preset-passphrase.c Backport of the new option parser from 2.3 2020-12-04 12:12:20 +01:00
protect-tool.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
protect.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
t-protect.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 12:28:10 +01:00
trans.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
trustlist.c agent: Allow trustlist on Windows in Unicode homedirs. 2022-11-14 07:16:34 +01:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00