1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-30 19:58:44 +01:00
gnupg/agent
Werner Koch d03d0add12
agent: Add optional ecdh parameter arg to KEYTOCARD.
* agent/command.c (KEYTOCARD_TIMESTAMP_FORMAT): Remove and use format
string direct.
(cmd_keytocard): Change timestamp to an u64 and use the new u64 parser
functions.  Use split_fields.  Add ecdh parameter stuff.  Take the
default timestamp from the keyfile.
* agent/findkey.c (agent_key_from_file): Add arg timestamp and set it.
Adjust all callers.
--

This is backport from 2.4 but only the agent part.  We consider it
more relibale if we also pass the ECDH parameters along in 2.2.
Adding the timestamp stuff should not harm either.  Because we now
have the u64 time string parser, we use them here.

See-commit: c03ba92576
See-commit: c795be79c1
This patch is somewhat related to:
GnuPG-bug-id: 6378, 5538
2023-10-27 12:21:26 +02:00
..
agent.h agent: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02: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,w32: Fix resource leak for a process. 2023-05-26 10:08:07 +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: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02: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: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02: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 missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +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 missing manifests and set a requestedExecutionLevel. 2023-05-25 11:10:21 +02:00
pkdecrypt.c agent: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02:00
pksign.c agent: Add optional ecdh parameter arg to KEYTOCARD. 2023-10-27 12:21:26 +02: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: Add trustlist flag "de-vs". 2023-09-07 17:14:10 +02: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