mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Support a confirm flag for ssh.
This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
This commit is contained in:
parent
69f8a7f15d
commit
d479906991
7 changed files with 217 additions and 66 deletions
|
@ -27,13 +27,6 @@
|
|||
#include "util.h"
|
||||
#include "ssh-utils.h"
|
||||
|
||||
#define pass() do { ; } while(0)
|
||||
#define fail(a,e) \
|
||||
do { fprintf (stderr, "%s:%d: test %d failed (%s)\n", \
|
||||
__FILE__,__LINE__, (a), gpg_strerror (e)); \
|
||||
exit (1); \
|
||||
} while(0)
|
||||
|
||||
|
||||
static struct { const char *key; const char *fpr; } sample_keys[] = {
|
||||
{ "(protected-private-key "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue