1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-04 03:08:57 +02:00
gnupg/agent
Werner Koch dc9b242628
agent: Create and use Token entries to track the display s/n.
* agent/divert-scd.c (linefeed_to_percent0A): New.
(ask_for_card): Add arg grip.  Read Token and Label items and use
them.
(divert_pksign, divert_pkdecrypt): Pass down grip.
* agent/findkey.c (write_extended_private_key): Add args serialno,
keyref, and dispserialno.  Writen Token item.
(agent_write_private_key): Add args serialno, keyref, and
dispserialno.
(read_key_file): Add arg r_keymeta.
(agent_keymeta_from_file): New.
(agent_write_shadow_key): Remove leading spaces from serialno and keyid.
* agent/protect-tool.c (agent_write_private_key): Ditto.
* agent/learncard.c (agent_handle_learn): Get DISPSERIALNO and pass to
agent_write_shadow_key.
* agent/command-ssh.c (card_key_available): Ditto.
--

GnuPG-bug-id: 6135

This patch backports some changes from master but also adds the
Display-S/N tracking.
2022-08-15 12:49:56 +02:00
..
agent.h agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +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: Ignore passphrase constraints for a generated passphrase. 2021-08-20 10:18:11 +02: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: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
command.c agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
cvt-openpgp.c agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02: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: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
genkey.c agent: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
gpg-agent-w32info.rc w32: Add manifest files to most binaries 2020-10-02 17:04:12 +02:00
gpg-agent.c agent: New option --no-user-trustlist and --sys-trustlist-name. 2022-07-27 17:02:29 +02: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: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02: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: Create and use Token entries to track the display s/n. 2022-08-15 12:49:56 +02:00
protect.c gpg: Provide better diagnostic for replaced card keys. 2020-11-13 16:06:59 +01:00
t-protect.c build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:37:34 +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: New option --no-user-trustlist and --sys-trustlist-name. 2022-07-27 17:02:29 +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