mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Make use of the *_NAME etc macros.
Replace hardwired strings at many places with new macros from config.h and use the new strusage macro replacement feature. * common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn sentinels. * agent/command.c (cmd_import_key): Use asprintf to create the prompt.
This commit is contained in:
parent
798daaa1dd
commit
cc9a0b69b6
@ -2065,10 +2065,16 @@ cmd_import_key (assuan_context_t ctx, char *line)
|
|||||||
if (!agent_key_available (grip))
|
if (!agent_key_available (grip))
|
||||||
err = gpg_error (GPG_ERR_EEXIST);
|
err = gpg_error (GPG_ERR_EEXIST);
|
||||||
else
|
else
|
||||||
err = agent_ask_new_passphrase
|
{
|
||||||
(ctrl, _("Please enter the passphrase to protect the "
|
char *prompt = xtryasprintf
|
||||||
"imported object within the GnuPG system."),
|
(_("Please enter the passphrase to protect the "
|
||||||
&passphrase);
|
"imported object within the %s system."), GNUPG_NAME);
|
||||||
|
if (!prompt)
|
||||||
|
err = gpg_error_from_syserror ();
|
||||||
|
else
|
||||||
|
err = agent_ask_new_passphrase (ctrl, prompt, &passphrase);
|
||||||
|
xfree (prompt);
|
||||||
|
}
|
||||||
if (err)
|
if (err)
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
|
@ -335,7 +335,7 @@ my_strusage (int level)
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpg-agent (GnuPG)";
|
case 11: p = "@GPG_AGENT@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -351,10 +351,10 @@ my_strusage (int level)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: gpg-agent [options] (-h for help)");
|
case 40: p = _("Usage: @GPG_AGENT@ [options] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41: p = _("Syntax: gpg-agent [options] [command [args]]\n"
|
case 41: p = _("Syntax: @GPG_AGENT@ [options] [command [args]]\n"
|
||||||
"Secret key management for GnuPG\n");
|
"Secret key management for @GNUPG@\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: p = NULL;
|
default: p = NULL;
|
||||||
@ -608,7 +608,7 @@ main (int argc, char **argv )
|
|||||||
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
||||||
when adding any stuff between here and the call to INIT_SECMEM()
|
when adding any stuff between here and the call to INIT_SECMEM()
|
||||||
somewhere after the option parsing */
|
somewhere after the option parsing */
|
||||||
log_set_prefix ("gpg-agent", JNLIB_LOG_WITH_PREFIX|JNLIB_LOG_WITH_PID);
|
log_set_prefix (GPG_AGENT_NAME, JNLIB_LOG_WITH_PREFIX|JNLIB_LOG_WITH_PID);
|
||||||
|
|
||||||
/* Make sure that our subsystems are ready. */
|
/* Make sure that our subsystems are ready. */
|
||||||
i18n_init ();
|
i18n_init ();
|
||||||
@ -1044,10 +1044,10 @@ main (int argc, char **argv )
|
|||||||
|
|
||||||
/* Create the sockets. */
|
/* Create the sockets. */
|
||||||
socket_name = create_socket_name
|
socket_name = create_socket_name
|
||||||
("S.gpg-agent", "gpg-XXXXXX/S.gpg-agent");
|
(GPG_AGENT_SOCK_NAME, "gpg-XXXXXX/"GPG_AGENT_SOCK_NAME);
|
||||||
if (opt.ssh_support)
|
if (opt.ssh_support)
|
||||||
socket_name_ssh = create_socket_name
|
socket_name_ssh = create_socket_name
|
||||||
("S.gpg-agent.ssh", "gpg-XXXXXX/S.gpg-agent.ssh");
|
(GPG_AGENT_SSH_SOCK_NAME, "gpg-XXXXXX/"GPG_AGENT_SSH_SOCK_NAME);
|
||||||
|
|
||||||
fd = create_server_socket (socket_name, 0, &socket_nonce);
|
fd = create_server_socket (socket_name, 0, &socket_nonce);
|
||||||
if (opt.ssh_support)
|
if (opt.ssh_support)
|
||||||
@ -1064,7 +1064,8 @@ main (int argc, char **argv )
|
|||||||
fflush (NULL);
|
fflush (NULL);
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
pid = getpid ();
|
pid = getpid ();
|
||||||
es_printf ("set GPG_AGENT_INFO=%s;%lu;1\n", socket_name, (ulong)pid);
|
es_printf ("set %s=%s;%lu;1\n",
|
||||||
|
GPG_AGENT_INFO_NAME, socket_name, (ulong)pid);
|
||||||
#else /*!HAVE_W32_SYSTEM*/
|
#else /*!HAVE_W32_SYSTEM*/
|
||||||
pid = fork ();
|
pid = fork ();
|
||||||
if (pid == (pid_t)-1)
|
if (pid == (pid_t)-1)
|
||||||
@ -1095,8 +1096,8 @@ main (int argc, char **argv )
|
|||||||
#endif /*HAVE_SIGPROCMASK*/
|
#endif /*HAVE_SIGPROCMASK*/
|
||||||
|
|
||||||
/* Create the info string: <name>:<pid>:<protocol_version> */
|
/* Create the info string: <name>:<pid>:<protocol_version> */
|
||||||
if (asprintf (&infostr, "GPG_AGENT_INFO=%s:%lu:1",
|
if (asprintf (&infostr, "%s=%s:%lu:1",
|
||||||
socket_name, (ulong)pid ) < 0)
|
GPG_AGENT_INFO_NAME, socket_name, (ulong)pid ) < 0)
|
||||||
{
|
{
|
||||||
log_error ("out of core\n");
|
log_error ("out of core\n");
|
||||||
kill (pid, SIGTERM);
|
kill (pid, SIGTERM);
|
||||||
@ -1193,7 +1194,7 @@ main (int argc, char **argv )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
es_printf ( "%s; export GPG_AGENT_INFO;\n", infostr);
|
es_printf ( "%s; export %s;\n", infostr, GPG_AGENT_INFO_NAME);
|
||||||
if (opt.ssh_support)
|
if (opt.ssh_support)
|
||||||
{
|
{
|
||||||
es_printf ("%s; export SSH_AUTH_SOCK;\n",
|
es_printf ("%s; export SSH_AUTH_SOCK;\n",
|
||||||
@ -2190,7 +2191,7 @@ check_own_socket (void)
|
|||||||
if (check_own_socket_running || shutdown_pending)
|
if (check_own_socket_running || shutdown_pending)
|
||||||
return; /* Still running or already shutting down. */
|
return; /* Still running or already shutting down. */
|
||||||
|
|
||||||
sockname = make_filename (opt.homedir, "S.gpg-agent", NULL);
|
sockname = make_filename (opt.homedir, GPG_AGENT_SOCK_NAME, NULL);
|
||||||
if (!sockname)
|
if (!sockname)
|
||||||
return; /* Out of memory. */
|
return; /* Out of memory. */
|
||||||
|
|
||||||
@ -2219,7 +2220,7 @@ check_for_running_agent (int silent, int mode)
|
|||||||
|
|
||||||
if (!mode)
|
if (!mode)
|
||||||
{
|
{
|
||||||
infostr = getenv ("GPG_AGENT_INFO");
|
infostr = getenv (GPG_AGENT_INFO_NAME);
|
||||||
if (!infostr || !*infostr)
|
if (!infostr || !*infostr)
|
||||||
{
|
{
|
||||||
if (!check_for_running_agent (silent, 1))
|
if (!check_for_running_agent (silent, 1))
|
||||||
@ -2236,7 +2237,8 @@ check_for_running_agent (int silent, int mode)
|
|||||||
if (!check_for_running_agent (silent, 1))
|
if (!check_for_running_agent (silent, 1))
|
||||||
return 0; /* Okay, its running on the standard socket. */
|
return 0; /* Okay, its running on the standard socket. */
|
||||||
if (!silent)
|
if (!silent)
|
||||||
log_error (_("malformed GPG_AGENT_INFO environment variable\n"));
|
log_error (_("malformed %s environment variable\n"),
|
||||||
|
GPG_AGENT_INFO_NAME);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2258,7 +2260,7 @@ check_for_running_agent (int silent, int mode)
|
|||||||
}
|
}
|
||||||
else /* MODE != 0 */
|
else /* MODE != 0 */
|
||||||
{
|
{
|
||||||
infostr = make_filename (opt.homedir, "S.gpg-agent", NULL);
|
infostr = make_filename (opt.homedir, GPG_AGENT_SOCK_NAME, NULL);
|
||||||
pid = (pid_t)(-1);
|
pid = (pid_t)(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ my_strusage (int level)
|
|||||||
const char *p;
|
const char *p;
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpg-preset-passphrase (GnuPG)";
|
case 11: p = "gpg-preset-passphrase (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -245,7 +245,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
/* Tell simple-pwquery about the the standard socket name. */
|
/* Tell simple-pwquery about the the standard socket name. */
|
||||||
{
|
{
|
||||||
char *tmp = make_filename (opt_homedir, "S.gpg-agent", NULL);
|
char *tmp = make_filename (opt_homedir, GPG_AGENT_SOCK_NAME, NULL);
|
||||||
simple_pw_set_socket (tmp);
|
simple_pw_set_socket (tmp);
|
||||||
xfree (tmp);
|
xfree (tmp);
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ my_strusage (int level)
|
|||||||
const char *p;
|
const char *p;
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpg-protect-tool (GnuPG)";
|
case 11: p = "gpg-protect-tool (" GNUPG_NAME ")";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -233,7 +233,7 @@ handle_taskbar (void *ctx)
|
|||||||
nid.hWnd = glob_hwnd;
|
nid.hWnd = glob_hwnd;
|
||||||
nid.uID = 1;
|
nid.uID = 1;
|
||||||
nid.hIcon = LoadIcon (glob_hinst, MAKEINTRESOURCE (1));
|
nid.hIcon = LoadIcon (glob_hinst, MAKEINTRESOURCE (1));
|
||||||
mem2str (nid.szTip, "GnuPG Agent version "PACKAGE_VERSION,
|
mem2str (nid.szTip, GPG_AGENT_NAME " version "PACKAGE_VERSION,
|
||||||
sizeof nid.szTip);
|
sizeof nid.szTip);
|
||||||
Shell_NotifyIcon (NIM_ADD, &nid);
|
Shell_NotifyIcon (NIM_ADD, &nid);
|
||||||
DestroyIcon (nid.hIcon);
|
DestroyIcon (nid.hIcon);
|
||||||
|
@ -265,9 +265,9 @@ lock_spawning (lock_spawn_t *lock, const char *homedir, const char *name,
|
|||||||
|
|
||||||
*lock = CreateMutexW
|
*lock = CreateMutexW
|
||||||
(NULL, FALSE,
|
(NULL, FALSE,
|
||||||
!strcmp (name, "agent")? L"GnuPG_spawn_agent_sentinel":
|
!strcmp (name, "agent")? L"spawn_"GNUPG_NAME"_agent_sentinel":
|
||||||
!strcmp (name, "dirmngr")? L"GnuPG_spawn_dirmngr_sentinel":
|
!strcmp (name, "dirmngr")? L"spawn_"GNUPG_NAME"_dirmngr_sentinel":
|
||||||
/* */ L"GnuPG_spawn_unknown_sentinel");
|
/* */ L"spawn_"GNUPG_NAME"_unknown_sentinel");
|
||||||
if (!*lock)
|
if (!*lock)
|
||||||
{
|
{
|
||||||
log_error ("failed to create the spawn_%s mutex: %s\n",
|
log_error ("failed to create the spawn_%s mutex: %s\n",
|
||||||
@ -378,7 +378,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
restart:
|
restart:
|
||||||
infostr = force_pipe_server? NULL : getenv ("GPG_AGENT_INFO");
|
infostr = force_pipe_server? NULL : getenv (GPG_AGENT_INFO_NAME);
|
||||||
if (!infostr || !*infostr)
|
if (!infostr || !*infostr)
|
||||||
{
|
{
|
||||||
char *sockname;
|
char *sockname;
|
||||||
@ -388,7 +388,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
|
|||||||
|
|
||||||
/* First check whether we can connect at the standard
|
/* First check whether we can connect at the standard
|
||||||
socket. */
|
socket. */
|
||||||
sockname = make_filename (homedir, "S.gpg-agent", NULL);
|
sockname = make_filename (homedir, GPG_AGENT_SOCK_NAME, NULL);
|
||||||
err = assuan_socket_connect (ctx, sockname, 0, 0);
|
err = assuan_socket_connect (ctx, sockname, 0, 0);
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
@ -517,7 +517,8 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
|
|||||||
infostr = xstrdup (infostr);
|
infostr = xstrdup (infostr);
|
||||||
if ( !(p = strchr (infostr, PATHSEP_C)) || p == infostr)
|
if ( !(p = strchr (infostr, PATHSEP_C)) || p == infostr)
|
||||||
{
|
{
|
||||||
log_error (_("malformed GPG_AGENT_INFO environment variable\n"));
|
log_error (_("malformed %s environment variable\n"),
|
||||||
|
GPG_AGENT_INFO_NAME);
|
||||||
xfree (infostr);
|
xfree (infostr);
|
||||||
force_pipe_server = 1;
|
force_pipe_server = 1;
|
||||||
goto restart;
|
goto restart;
|
||||||
|
@ -1187,7 +1187,7 @@ audit_print_result (audit_ctx_t ctx, estream_t out, int use_html)
|
|||||||
clear_helptags (ctx);
|
clear_helptags (ctx);
|
||||||
|
|
||||||
if (use_html)
|
if (use_html)
|
||||||
es_fputs ("<div class=\"GnuPGAuditLog\">\n", ctx->outstream);
|
es_fputs ("<div class=\"" GNUPG_NAME "AuditLog\">\n", ctx->outstream);
|
||||||
|
|
||||||
if (!ctx->log || !ctx->logused)
|
if (!ctx->log || !ctx->logused)
|
||||||
{
|
{
|
||||||
|
@ -92,6 +92,6 @@ gnupg_rl_initialize (void)
|
|||||||
cleanup_after_signal,
|
cleanup_after_signal,
|
||||||
readline,
|
readline,
|
||||||
add_history);
|
add_history);
|
||||||
rl_readline_name = "GnuPG";
|
rl_readline_name = GNUPG_NAME;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,8 @@ default_homedir (void)
|
|||||||
{
|
{
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
tmp = read_w32_registry_string (NULL, "Software\\GNU\\GnuPG",
|
tmp = read_w32_registry_string (NULL,
|
||||||
|
"Software\\GNU\\" GNUPG_NAME,
|
||||||
"HomeDir");
|
"HomeDir");
|
||||||
if (tmp && !*tmp)
|
if (tmp && !*tmp)
|
||||||
{
|
{
|
||||||
@ -585,7 +586,7 @@ dirmngr_socket_name (void)
|
|||||||
s1 = s1buf;
|
s1 = s1buf;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
s2 = DIRSEP_S "S.dirmngr";
|
s2 = DIRSEP_S DIRMNGR_SOCK_NAME;
|
||||||
name = xmalloc (strlen (s1) + strlen (s2) + 1);
|
name = xmalloc (strlen (s1) + strlen (s2) + 1);
|
||||||
strcpy (stpcpy (name, s1), s2);
|
strcpy (stpcpy (name, s1), s2);
|
||||||
for (p=name; *p; p++)
|
for (p=name; *p; p++)
|
||||||
@ -594,7 +595,7 @@ dirmngr_socket_name (void)
|
|||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
#else /*!HAVE_W32_SYSTEM*/
|
#else /*!HAVE_W32_SYSTEM*/
|
||||||
return GNUPG_LOCALSTATEDIR "/run/" PACKAGE_NAME "/S.dirmngr";
|
return GNUPG_LOCALSTATEDIR "/run/" PACKAGE_NAME "/"DIRMNGR_SOCK_NAME;
|
||||||
#endif /*!HAVE_W32_SYSTEM*/
|
#endif /*!HAVE_W32_SYSTEM*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -639,7 +640,7 @@ gnupg_module_name (int which)
|
|||||||
#ifdef GNUPG_DEFAULT_DIRMNGR
|
#ifdef GNUPG_DEFAULT_DIRMNGR
|
||||||
return GNUPG_DEFAULT_DIRMNGR;
|
return GNUPG_DEFAULT_DIRMNGR;
|
||||||
#else
|
#else
|
||||||
X(bindir, "dirmngr");
|
X(bindir, DIRMNGR_NAME);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case GNUPG_MODULE_NAME_PROTECT_TOOL:
|
case GNUPG_MODULE_NAME_PROTECT_TOOL:
|
||||||
|
@ -460,7 +460,7 @@ set_file_fd (const char *name, int fd)
|
|||||||
{
|
{
|
||||||
HANDLE hd;
|
HANDLE hd;
|
||||||
|
|
||||||
ActivateDevice (L"Drivers\\GnuPG_Log", 0);
|
ActivateDevice (L"Drivers\\"GNUPG_NAME"_Log", 0);
|
||||||
/* Ignore a filename and write the debug output to the GPG2:
|
/* Ignore a filename and write the debug output to the GPG2:
|
||||||
device. */
|
device. */
|
||||||
hd = CreateFile (L"GPG2:", GENERIC_WRITE,
|
hd = CreateFile (L"GPG2:", GENERIC_WRITE,
|
||||||
@ -636,7 +636,7 @@ do_logv (int level, int ignore_arg_ptr, const char *fmt, va_list arg_ptr)
|
|||||||
|
|
||||||
tmp = (no_registry
|
tmp = (no_registry
|
||||||
? NULL
|
? NULL
|
||||||
: read_w32_registry_string (NULL, "Software\\GNU\\GnuPG",
|
: read_w32_registry_string (NULL, "Software\\GNU\\"GNUPG_NAME,
|
||||||
"DefaultLogFile"));
|
"DefaultLogFile"));
|
||||||
log_set_file (tmp && *tmp? tmp : NULL);
|
log_set_file (tmp && *tmp? tmp : NULL);
|
||||||
jnlib_free (tmp);
|
jnlib_free (tmp);
|
||||||
|
@ -329,7 +329,7 @@ agent_open (int *rfd)
|
|||||||
int nread;
|
int nread;
|
||||||
|
|
||||||
*rfd = -1;
|
*rfd = -1;
|
||||||
infostr = getenv ( "GPG_AGENT_INFO" );
|
infostr = getenv (GPG_AGENT_INFO_NAME);
|
||||||
if ( !infostr || !*infostr )
|
if ( !infostr || !*infostr )
|
||||||
infostr = default_gpg_agent_info;
|
infostr = default_gpg_agent_info;
|
||||||
if ( !infostr || !*infostr )
|
if ( !infostr || !*infostr )
|
||||||
@ -349,7 +349,7 @@ agent_open (int *rfd)
|
|||||||
|| (p-infostr)+1 >= sizeof client_addr.sun_path )
|
|| (p-infostr)+1 >= sizeof client_addr.sun_path )
|
||||||
{
|
{
|
||||||
#ifdef SPWQ_USE_LOGGING
|
#ifdef SPWQ_USE_LOGGING
|
||||||
log_error ( _("malformed GPG_AGENT_INFO environment variable\n"));
|
log_error (_("malformed %s environment variable\n"), GPG_AGENT_INFO_NAME);
|
||||||
#endif
|
#endif
|
||||||
return SPWQ_NO_AGENT;
|
return SPWQ_NO_AGENT;
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,7 @@ my_strusage (int level)
|
|||||||
|
|
||||||
switch(level)
|
switch(level)
|
||||||
{
|
{
|
||||||
case 11: p = "dirmngr-client (GnuPG)";
|
case 11: p = "dirmngr-client (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -440,7 +440,7 @@ start_dirmngr (int only_daemon)
|
|||||||
assuan_context_t ctx;
|
assuan_context_t ctx;
|
||||||
int try_default = 0;
|
int try_default = 0;
|
||||||
|
|
||||||
infostr = opt.force_pipe_server? NULL : getenv ("DIRMNGR_INFO");
|
infostr = opt.force_pipe_server? NULL : getenv (DIRMNGR_INFO_NAME);
|
||||||
if (only_daemon && (!infostr || !*infostr))
|
if (only_daemon && (!infostr || !*infostr))
|
||||||
{
|
{
|
||||||
infostr = xstrdup (dirmngr_socket_name ());
|
infostr = xstrdup (dirmngr_socket_name ());
|
||||||
@ -502,7 +502,8 @@ start_dirmngr (int only_daemon)
|
|||||||
{
|
{
|
||||||
if ( !(p = strchr (infostr, ':')) || p == infostr)
|
if ( !(p = strchr (infostr, ':')) || p == infostr)
|
||||||
{
|
{
|
||||||
log_error (_("malformed DIRMNGR_INFO environment variable\n"));
|
log_error (_("malformed %s environment variable\n"),
|
||||||
|
DIRMNGR_INFO_NAME);
|
||||||
xfree (infostr);
|
xfree (infostr);
|
||||||
if (only_daemon)
|
if (only_daemon)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -287,7 +287,7 @@ my_strusage( int level )
|
|||||||
const char *p;
|
const char *p;
|
||||||
switch ( level )
|
switch ( level )
|
||||||
{
|
{
|
||||||
case 11: p = "dirmngr (GnuPG)";
|
case 11: p = "@DIRMNGR@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -297,10 +297,10 @@ my_strusage( int level )
|
|||||||
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
||||||
case 49: p = PACKAGE_BUGREPORT; break;
|
case 49: p = PACKAGE_BUGREPORT; break;
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: dirmngr [options] (-h for help)");
|
case 40: p = _("Usage: @DIRMNGR@ [options] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41: p = _("Syntax: dirmngr [options] [command [args]]\n"
|
case 41: p = _("Syntax: @DIRMNGR@ [options] [command [args]]\n"
|
||||||
"LDAP and OCSP access for GnuPG\n");
|
"LDAP and OCSP access for @GNUPG@\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: p = NULL;
|
default: p = NULL;
|
||||||
@ -387,7 +387,7 @@ set_debug (void)
|
|||||||
static void
|
static void
|
||||||
wrong_args (const char *text)
|
wrong_args (const char *text)
|
||||||
{
|
{
|
||||||
es_fputs (_("usage: dirmngr [options] "), es_stderr);
|
es_fprintf (es_stderr, _("usage: %s [options] "), DIRMNGR_NAME);
|
||||||
es_fputs (text, es_stderr);
|
es_fputs (text, es_stderr);
|
||||||
es_putc ('\n', es_stderr);
|
es_putc ('\n', es_stderr);
|
||||||
dirmngr_exit (2);
|
dirmngr_exit (2);
|
||||||
@ -600,7 +600,7 @@ main (int argc, char **argv)
|
|||||||
#endif /*USE_W32_SERVICE*/
|
#endif /*USE_W32_SERVICE*/
|
||||||
|
|
||||||
set_strusage (my_strusage);
|
set_strusage (my_strusage);
|
||||||
log_set_prefix ("dirmngr", 1|4);
|
log_set_prefix (DIRMNGR_NAME, 1|4);
|
||||||
|
|
||||||
/* Make sure that our subsystems are ready. */
|
/* Make sure that our subsystems are ready. */
|
||||||
i18n_init ();
|
i18n_init ();
|
||||||
@ -719,7 +719,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (default_config)
|
if (default_config)
|
||||||
configname = make_filename (opt.homedir, "dirmngr.conf", NULL );
|
configname = make_filename (opt.homedir, DIRMNGR_NAME".conf", NULL );
|
||||||
|
|
||||||
argc = orig_argc;
|
argc = orig_argc;
|
||||||
argv = orig_argv;
|
argv = orig_argv;
|
||||||
@ -857,12 +857,12 @@ main (int argc, char **argv)
|
|||||||
log_info (_("NOTE: '%s' is not considered an option\n"), argv[i]);
|
log_info (_("NOTE: '%s' is not considered an option\n"), argv[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!access ("/etc/dirmngr", F_OK) && !strncmp (opt.homedir, "/etc/", 5))
|
if (!access ("/etc/"DIRMNGR_NAME, F_OK) && !strncmp (opt.homedir, "/etc/", 5))
|
||||||
log_info
|
log_info
|
||||||
("NOTE: DirMngr is now a proper part of GnuPG. The configuration and"
|
("NOTE: DirMngr is now a proper part of %s. The configuration and"
|
||||||
" other directory names changed. Please check that no other version"
|
" other directory names changed. Please check that no other version"
|
||||||
" of dirmngr is still installed. To disable this warning, remove the"
|
" of dirmngr is still installed. To disable this warning, remove the"
|
||||||
" directory '/etc/dirmngr'.\n");
|
" directory '/etc/dirmngr'.\n", GNUPG_NAME);
|
||||||
|
|
||||||
if (gnupg_faked_time_p ())
|
if (gnupg_faked_time_p ())
|
||||||
{
|
{
|
||||||
@ -1017,7 +1017,8 @@ main (int argc, char **argv)
|
|||||||
start of the dirmngr. */
|
start of the dirmngr. */
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
pid = getpid ();
|
pid = getpid ();
|
||||||
es_printf ("set DIRMNGR_INFO=%s;%lu;1\n", socket_name, (ulong) pid);
|
es_printf ("set %s=%s;%lu;1\n",
|
||||||
|
DIRMNGR_INFO_NAME, socket_name, (ulong) pid);
|
||||||
#else
|
#else
|
||||||
pid = fork();
|
pid = fork();
|
||||||
if (pid == (pid_t)-1)
|
if (pid == (pid_t)-1)
|
||||||
@ -1037,8 +1038,8 @@ main (int argc, char **argv)
|
|||||||
close (fd);
|
close (fd);
|
||||||
|
|
||||||
/* Create the info string: <name>:<pid>:<protocol_version> */
|
/* Create the info string: <name>:<pid>:<protocol_version> */
|
||||||
if (asprintf (&infostr, "DIRMNGR_INFO=%s:%lu:1",
|
if (asprintf (&infostr, "%s=%s:%lu:1",
|
||||||
socket_name, (ulong)pid ) < 0)
|
DIRMNGR_INFO_NAME, socket_name, (ulong)pid ) < 0)
|
||||||
{
|
{
|
||||||
log_error (_("out of core\n"));
|
log_error (_("out of core\n"));
|
||||||
kill (pid, SIGTERM);
|
kill (pid, SIGTERM);
|
||||||
@ -1053,7 +1054,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
es_printf ( "%s; export DIRMNGR_INFO;\n", infostr);
|
es_printf ( "%s; export %s;\n", infostr, DIRMNGR_INFO_NAME);
|
||||||
}
|
}
|
||||||
free (infostr);
|
free (infostr);
|
||||||
exit (0);
|
exit (0);
|
||||||
|
@ -191,7 +191,7 @@ my_strusage (int level)
|
|||||||
|
|
||||||
switch(level)
|
switch(level)
|
||||||
{
|
{
|
||||||
case 11: p = "dirmngr_ldap (GnuPG)";
|
case 11: p = "dirmngr_ldap (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -1079,7 +1079,7 @@ armor_filter( void *opaque, int control,
|
|||||||
iobuf_writestr(a,afx->eol);
|
iobuf_writestr(a,afx->eol);
|
||||||
if( !opt.no_version )
|
if( !opt.no_version )
|
||||||
{
|
{
|
||||||
iobuf_writestr(a, "Version: GnuPG v" VERSION " ("
|
iobuf_writestr(a, "Version: "GNUPG_NAME" v" VERSION " ("
|
||||||
PRINTABLE_OS_NAME ")" );
|
PRINTABLE_OS_NAME ")" );
|
||||||
iobuf_writestr(a,afx->eol);
|
iobuf_writestr(a,afx->eol);
|
||||||
}
|
}
|
||||||
|
18
g10/gpg.c
18
g10/gpg.c
@ -819,7 +819,7 @@ my_strusage( int level )
|
|||||||
const char *p;
|
const char *p;
|
||||||
|
|
||||||
switch( level ) {
|
switch( level ) {
|
||||||
case 11: p = "gpg (GnuPG)";
|
case 11: p = "@GPG@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -845,10 +845,10 @@ my_strusage( int level )
|
|||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p =
|
case 40: p =
|
||||||
_("Usage: gpg [options] [files] (-h for help)");
|
_("Usage: @GPG@ [options] [files] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41: p =
|
case 41: p =
|
||||||
_("Syntax: gpg [options] [files]\n"
|
_("Syntax: @GPG@ [options] [files]\n"
|
||||||
"Sign, check, encrypt or decrypt\n"
|
"Sign, check, encrypt or decrypt\n"
|
||||||
"Default operation depends on the input data\n");
|
"Default operation depends on the input data\n");
|
||||||
break;
|
break;
|
||||||
@ -1833,8 +1833,8 @@ char *
|
|||||||
get_default_configname (void)
|
get_default_configname (void)
|
||||||
{
|
{
|
||||||
char *configname = NULL;
|
char *configname = NULL;
|
||||||
char *name = xstrdup ("gpg" EXTSEP_S "conf-" SAFE_VERSION);
|
char *name = xstrdup (GPG_NAME EXTSEP_S "conf-" SAFE_VERSION);
|
||||||
char *ver = &name[strlen ("gpg" EXTSEP_S "conf-")];
|
char *ver = &name[strlen (GPG_NAME EXTSEP_S "conf-")];
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
@ -1860,7 +1860,7 @@ get_default_configname (void)
|
|||||||
xfree(name);
|
xfree(name);
|
||||||
|
|
||||||
if (! configname)
|
if (! configname)
|
||||||
configname = make_filename (opt.homedir, "gpg" EXTSEP_S "conf", NULL);
|
configname = make_filename (opt.homedir, GPG_NAME EXTSEP_S "conf", NULL);
|
||||||
if (! access (configname, R_OK))
|
if (! access (configname, R_OK))
|
||||||
{
|
{
|
||||||
/* Print a warning when both config files are present. */
|
/* Print a warning when both config files are present. */
|
||||||
@ -1942,12 +1942,12 @@ main (int argc, char **argv)
|
|||||||
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
||||||
when adding any stuff between here and the call to
|
when adding any stuff between here and the call to
|
||||||
secmem_init() somewhere after the option parsing. */
|
secmem_init() somewhere after the option parsing. */
|
||||||
gnupg_reopen_std ("gpg");
|
gnupg_reopen_std (GPG_NAME);
|
||||||
trap_unaligned ();
|
trap_unaligned ();
|
||||||
gnupg_rl_initialize ();
|
gnupg_rl_initialize ();
|
||||||
set_strusage (my_strusage);
|
set_strusage (my_strusage);
|
||||||
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
||||||
log_set_prefix ("gpg", 1);
|
log_set_prefix (GPG_NAME, 1);
|
||||||
|
|
||||||
/* Make sure that our subsystems are ready. */
|
/* Make sure that our subsystems are ready. */
|
||||||
i18n_init();
|
i18n_init();
|
||||||
@ -3418,7 +3418,7 @@ main (int argc, char **argv)
|
|||||||
|| (cmd != aDeArmor && cmd != aEnArmor && cmd != aGPGConfTest) )
|
|| (cmd != aDeArmor && cmd != aEnArmor && cmd != aGPGConfTest) )
|
||||||
{
|
{
|
||||||
if (!nrings || default_keyring) /* Add default ring. */
|
if (!nrings || default_keyring) /* Add default ring. */
|
||||||
keydb_add_resource ("pubring" EXTSEP_S "gpg",
|
keydb_add_resource ("pubring" EXTSEP_S GPGEXT_GPG,
|
||||||
KEYDB_RESOURCE_FLAG_DEFAULT);
|
KEYDB_RESOURCE_FLAG_DEFAULT);
|
||||||
for (sl = nrings; sl; sl = sl->next )
|
for (sl = nrings; sl; sl = sl->next )
|
||||||
keydb_add_resource (sl->d, sl->flags);
|
keydb_add_resource (sl->d, sl->flags);
|
||||||
|
@ -108,7 +108,7 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpgv (GnuPG)";
|
case 11: p = "@GPG@v (GnuPG)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -198,7 +198,7 @@ main( int argc, char **argv )
|
|||||||
|
|
||||||
/* Note: We open all keyrings in read-only mode. */
|
/* Note: We open all keyrings in read-only mode. */
|
||||||
if (!nrings) /* No keyring given: use default one. */
|
if (!nrings) /* No keyring given: use default one. */
|
||||||
keydb_add_resource ("trustedkeys" EXTSEP_S "gpg",
|
keydb_add_resource ("trustedkeys" EXTSEP_S GPGEXT_GPG,
|
||||||
KEYDB_RESOURCE_FLAG_READONLY);
|
KEYDB_RESOURCE_FLAG_READONLY);
|
||||||
for (sl = nrings; sl; sl = sl->next)
|
for (sl = nrings; sl; sl = sl->next)
|
||||||
keydb_add_resource (sl->d, KEYDB_RESOURCE_FLAG_READONLY);
|
keydb_add_resource (sl->d, KEYDB_RESOURCE_FLAG_READONLY);
|
||||||
|
@ -2088,7 +2088,7 @@ ask_curve (void)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
curves[idx].available = 1;
|
curves[idx].available = 1;
|
||||||
tty_printf (_(" (%d) %s\n"), idx + 1,
|
tty_printf (" (%d) %s\n", idx + 1,
|
||||||
curves[idx].pretty_name?
|
curves[idx].pretty_name?
|
||||||
curves[idx].pretty_name:curves[idx].name);
|
curves[idx].pretty_name:curves[idx].name);
|
||||||
}
|
}
|
||||||
@ -2337,9 +2337,9 @@ ask_user_id (int mode, KBNODE keyblock)
|
|||||||
{
|
{
|
||||||
/* TRANSLATORS: This is the new string telling the user what
|
/* TRANSLATORS: This is the new string telling the user what
|
||||||
gpg is now going to do (i.e. ask for the parts of the user
|
gpg is now going to do (i.e. ask for the parts of the user
|
||||||
ID). Note that if you do not tyranslated this string, a
|
ID). Note that if you do not translate this string, a
|
||||||
different string will be used used, which might still have
|
different string will be used used, which might still have
|
||||||
a correct transaltion. */
|
a correct translation. */
|
||||||
const char *s1 =
|
const char *s1 =
|
||||||
N_("\n"
|
N_("\n"
|
||||||
"GnuPG needs to construct a user ID to identify your key.\n"
|
"GnuPG needs to construct a user ID to identify your key.\n"
|
||||||
|
@ -1171,7 +1171,7 @@ create_tmp_file (const char *template,
|
|||||||
* works. So we replace .gpg by .bak or .tmp
|
* works. So we replace .gpg by .bak or .tmp
|
||||||
*/
|
*/
|
||||||
if (strlen (template) > 4
|
if (strlen (template) > 4
|
||||||
&& !strcmp (template+strlen(template)-4, EXTSEP_S "gpg") )
|
&& !strcmp (template+strlen(template)-4, EXTSEP_S GPGEXT_GPG) )
|
||||||
{
|
{
|
||||||
bakfname = xmalloc (strlen (template) + 1);
|
bakfname = xmalloc (strlen (template) + 1);
|
||||||
strcpy (bakfname, template);
|
strcpy (bakfname, template);
|
||||||
|
@ -105,7 +105,7 @@ make_outfile_name( const char *iname )
|
|||||||
return xstrdup("-");
|
return xstrdup("-");
|
||||||
|
|
||||||
n = strlen(iname);
|
n = strlen(iname);
|
||||||
if( n > 4 && ( !CMP_FILENAME(iname+n-4, EXTSEP_S "gpg")
|
if( n > 4 && ( !CMP_FILENAME(iname+n-4, EXTSEP_S GPGEXT_GPG)
|
||||||
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "pgp")
|
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "pgp")
|
||||||
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "sig")
|
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "sig")
|
||||||
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "asc") ) ) {
|
|| !CMP_FILENAME(iname+n-4, EXTSEP_S "asc") ) ) {
|
||||||
@ -255,7 +255,8 @@ open_outfile (int inp_fd, const char *iname, int mode, iobuf_t *a)
|
|||||||
{
|
{
|
||||||
buf = xstrconcat (iname,
|
buf = xstrconcat (iname,
|
||||||
(mode==1 ? EXTSEP_S "asc" :
|
(mode==1 ? EXTSEP_S "asc" :
|
||||||
mode==2 ? EXTSEP_S "sig" : EXTSEP_S "gpg"),
|
mode==2 ? EXTSEP_S "sig" :
|
||||||
|
/* */ EXTSEP_S GPGEXT_GPG),
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
name = buf;
|
name = buf;
|
||||||
@ -369,7 +370,7 @@ copy_options_file( const char *destdir )
|
|||||||
xfree(fname);
|
xfree(fname);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
strcpy(stpcpy(fname, destdir), DIRSEP_S "gpg" EXTSEP_S "conf" );
|
strcpy(stpcpy(fname, destdir), DIRSEP_S GPGEXT_GPG EXTSEP_S "conf" );
|
||||||
oldmask=umask(077);
|
oldmask=umask(077);
|
||||||
if ( is_secured_filename (fname) )
|
if ( is_secured_filename (fname) )
|
||||||
{
|
{
|
||||||
|
@ -709,7 +709,7 @@ gpg_server (ctrl_t ctrl)
|
|||||||
if (opt.verbose || opt.debug)
|
if (opt.verbose || opt.debug)
|
||||||
{
|
{
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
const char *s1 = getenv ("GPG_AGENT_INFO");
|
const char *s1 = getenv (GPG_AGENT_INFO_NAME);
|
||||||
|
|
||||||
tmp = xtryasprintf ("Home: %s\n"
|
tmp = xtryasprintf ("Home: %s\n"
|
||||||
"Config: %s\n"
|
"Config: %s\n"
|
||||||
|
@ -1241,7 +1241,8 @@ clearsign_file( const char *fname, strlist_t locusr, const char *outfile )
|
|||||||
|
|
||||||
if( opt.not_dash_escaped )
|
if( opt.not_dash_escaped )
|
||||||
iobuf_writestr( out,
|
iobuf_writestr( out,
|
||||||
"NotDashEscaped: You need GnuPG to verify this message" LF );
|
"NotDashEscaped: You need "GPG_NAME
|
||||||
|
" to verify this message" LF );
|
||||||
iobuf_writestr(out, LF );
|
iobuf_writestr(out, LF );
|
||||||
|
|
||||||
if ( gcry_md_open (&textmd, 0, 0) )
|
if ( gcry_md_open (&textmd, 0, 0) )
|
||||||
|
@ -491,7 +491,7 @@ tdbio_set_dbname( const char *new_dbname, int create )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(new_dbname==NULL)
|
if(new_dbname==NULL)
|
||||||
fname=make_filename(opt.homedir,"trustdb" EXTSEP_S "gpg", NULL);
|
fname=make_filename(opt.homedir,"trustdb" EXTSEP_S GPGEXT_GPG, NULL);
|
||||||
else if (*new_dbname != DIRSEP_C )
|
else if (*new_dbname != DIRSEP_C )
|
||||||
{
|
{
|
||||||
if (strchr(new_dbname, DIRSEP_C) )
|
if (strchr(new_dbname, DIRSEP_C) )
|
||||||
@ -1239,7 +1239,7 @@ tdbio_read_record( ulong recnum, TRUSTREC *rec, int expected )
|
|||||||
case 0: /* unused (free) record */
|
case 0: /* unused (free) record */
|
||||||
break;
|
break;
|
||||||
case RECTYPE_VER: /* version record */
|
case RECTYPE_VER: /* version record */
|
||||||
if( memcmp(buf+1, "gpg", 3 ) ) {
|
if( memcmp(buf+1, GPGEXT_GPG, 3 ) ) {
|
||||||
log_error( _("%s: not a trustdb file\n"), db_name );
|
log_error( _("%s: not a trustdb file\n"), db_name );
|
||||||
err = gpg_error (GPG_ERR_TRUSTDB);
|
err = gpg_error (GPG_ERR_TRUSTDB);
|
||||||
}
|
}
|
||||||
@ -1331,7 +1331,7 @@ tdbio_write_record( TRUSTREC *rec )
|
|||||||
case RECTYPE_VER: /* version record */
|
case RECTYPE_VER: /* version record */
|
||||||
if( recnum )
|
if( recnum )
|
||||||
BUG();
|
BUG();
|
||||||
memcpy(p-1, "gpg", 3 ); p += 2;
|
memcpy(p-1, GPGEXT_GPG, 3 ); p += 2;
|
||||||
*p++ = rec->r.ver.version;
|
*p++ = rec->r.ver.version;
|
||||||
*p++ = rec->r.ver.marginals;
|
*p++ = rec->r.ver.marginals;
|
||||||
*p++ = rec->r.ver.completes;
|
*p++ = rec->r.ver.completes;
|
||||||
|
16
g13/g13.c
16
g13/g13.c
@ -212,17 +212,17 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "g13 (GnuPG)";
|
case 11: p = "@G13@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
case 19: p = _("Please report bugs to <" PACKAGE_BUGREPORT ">.\n");
|
case 19: p = _("Please report bugs to <" PACKAGE_BUGREPORT ">.\n");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: g13 [options] [files] (-h for help)");
|
case 40: p = _("Usage: @G13@ [options] [files] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41:
|
case 41:
|
||||||
p = _("Syntax: g13 [options] [files]\n"
|
p = _("Syntax: @G13@ [options] [files]\n"
|
||||||
"Create, mount or unmount an encrypted file system container\n");
|
"Create, mount or unmount an encrypted file system container\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -238,7 +238,7 @@ my_strusage( int level )
|
|||||||
static void
|
static void
|
||||||
wrong_args (const char *text)
|
wrong_args (const char *text)
|
||||||
{
|
{
|
||||||
fputs (_("usage: g13 [options] "), stderr);
|
fprintf (stderr, _("usage: %s [options] "), G13_NAME);
|
||||||
fputs (text, stderr);
|
fputs (text, stderr);
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
g13_exit (2);
|
g13_exit (2);
|
||||||
@ -344,11 +344,11 @@ main ( int argc, char **argv)
|
|||||||
|
|
||||||
/*mtrace();*/
|
/*mtrace();*/
|
||||||
|
|
||||||
gnupg_reopen_std ("g13");
|
gnupg_reopen_std (G13_NAME);
|
||||||
set_strusage (my_strusage);
|
set_strusage (my_strusage);
|
||||||
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
gcry_control (GCRYCTL_SUSPEND_SECMEM_WARN);
|
||||||
|
|
||||||
log_set_prefix ("g13", 1);
|
log_set_prefix (G13_NAME, 1);
|
||||||
|
|
||||||
/* Make sure that our subsystems are ready. */
|
/* Make sure that our subsystems are ready. */
|
||||||
i18n_init ();
|
i18n_init ();
|
||||||
@ -430,7 +430,7 @@ main ( int argc, char **argv)
|
|||||||
|
|
||||||
/* Set the default option file */
|
/* Set the default option file */
|
||||||
if (default_config )
|
if (default_config )
|
||||||
configname = make_filename (opt.homedir, "g13.conf", NULL);
|
configname = make_filename (opt.homedir, G13_NAME".conf", NULL);
|
||||||
|
|
||||||
argc = orig_argc;
|
argc = orig_argc;
|
||||||
argv = orig_argv;
|
argv = orig_argv;
|
||||||
@ -577,7 +577,7 @@ main ( int argc, char **argv)
|
|||||||
configname = NULL;
|
configname = NULL;
|
||||||
|
|
||||||
if (!opt.config_filename)
|
if (!opt.config_filename)
|
||||||
opt.config_filename = make_filename (opt.homedir, "g13.conf", NULL);
|
opt.config_filename = make_filename (opt.homedir, G13_NAME".conf", NULL);
|
||||||
|
|
||||||
if (log_get_errorcount(0))
|
if (log_get_errorcount(0))
|
||||||
g13_exit(2);
|
g13_exit(2);
|
||||||
|
@ -612,7 +612,7 @@ g13_server (ctrl_t ctrl)
|
|||||||
if (opt.verbose || opt.debug)
|
if (opt.verbose || opt.debug)
|
||||||
{
|
{
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
const char *s1 = getenv ("GPG_AGENT_INFO");
|
const char *s1 = getenv (GPG_AGENT_INFO_NAME);
|
||||||
|
|
||||||
tmp = xtryasprintf ("Home: %s\n"
|
tmp = xtryasprintf ("Home: %s\n"
|
||||||
"Config: %s\n"
|
"Config: %s\n"
|
||||||
|
@ -106,7 +106,7 @@ my_strusage( int level )
|
|||||||
{
|
{
|
||||||
const char *p;
|
const char *p;
|
||||||
switch( level ) {
|
switch( level ) {
|
||||||
case 11: p = "kbxutil (GnuPG)";
|
case 11: p = "kbxutil (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -96,7 +96,7 @@ CURLcode curl_easy_perform(CURL *curl);
|
|||||||
void curl_easy_cleanup(CURL *curl);
|
void curl_easy_cleanup(CURL *curl);
|
||||||
char *curl_escape(char *str,int len);
|
char *curl_escape(char *str,int len);
|
||||||
#define curl_free(x) free(x)
|
#define curl_free(x) free(x)
|
||||||
#define curl_version() "GnuPG curl-shim"
|
#define curl_version() GNUPG_NAME" curl-shim"
|
||||||
curl_version_info_data *curl_version_info(int type);
|
curl_version_info_data *curl_version_info(int type);
|
||||||
|
|
||||||
struct curl_slist
|
struct curl_slist
|
||||||
|
@ -124,7 +124,7 @@ main(int argc,char *argv[])
|
|||||||
/* Kludge to implement standard GNU options. */
|
/* Kludge to implement standard GNU options. */
|
||||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||||
{
|
{
|
||||||
printf ("gpgkeys_curl (GnuPG) %s\n", VERSION);
|
printf ("gpgkeys_curl (%s) %s\n", GNUPG_NAME, VERSION);
|
||||||
printf ("Uses: %s\n", curl_version());
|
printf ("Uses: %s\n", curl_version());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -337,7 +337,7 @@ main(int argc,char *argv[])
|
|||||||
/* Kludge to implement standard GNU options. */
|
/* Kludge to implement standard GNU options. */
|
||||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||||
{
|
{
|
||||||
fputs ("gpgkeys_finger (GnuPG) " VERSION"\n", stdout);
|
fputs ("gpgkeys_finger ("GNUPG_NAME") " VERSION"\n", stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
||||||
|
@ -570,7 +570,7 @@ main(int argc,char *argv[])
|
|||||||
/* Kludge to implement standard GNU options. */
|
/* Kludge to implement standard GNU options. */
|
||||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||||
{
|
{
|
||||||
printf ("gpgkeys_hkp (GnuPG) %s\n", VERSION);
|
printf ("gpgkeys_hkp (%s) %s\n", GNUPG_NAME, VERSION);
|
||||||
printf ("Uses: %s\n", curl_version());
|
printf ("Uses: %s\n", curl_version());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -188,7 +188,7 @@ get_key (adns_state adns_ctx, char *address)
|
|||||||
static void
|
static void
|
||||||
show_help (FILE *fp)
|
show_help (FILE *fp)
|
||||||
{
|
{
|
||||||
fputs (PGM" (GnuPG) " VERSION"\n\n", fp);
|
fputs (PGM" ("GNUPG_NAME") " VERSION"\n\n", fp);
|
||||||
fputs (" -h\thelp\n"
|
fputs (" -h\thelp\n"
|
||||||
" -V\tversion\n"
|
" -V\tversion\n"
|
||||||
" -o\toutput to this file\n"
|
" -o\toutput to this file\n"
|
||||||
@ -233,7 +233,7 @@ main (int argc, char *argv[])
|
|||||||
/* Kludge to implement standard GNU options. */
|
/* Kludge to implement standard GNU options. */
|
||||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||||
{
|
{
|
||||||
fputs (PGM" (GnuPG) " VERSION"\n", stdout);
|
fputs (PGM" ("GNUPG_NAME") " VERSION"\n", stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
||||||
|
@ -1794,7 +1794,7 @@ main(int argc,char *argv[])
|
|||||||
/* Kludge to implement standard GNU options. */
|
/* Kludge to implement standard GNU options. */
|
||||||
if (argc > 1 && !strcmp (argv[1], "--version"))
|
if (argc > 1 && !strcmp (argv[1], "--version"))
|
||||||
{
|
{
|
||||||
fputs ("gpgkeys_ldap (GnuPG) " VERSION"\n", stdout);
|
fputs ("gpgkeys_ldap ("GNUPG_NAME") " VERSION"\n", stdout);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
else if (argc > 1 && !strcmp (argv[1], "--help"))
|
||||||
|
166
po/de.po
166
po/de.po
@ -9,7 +9,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gnupg-2.1.0\n"
|
"Project-Id-Version: gnupg-2.1.0\n"
|
||||||
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
|
"Report-Msgid-Bugs-To: translations@gnupg.org\n"
|
||||||
"PO-Revision-Date: 2012-08-24 10:19+0200\n"
|
"PO-Revision-Date: 2013-11-18 14:05+0100\n"
|
||||||
"Last-Translator: Werner Koch <wk@gnupg.org>\n"
|
"Last-Translator: Werner Koch <wk@gnupg.org>\n"
|
||||||
"Language-Team: German <de@li.org>\n"
|
"Language-Team: German <de@li.org>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
@ -99,14 +99,12 @@ msgstr "Passphrase"
|
|||||||
msgid "ssh keys greater than %d bits are not supported\n"
|
msgid "ssh keys greater than %d bits are not supported\n"
|
||||||
msgstr "SSH Schlüssel von mehr als %d Bits werden nicht unterstützt\n"
|
msgstr "SSH Schlüssel von mehr als %d Bits werden nicht unterstützt\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "can't create '%s': %s\n"
|
msgid "can't create '%s': %s\n"
|
||||||
msgid "can't create `%s': %s\n"
|
|
||||||
msgstr "'%s' kann nicht erzeugt werden: %s\n"
|
msgstr "'%s' kann nicht erzeugt werden: %s\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "can't open '%s': %s\n"
|
msgid "can't open '%s': %s\n"
|
||||||
msgid "can't open `%s': %s\n"
|
|
||||||
msgstr "'%s' kann nicht geöffnet werden: %s\n"
|
msgstr "'%s' kann nicht geöffnet werden: %s\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@ -191,8 +189,7 @@ msgstr "PUK"
|
|||||||
msgid "Reset Code"
|
msgid "Reset Code"
|
||||||
msgstr "Rückstellcode"
|
msgstr "Rückstellcode"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "%s%%0A%%0AUse the reader's keypad for input."
|
|
||||||
msgid "%s%%0A%%0AUse the reader's pinpad for input."
|
msgid "%s%%0A%%0AUse the reader's pinpad for input."
|
||||||
msgstr "%s%%0A%%0AZur Eingabe die Tastatur des Kartenlesers verwenden."
|
msgstr "%s%%0A%%0AZur Eingabe die Tastatur des Kartenlesers verwenden."
|
||||||
|
|
||||||
@ -377,15 +374,15 @@ msgstr ""
|
|||||||
"Berichte über Programmfehler bitte in englisch an <@EMAIL@>.\n"
|
"Berichte über Programmfehler bitte in englisch an <@EMAIL@>.\n"
|
||||||
"Sinn- oder Schreibfehler in den deutschen Texten bitte an <de@li.org>.\n"
|
"Sinn- oder Schreibfehler in den deutschen Texten bitte an <de@li.org>.\n"
|
||||||
|
|
||||||
msgid "Usage: gpg-agent [options] (-h for help)"
|
msgid "Usage: @GPG_AGENT@ [options] (-h for help)"
|
||||||
msgstr "Aufruf: gpg-agent [Optionen] (-h für Hilfe)"
|
msgstr "Gebrauch: @GPG_AGENT@ [Optionen] [Kommando [Argumente]]"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: gpg-agent [options] [command [args]]\n"
|
"Syntax: @GPG_AGENT@ [options] [command [args]]\n"
|
||||||
"Secret key management for GnuPG\n"
|
"Secret key management for @GNUPG@\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: gpg-agent [Optionen] [Befehl [Argumente]]\n"
|
"Syntax: @GPG_AGENT@ [Optionen] [Befehl [Argumente]]\n"
|
||||||
"Verwaltung von geheimen Schlüsseln für GnuPG\n"
|
"Verwaltung von geheimen Schlüsseln für @GNUPG@\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid debug-level '%s' given\n"
|
msgid "invalid debug-level '%s' given\n"
|
||||||
@ -491,8 +488,9 @@ msgstr "%s %s angehalten\n"
|
|||||||
msgid "no gpg-agent running in this session\n"
|
msgid "no gpg-agent running in this session\n"
|
||||||
msgstr "Der gpg-agent läuft nicht für diese Session\n"
|
msgstr "Der gpg-agent läuft nicht für diese Session\n"
|
||||||
|
|
||||||
msgid "malformed GPG_AGENT_INFO environment variable\n"
|
#, c-format
|
||||||
msgstr "fehlerhaft aufgebaute GPG_AGENT_INFO - Umgebungsvariable\n"
|
msgid "malformed %s environment variable\n"
|
||||||
|
msgstr "Fehlerhafte %s Variable\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "gpg-agent protocol version %d is not supported\n"
|
msgid "gpg-agent protocol version %d is not supported\n"
|
||||||
@ -970,10 +968,6 @@ msgstr "Dirmngr benutzbar"
|
|||||||
msgid "No help available for '%s'."
|
msgid "No help available for '%s'."
|
||||||
msgstr "Keine Hilfe für '%s' vorhanden."
|
msgstr "Keine Hilfe für '%s' vorhanden."
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "can't open '%s': %s\n"
|
|
||||||
msgstr "'%s' kann nicht geöffnet werden: %s\n"
|
|
||||||
|
|
||||||
msgid "ignoring garbage line"
|
msgid "ignoring garbage line"
|
||||||
msgstr "Zeile mit nicht identifizierten Zeichen wird ignoriert"
|
msgstr "Zeile mit nicht identifizierten Zeichen wird ignoriert"
|
||||||
|
|
||||||
@ -1063,10 +1057,6 @@ msgstr "Die temporäre Datei `%s' kann nicht erstellt werden: %s\n"
|
|||||||
msgid "error writing to '%s': %s\n"
|
msgid "error writing to '%s': %s\n"
|
||||||
msgstr "Fehler beim Schreiben von %s: %s\n"
|
msgstr "Fehler beim Schreiben von %s: %s\n"
|
||||||
|
|
||||||
#, c-format
|
|
||||||
msgid "can't create '%s': %s\n"
|
|
||||||
msgstr "'%s' kann nicht erzeugt werden: %s\n"
|
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "removing stale lockfile (created by %d)\n"
|
msgid "removing stale lockfile (created by %d)\n"
|
||||||
msgstr "eine übriggebliebene Sperrdatei wird entfernt (erzeugt von %d)\n"
|
msgstr "eine übriggebliebene Sperrdatei wird entfernt (erzeugt von %d)\n"
|
||||||
@ -1173,10 +1163,8 @@ msgstr "nicht als Klartext darstellbar"
|
|||||||
msgid "failed to proxy %s inquiry to client\n"
|
msgid "failed to proxy %s inquiry to client\n"
|
||||||
msgstr "Die %s \"inquiry\" konnte nicht an den Client weitergeleitet werden\n"
|
msgstr "Die %s \"inquiry\" konnte nicht an den Client weitergeleitet werden\n"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#| msgid "Enter passphrase\n"
|
|
||||||
msgid "Enter passphrase: "
|
msgid "Enter passphrase: "
|
||||||
msgstr "Geben Sie die Passphrase ein\n"
|
msgstr "Geben Sie die Passphrase ein: "
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "OpenPGP card not available: %s\n"
|
msgid "OpenPGP card not available: %s\n"
|
||||||
@ -1384,10 +1372,9 @@ msgstr "Ungültige Auswahl.\n"
|
|||||||
msgid "Please select where to store the key:\n"
|
msgid "Please select where to store the key:\n"
|
||||||
msgstr "Wählen Sie den Speicherort für den Schlüssel:\n"
|
msgstr "Wählen Sie den Speicherort für den Schlüssel:\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "read failed: %s\n"
|
|
||||||
msgid "KEYTOCARD failed: %s\n"
|
msgid "KEYTOCARD failed: %s\n"
|
||||||
msgstr "Lesen schlug fehl: %s\n"
|
msgstr "Das KEYTOCARD Kommando schlug fehl: %s\n"
|
||||||
|
|
||||||
msgid "quit this menu"
|
msgid "quit this menu"
|
||||||
msgstr "Menü verlassen"
|
msgstr "Menü verlassen"
|
||||||
@ -1838,15 +1825,15 @@ msgstr ""
|
|||||||
" --list-keys [Namen] Schlüssel anzeigen\n"
|
" --list-keys [Namen] Schlüssel anzeigen\n"
|
||||||
" --fingerprint [Namen] \"Fingerabdrücke\" anzeigen\n"
|
" --fingerprint [Namen] \"Fingerabdrücke\" anzeigen\n"
|
||||||
|
|
||||||
msgid "Usage: gpg [options] [files] (-h for help)"
|
msgid "Usage: @GPG@ [options] [files] (-h for help)"
|
||||||
msgstr "Aufruf: gpg [Optionen] [Dateien] (-h für Hilfe)"
|
msgstr "Aufruf: @GPG@ [Optionen] [Dateien] (-h für Hilfe)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: gpg [options] [files]\n"
|
"Syntax: @GPG@ [options] [files]\n"
|
||||||
"Sign, check, encrypt or decrypt\n"
|
"Sign, check, encrypt or decrypt\n"
|
||||||
"Default operation depends on the input data\n"
|
"Default operation depends on the input data\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Aufruf: gpg [Optionen] [Dateien]\n"
|
"Aufruf: @GPG@ [Optionen] [Dateien]\n"
|
||||||
"Signieren, prüfen, verschlüsseln, entschlüsseln.\n"
|
"Signieren, prüfen, verschlüsseln, entschlüsseln.\n"
|
||||||
"Die voreingestellte Operation ist abhängig von den Eingabedaten\n"
|
"Die voreingestellte Operation ist abhängig von den Eingabedaten\n"
|
||||||
|
|
||||||
@ -1995,10 +1982,9 @@ msgstr "Hinweis: %s ist nicht für den üblichen Gebrauch gedacht!\n"
|
|||||||
msgid "'%s' is not a valid signature expiration\n"
|
msgid "'%s' is not a valid signature expiration\n"
|
||||||
msgstr "`%s' ist kein gültiges Signaturablaufdatum\n"
|
msgstr "`%s' ist kein gültiges Signaturablaufdatum\n"
|
||||||
|
|
||||||
#, fuzzy, c-format
|
#, c-format
|
||||||
#| msgid "Invalid subject name '%s'\n"
|
|
||||||
msgid "invalid pinentry mode '%s'\n"
|
msgid "invalid pinentry mode '%s'\n"
|
||||||
msgstr "Ungültiger Subjekt-Name `%s'\n"
|
msgstr "Ungültiger Subjekt-Name '%s'\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "'%s' is not a valid character set\n"
|
msgid "'%s' is not a valid character set\n"
|
||||||
@ -3678,6 +3664,9 @@ msgstr "Die verlangte Schlüssellänge beträgt %u Bit\n"
|
|||||||
msgid "rounded to %u bits\n"
|
msgid "rounded to %u bits\n"
|
||||||
msgstr "gerundet auf %u Bit\n"
|
msgstr "gerundet auf %u Bit\n"
|
||||||
|
|
||||||
|
msgid "Please select which elliptic curve you want:\n"
|
||||||
|
msgstr "Bitte wählen Sie, welche elliptische Kurve Sie möchten:\n"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Please specify how long the key should be valid.\n"
|
"Please specify how long the key should be valid.\n"
|
||||||
" 0 = key does not expire\n"
|
" 0 = key does not expire\n"
|
||||||
@ -5433,6 +5422,9 @@ msgstr "Die Antwort enthält das RSA-Modulus nicht\n"
|
|||||||
msgid "response does not contain the RSA public exponent\n"
|
msgid "response does not contain the RSA public exponent\n"
|
||||||
msgstr "Antwort enthält den öffentlichen RSA-Exponenten nicht\n"
|
msgstr "Antwort enthält den öffentlichen RSA-Exponenten nicht\n"
|
||||||
|
|
||||||
|
msgid "response does not contain the EC public point\n"
|
||||||
|
msgstr "Der öffentlichen EC Punkt fehlt in der Antwort\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "using default PIN as %s\n"
|
msgid "using default PIN as %s\n"
|
||||||
msgstr "Die Standard PIN wird für %s benutzt\n"
|
msgstr "Die Standard PIN wird für %s benutzt\n"
|
||||||
@ -5568,8 +5560,6 @@ msgstr ""
|
|||||||
msgid "can't access %s - invalid OpenPGP card?\n"
|
msgid "can't access %s - invalid OpenPGP card?\n"
|
||||||
msgstr "Kann auf %s nicht zugreifen - ungültige OpenPGP-Karte?\n"
|
msgstr "Kann auf %s nicht zugreifen - ungültige OpenPGP-Karte?\n"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#| msgid "||Please enter your PIN at the reader's keypad"
|
|
||||||
msgid "||Please enter your PIN at the reader's pinpad"
|
msgid "||Please enter your PIN at the reader's pinpad"
|
||||||
msgstr "||Bitte die PIN auf der Tastatur des Kartenlesers eingeben"
|
msgstr "||Bitte die PIN auf der Tastatur des Kartenlesers eingeben"
|
||||||
|
|
||||||
@ -5603,8 +5593,6 @@ msgstr "Den internen CCID Treiber nicht benutzen"
|
|||||||
msgid "|N|disconnect the card after N seconds of inactivity"
|
msgid "|N|disconnect the card after N seconds of inactivity"
|
||||||
msgstr "|N|Schalte die Karte nach N Sekunden Inaktivität ab"
|
msgstr "|N|Schalte die Karte nach N Sekunden Inaktivität ab"
|
||||||
|
|
||||||
#, fuzzy
|
|
||||||
#| msgid "do not use a reader's keypad"
|
|
||||||
msgid "do not use a reader's pinpad"
|
msgid "do not use a reader's pinpad"
|
||||||
msgstr "Die Tastatur des Kartenlesers nicht benutzen"
|
msgstr "Die Tastatur des Kartenlesers nicht benutzen"
|
||||||
|
|
||||||
@ -5612,17 +5600,17 @@ msgid "deny the use of admin card commands"
|
|||||||
msgstr "Verweigere die Benutzung von \"Admin\"-Befehlen"
|
msgstr "Verweigere die Benutzung von \"Admin\"-Befehlen"
|
||||||
|
|
||||||
msgid "use variable length input for pinpad"
|
msgid "use variable length input for pinpad"
|
||||||
msgstr ""
|
msgstr "Variable Längeneingabe für die Kartenlesertastatur benutzen"
|
||||||
|
|
||||||
msgid "Usage: scdaemon [options] (-h for help)"
|
msgid "Usage: @SCDAEMON@ [options] (-h for help)"
|
||||||
msgstr "Aufruf: scdaemon [Optionen] (-h für Hilfe)"
|
msgstr "Gebrauch: @SCDAEMON@ [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: scdaemon [options] [command [args]]\n"
|
"Syntax: scdaemon [options] [command [args]]\n"
|
||||||
"Smartcard daemon for GnuPG\n"
|
"Smartcard daemon for @GNUPG@\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: scdaemon [Optionen] [Befehl [Argumente]]\n"
|
"Syntax: @SCDAEMON@ [Optionen] [Befehl [Argumente]]\n"
|
||||||
"Smartcard Daemon für GnuPG\n"
|
"Smartcard Daemon für @GNUPG@\n"
|
||||||
|
|
||||||
msgid "please use the option '--daemon' to run the program in the background\n"
|
msgid "please use the option '--daemon' to run the program in the background\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -6186,15 +6174,15 @@ msgstr "|NAME|Verschlüsselungsverfahren NAME benutzen"
|
|||||||
msgid "|NAME|use message digest algorithm NAME"
|
msgid "|NAME|use message digest algorithm NAME"
|
||||||
msgstr "|NAME|Hashverfahren NAME benutzen"
|
msgstr "|NAME|Hashverfahren NAME benutzen"
|
||||||
|
|
||||||
msgid "Usage: gpgsm [options] [files] (-h for help)"
|
msgid "Usage: @GPGSM@ [options] [files] (-h for help)"
|
||||||
msgstr "Aufruf: gpgsm [Optionen] [Dateien] (-h für Hilfe)"
|
msgstr "Aufruf: @GPGSM@ [Optionen] [Dateien] (-h für Hilfe)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: gpgsm [options] [files]\n"
|
"Syntax: @GPGSM@ [options] [files]\n"
|
||||||
"Sign, check, encrypt or decrypt using the S/MIME protocol\n"
|
"Sign, check, encrypt or decrypt using the S/MIME protocol\n"
|
||||||
"Default operation depends on the input data\n"
|
"Default operation depends on the input data\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: gpgsm [Optionen] [Dateien]\n"
|
"Syntax: @GPGSM@ [Optionen] [Dateien]\n"
|
||||||
"Signieren, prüfen, ver- und entschlüsseln mittels S/MIME Protokoll\n"
|
"Signieren, prüfen, ver- und entschlüsseln mittels S/MIME Protokoll\n"
|
||||||
|
|
||||||
msgid "usage: gpgsm [options] "
|
msgid "usage: gpgsm [options] "
|
||||||
@ -7002,9 +6990,6 @@ msgstr "Offensichtlich ist kein Dirmngr vorhanden\n"
|
|||||||
msgid "no running dirmngr - starting one\n"
|
msgid "no running dirmngr - starting one\n"
|
||||||
msgstr "Dirmngr läuft nicht - ein neuer wird gestartet\n"
|
msgstr "Dirmngr läuft nicht - ein neuer wird gestartet\n"
|
||||||
|
|
||||||
msgid "malformed DIRMNGR_INFO environment variable\n"
|
|
||||||
msgstr "Fehlerhafte DIRMNGR_INFO Variable\n"
|
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "dirmngr protocol version %d is not supported\n"
|
msgid "dirmngr protocol version %d is not supported\n"
|
||||||
msgstr "Dirmngr Protocol Version %d wird nicht unterstützt\n"
|
msgstr "Dirmngr Protocol Version %d wird nicht unterstützt\n"
|
||||||
@ -7108,22 +7093,23 @@ msgstr ""
|
|||||||
"(Im \"info\"-Handbuch findet sich eine vollständige Liste aller Kommandos "
|
"(Im \"info\"-Handbuch findet sich eine vollständige Liste aller Kommandos "
|
||||||
"und Optionen)\n"
|
"und Optionen)\n"
|
||||||
|
|
||||||
msgid "Usage: dirmngr [options] (-h for help)"
|
msgid "Usage: @DIRMNGR@ [options] (-h for help)"
|
||||||
msgstr "Gebrauch: dirmnr [Optionen] [Kommando [Argumente]]"
|
msgstr "Gebrauch: @DIRMNGR@ [Optionen]"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: dirmngr [options] [command [args]]\n"
|
"Syntax: @DIRMNGR@ [options] [command [args]]\n"
|
||||||
"LDAP and OCSP access for GnuPG\n"
|
"LDAP and OCSP access for @GNUPG@\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: dirmngr [Optionen] [Kommando [Argumente]]\n"
|
"Syntax: @DIRMNGR@ [Optionen] [Kommando [Argumente]]\n"
|
||||||
"LDAP und OCSP Zugriff für GnuPG\n"
|
"LDAP und OCSP Zugriff für @GNUPG@\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "valid debug levels are: %s\n"
|
msgid "valid debug levels are: %s\n"
|
||||||
msgstr "Gültige Debugebenen sind: %s\n"
|
msgstr "Gültige Debugebenen sind: %s\n"
|
||||||
|
|
||||||
msgid "usage: dirmngr [options] "
|
#, c-format
|
||||||
msgstr "Gebrauch: dirmngr [Optionen] "
|
msgid "usage: %s [options] "
|
||||||
|
msgstr "Aufruf: %s [Optionen] "
|
||||||
|
|
||||||
msgid "colons are not allowed in the socket name\n"
|
msgid "colons are not allowed in the socket name\n"
|
||||||
msgstr "Doppelpunkte sind im Namen des Sockets nicht erlaubt\n"
|
msgstr "Doppelpunkte sind im Namen des Sockets nicht erlaubt\n"
|
||||||
@ -7619,14 +7605,14 @@ msgstr "|DATEI|Beim Starten Kommandos aus DATEI lesen"
|
|||||||
msgid "run /subst on startup"
|
msgid "run /subst on startup"
|
||||||
msgstr "Nach dem Starten \"/subst\" ausführen"
|
msgstr "Nach dem Starten \"/subst\" ausführen"
|
||||||
|
|
||||||
msgid "Usage: gpg-connect-agent [options] (-h for help)"
|
msgid "Usage: @GPG@-connect-agent [options] (-h for help)"
|
||||||
msgstr "Aufruf: gpg-connect-agent [Optionen] (-h für Hilfe)"
|
msgstr "Aufruf: @GPG@-connect-agent [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: gpg-connect-agent [options]\n"
|
"Syntax: @GPG@-connect-agent [options]\n"
|
||||||
"Connect to a running agent and send commands\n"
|
"Connect to a running agent and send commands\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: gpg-connect-agent [Optionen]\n"
|
"Syntax: @GPG@-connect-agent [Optionen]\n"
|
||||||
"Mit einem laufenden Agenten verbinden und Befehle senden\n"
|
"Mit einem laufenden Agenten verbinden und Befehle senden\n"
|
||||||
|
|
||||||
#, c-format
|
#, c-format
|
||||||
@ -7818,15 +7804,15 @@ msgstr "Als Ausgabedatei benutzen"
|
|||||||
msgid "activate changes at runtime, if possible"
|
msgid "activate changes at runtime, if possible"
|
||||||
msgstr "Aktiviere Änderungen zur Laufzeit; falls möglich"
|
msgstr "Aktiviere Änderungen zur Laufzeit; falls möglich"
|
||||||
|
|
||||||
msgid "Usage: gpgconf [options] (-h for help)"
|
msgid "Usage: @GPGCONF@ [options] (-h for help)"
|
||||||
msgstr "Aufruf: gpgconf [Optionen] (-h für Hilfe)"
|
msgstr "Gebrauch: @GPGCONF@ [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Syntax: gpgconf [options]\n"
|
"Syntax: @GPGCONF@ [options]\n"
|
||||||
"Manage configuration options for tools of the GnuPG system\n"
|
"Manage configuration options for tools of the @GNUPG@ system\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Syntax: gpgconf {Optionen]\n"
|
"Syntax: @GPGCONF@ {Optionen]\n"
|
||||||
"Verwalte Konfigurationsoptionen für Programme des GnuPG Systems\n"
|
"Verwalte Konfigurationsoptionen für Programme des @GNUPG@ Systems\n"
|
||||||
|
|
||||||
msgid "usage: gpgconf [options] "
|
msgid "usage: gpgconf [options] "
|
||||||
msgstr "Aufruf: gpgconf [Optionen] "
|
msgstr "Aufruf: gpgconf [Optionen] "
|
||||||
@ -7984,6 +7970,40 @@ msgstr ""
|
|||||||
"Syntax: gpg-check-pattern [optionen] Musterdatei\n"
|
"Syntax: gpg-check-pattern [optionen] Musterdatei\n"
|
||||||
"Die von stdin gelesene Passphrase gegen die Musterdatei prüfen\n"
|
"Die von stdin gelesene Passphrase gegen die Musterdatei prüfen\n"
|
||||||
|
|
||||||
|
#~ msgid "Usage: scdaemon [options] (-h for help)"
|
||||||
|
#~ msgstr "Aufruf: scdaemon [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
|
#~ msgid "malformed GPG_AGENT_INFO environment variable\n"
|
||||||
|
#~ msgstr "fehlerhaft aufgebaute GPG_AGENT_INFO - Umgebungsvariable\n"
|
||||||
|
|
||||||
|
#~ msgid " (%d) %s\n"
|
||||||
|
#~ msgstr " (%d) signieren\n"
|
||||||
|
|
||||||
|
#~ msgid "Usage: gpgsm [options] [files] (-h for help)"
|
||||||
|
#~ msgstr "Aufruf: gpgsm [Optionen] [Dateien] (-h für Hilfe)"
|
||||||
|
|
||||||
|
#~ msgid "Usage: dirmngr [options] (-h for help)"
|
||||||
|
#~ msgstr "Gebrauch: dirmnr [Optionen] [Kommando [Argumente]]"
|
||||||
|
|
||||||
|
#~ msgid "usage: dirmngr [options] "
|
||||||
|
#~ msgstr "Gebrauch: dirmngr [Optionen] "
|
||||||
|
|
||||||
|
#~ msgid "Usage: gpgconf [options] (-h for help)"
|
||||||
|
#~ msgstr "Aufruf: gpgconf [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
|
#~ msgid "Usage: gpg-agent [options] (-h for help)"
|
||||||
|
#~ msgstr "Aufruf: gpg-agent [Optionen] (-h für Hilfe)"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#~| msgid "can't create '%s': %s\n"
|
||||||
|
#~ msgid "can't create `%s': %s\n"
|
||||||
|
#~ msgstr "'%s' kann nicht erzeugt werden: %s\n"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
#~| msgid "can't open '%s': %s\n"
|
||||||
|
#~ msgid "can't open `%s': %s\n"
|
||||||
|
#~ msgstr "'%s' kann nicht geöffnet werden: %s\n"
|
||||||
|
|
||||||
#~ msgid "too many entries in pk cache - disabled\n"
|
#~ msgid "too many entries in pk cache - disabled\n"
|
||||||
#~ msgstr "zu viele Einträge im pk-Cache - abgeschaltet\n"
|
#~ msgstr "zu viele Einträge im pk-Cache - abgeschaltet\n"
|
||||||
|
|
||||||
|
@ -1833,7 +1833,7 @@ pcsc_vendor_specific_init (int slot)
|
|||||||
reader_table[slot].is_spr532 = 1;
|
reader_table[slot].is_spr532 = 1;
|
||||||
reader_table[slot].pinpad_varlen_supported = 1;
|
reader_table[slot].pinpad_varlen_supported = 1;
|
||||||
}
|
}
|
||||||
else if (vendor == 0x046a && product == 0x003e /* Cherry ST-2xxx */
|
else if ((vendor == 0x046a && product == 0x003e) /* Cherry ST-2xxx */
|
||||||
|| vendor == 0x0c4b /* Tested with Reiner cyberJack GO */
|
|| vendor == 0x0c4b /* Tested with Reiner cyberJack GO */
|
||||||
|| vendor == 0x1a44 /* Tested with Vasco DIGIPASS 920 */
|
|| vendor == 0x1a44 /* Tested with Vasco DIGIPASS 920 */
|
||||||
|| vendor == 0x234b /* Tested with FSIJ Gnuk Token */
|
|| vendor == 0x234b /* Tested with FSIJ Gnuk Token */
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
/* Allow for a standalone build. */
|
/* Allow for a standalone build. */
|
||||||
#ifdef VERSION
|
#ifdef VERSION
|
||||||
#define MYVERSION_LINE PGM " (GnuPG) " VERSION
|
#define MYVERSION_LINE PGM " ("GNUPG_NAME") " VERSION
|
||||||
#define BUGREPORT_LINE "\nReport bugs to <bug-gnupg@gnu.org>.\n"
|
#define BUGREPORT_LINE "\nReport bugs to <bug-gnupg@gnu.org>.\n"
|
||||||
#else
|
#else
|
||||||
#define MYVERSION_LINE PGM
|
#define MYVERSION_LINE PGM
|
||||||
|
@ -243,7 +243,7 @@ my_strusage (int level)
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "scdaemon (GnuPG)";
|
case 11: p = "@SCDAEMON@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -260,10 +260,10 @@ my_strusage (int level)
|
|||||||
p = ver_ksba;
|
p = ver_ksba;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: scdaemon [options] (-h for help)");
|
case 40: p = _("Usage: @SCDAEMON@ [options] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41: p = _("Syntax: scdaemon [options] [command [args]]\n"
|
case 41: p = _("Syntax: scdaemon [options] [command [args]]\n"
|
||||||
"Smartcard daemon for GnuPG\n");
|
"Smartcard daemon for @GNUPG@\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: p = NULL;
|
default: p = NULL;
|
||||||
|
@ -524,17 +524,17 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpgsm (GnuPG)";
|
case 11: p = "@GPGSM@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: gpgsm [options] [files] (-h for help)");
|
case 40: p = _("Usage: @GPGSM@ [options] [files] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41:
|
case 41:
|
||||||
p = _("Syntax: gpgsm [options] [files]\n"
|
p = _("Syntax: @GPGSM@ [options] [files]\n"
|
||||||
"Sign, check, encrypt or decrypt using the S/MIME protocol\n"
|
"Sign, check, encrypt or decrypt using the S/MIME protocol\n"
|
||||||
"Default operation depends on the input data\n");
|
"Default operation depends on the input data\n");
|
||||||
break;
|
break;
|
||||||
|
@ -1294,7 +1294,7 @@ gpgsm_server (certlist_t default_recplist)
|
|||||||
if (opt.verbose || opt.debug)
|
if (opt.verbose || opt.debug)
|
||||||
{
|
{
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
const char *s1 = getenv ("GPG_AGENT_INFO");
|
const char *s1 = getenv (GPG_AGENT_INFO_NAME);
|
||||||
|
|
||||||
if (asprintf (&tmp,
|
if (asprintf (&tmp,
|
||||||
"Home: %s\n"
|
"Home: %s\n"
|
||||||
|
@ -810,7 +810,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
else if (!strcmp (*argv, "--version"))
|
else if (!strcmp (*argv, "--version"))
|
||||||
{
|
{
|
||||||
fputs (PGM " (GnuPG) " PACKAGE_VERSION "\n", stdout);
|
fputs (PGM " ("GNUPG_NAME") " PACKAGE_VERSION "\n", stdout);
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
else if (!strcmp (*argv, "--help"))
|
else if (!strcmp (*argv, "--help"))
|
||||||
|
@ -135,7 +135,7 @@ my_strusage (int level)
|
|||||||
const char *p;
|
const char *p;
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpg-check-pattern (GnuPG)";
|
case 11: p = "gpg-check-pattern (@GnuPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -182,17 +182,17 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpg-connect-agent (GnuPG)";
|
case 11: p = "@GPG@-connect-agent (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: gpg-connect-agent [options] (-h for help)");
|
case 40: p = _("Usage: @GPG@-connect-agent [options] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41:
|
case 41:
|
||||||
p = _("Syntax: gpg-connect-agent [options]\n"
|
p = _("Syntax: @GPG@-connect-agent [options]\n"
|
||||||
"Connect to a running agent and send commands\n");
|
"Connect to a running agent and send commands\n");
|
||||||
break;
|
break;
|
||||||
case 31: p = "\nHome: "; break;
|
case 31: p = "\nHome: "; break;
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
#if defined(HAVE_W32_SYSTEM) && !defined(HAVE_W32CE_SYSTEM)
|
#if defined(HAVE_W32_SYSTEM) && !defined(HAVE_W32CE_SYSTEM)
|
||||||
#define GPGNAME "gpg2"
|
#define GPGNAME "gpg2"
|
||||||
#else
|
#else
|
||||||
#define GPGNAME "gpg"
|
#define GPGNAME GPG_NAME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -180,15 +180,15 @@ static struct
|
|||||||
} gc_backend[GC_BACKEND_NR] =
|
} gc_backend[GC_BACKEND_NR] =
|
||||||
{
|
{
|
||||||
{ NULL }, /* GC_BACKEND_ANY dummy entry. */
|
{ NULL }, /* GC_BACKEND_ANY dummy entry. */
|
||||||
{ "GnuPG", GPGNAME, GNUPG_MODULE_NAME_GPG,
|
{ GNUPG_NAME, GPGNAME, GNUPG_MODULE_NAME_GPG,
|
||||||
NULL, "gpgconf-gpg.conf" },
|
NULL, "gpgconf-gpg.conf" },
|
||||||
{ "GPGSM", "gpgsm", GNUPG_MODULE_NAME_GPGSM,
|
{ "GPGSM", GPGSM_NAME, GNUPG_MODULE_NAME_GPGSM,
|
||||||
NULL, "gpgconf-gpgsm.conf" },
|
NULL, "gpgconf-gpgsm.conf" },
|
||||||
{ "GPG Agent", "gpg-agent", GNUPG_MODULE_NAME_AGENT,
|
{ "GPG Agent", GPG_AGENT_NAME, GNUPG_MODULE_NAME_AGENT,
|
||||||
gpg_agent_runtime_change, "gpgconf-gpg-agent.conf" },
|
gpg_agent_runtime_change, "gpgconf-gpg-agent.conf" },
|
||||||
{ "SCDaemon", "scdaemon", GNUPG_MODULE_NAME_SCDAEMON,
|
{ "SCDaemon", SCDAEMON_NAME, GNUPG_MODULE_NAME_SCDAEMON,
|
||||||
scdaemon_runtime_change, "gpgconf-scdaemon.conf" },
|
scdaemon_runtime_change, "gpgconf-scdaemon.conf" },
|
||||||
{ "DirMngr", "dirmngr", GNUPG_MODULE_NAME_DIRMNGR,
|
{ "DirMngr", DIRMNGR_NAME, GNUPG_MODULE_NAME_DIRMNGR,
|
||||||
NULL, "gpgconf-dirmngr.conf" },
|
NULL, "gpgconf-dirmngr.conf" },
|
||||||
{ "DirMngr LDAP Server List", NULL, 0,
|
{ "DirMngr LDAP Server List", NULL, 0,
|
||||||
NULL, "ldapserverlist-file", "LDAP Server" },
|
NULL, "ldapserverlist-file", "LDAP Server" },
|
||||||
@ -1215,8 +1215,8 @@ my_dgettext (const char *domain, const char *msgid)
|
|||||||
switched_codeset = 1;
|
switched_codeset = 1;
|
||||||
bind_textdomain_codeset (PACKAGE_GT, "utf-8");
|
bind_textdomain_codeset (PACKAGE_GT, "utf-8");
|
||||||
|
|
||||||
bindtextdomain ("dirmngr", LOCALEDIR);
|
bindtextdomain (DIRMNGR_NAME, LOCALEDIR);
|
||||||
bind_textdomain_codeset ("dirmngr", "utf-8");
|
bind_textdomain_codeset (DIRMNGR_NAME, "utf-8");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,18 +98,18 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpgconf (GnuPG)";
|
case 11: p = "@GPGCONF@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 40: p = _("Usage: gpgconf [options] (-h for help)");
|
case 40: p = _("Usage: @GPGCONF@ [options] (-h for help)");
|
||||||
break;
|
break;
|
||||||
case 41:
|
case 41:
|
||||||
p = _("Syntax: gpgconf [options]\n"
|
p = _("Syntax: @GPGCONF@ [options]\n"
|
||||||
"Manage configuration options for tools of the GnuPG system\n");
|
"Manage configuration options for tools of the @GNUPG@ system\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: p = NULL; break;
|
default: p = NULL; break;
|
||||||
@ -350,10 +350,11 @@ main (int argc, char **argv)
|
|||||||
es_fprintf (outfp, "dirmngr-socket:%s\n",
|
es_fprintf (outfp, "dirmngr-socket:%s\n",
|
||||||
gc_percent_escape (dirmngr_socket_name ()));
|
gc_percent_escape (dirmngr_socket_name ()));
|
||||||
{
|
{
|
||||||
char *infostr = getenv ("GPG_AGENT_INFO");
|
char *infostr = getenv (GPG_AGENT_INFO_NAME);
|
||||||
|
|
||||||
if (!infostr || !*infostr)
|
if (!infostr || !*infostr)
|
||||||
infostr = make_filename (default_homedir (), "S.gpg-agent", NULL);
|
infostr = make_filename (default_homedir (),
|
||||||
|
GPG_AGENT_SOCK_NAME, NULL);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
@ -81,7 +81,7 @@ my_strusage (int level)
|
|||||||
const char *p;
|
const char *p;
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpgsplit (GnuPG)";
|
case 11: p = "gpgsplit (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -208,7 +208,7 @@ create_directory (const char *dirprefix)
|
|||||||
|
|
||||||
/* Remove common suffixes. */
|
/* Remove common suffixes. */
|
||||||
n = strlen (dirprefix);
|
n = strlen (dirprefix);
|
||||||
if (n > 4 && (!compare_filenames (dirprefix + n - 4, EXTSEP_S "gpg")
|
if (n > 4 && (!compare_filenames (dirprefix + n - 4, EXTSEP_S GPGEXT_GPG)
|
||||||
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "pgp")
|
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "pgp")
|
||||||
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "asc")
|
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "asc")
|
||||||
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "pem")
|
|| !compare_filenames (dirprefix + n - 4, EXTSEP_S "pem")
|
||||||
|
@ -115,7 +115,7 @@ my_strusage( int level )
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "gpgtar (GnuPG)";
|
case 11: p = "@GPGTAR@ (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
|
@ -200,7 +200,7 @@ my_strusage (int level)
|
|||||||
|
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 11: p = "symcryptrun (GnuPG)";
|
case 11: p = "symcryptrun (@GNUPG@)";
|
||||||
break;
|
break;
|
||||||
case 13: p = VERSION; break;
|
case 13: p = VERSION; break;
|
||||||
case 17: p = PRINTABLE_OS_NAME; break;
|
case 17: p = PRINTABLE_OS_NAME; break;
|
||||||
@ -1010,7 +1010,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
/* Tell simple-pwquery about the the standard socket name. */
|
/* Tell simple-pwquery about the the standard socket name. */
|
||||||
{
|
{
|
||||||
char *tmp = make_filename (opt.homedir, "S.gpg-agent", NULL);
|
char *tmp = make_filename (opt.homedir, GPG_AGENT_SOCK_NAME, NULL);
|
||||||
simple_pw_set_socket (tmp);
|
simple_pw_set_socket (tmp);
|
||||||
xfree (tmp);
|
xfree (tmp);
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
/* Allow for a standalone build on most systems. */
|
/* Allow for a standalone build on most systems. */
|
||||||
#ifdef VERSION
|
#ifdef VERSION
|
||||||
#define MYVERSION_LINE PGM " (GnuPG) " VERSION
|
#define MYVERSION_LINE PGM " ("GNUPG_NAME") " VERSION
|
||||||
#define BUGREPORT_LINE "\nReport bugs to <bug-gnupg@gnu.org>.\n"
|
#define BUGREPORT_LINE "\nReport bugs to <bug-gnupg@gnu.org>.\n"
|
||||||
#else
|
#else
|
||||||
#define MYVERSION_LINE PGM " (standalone build) " __DATE__
|
#define MYVERSION_LINE PGM " (standalone build) " __DATE__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user