aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-07-17 19:48:19 +0000
committerDavid Shaw <[email protected]>2002-07-17 19:48:19 +0000
commit75ad30031f6167765973a8fb4dfb49c8b2a55ee7 (patch)
tree7ee3f60cd167c3403df1a09b9b2be62043832272 /g10/g10.c
parent* gpgkeys_ldap.c (send_key, get_key, main): Consult the server version (diff)
downloadgnupg-75ad30031f6167765973a8fb4dfb49c8b2a55ee7.tar.gz
gnupg-75ad30031f6167765973a8fb4dfb49c8b2a55ee7.zip
* keyedit.c (show_key_with_all_names_colon): The 0x40 class bit in a
designated revoker means "sensitive", not "local". It's exportable under the right circumstances. * main.h, options.h, export.c (do_export_stream), g10.c (main), hkp.c (hkp_export), keyserver.c (keyserver_spawn: Add a flag to skip attribute packets and their signatures while exporting. This is to accomodate keyservers (pksd again) that choke on attributes. Use keyserver-option "include-attributes" to control it. This defaults to ON (i.e. don't skip).
Diffstat (limited to '')
-rw-r--r--g10/g10.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index f2cef6fa0..3d1105827 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -903,6 +903,7 @@ main( int argc, char **argv )
opt.force_v3_sigs = 1;
opt.escape_from = 1;
opt.keyserver_options.include_subkeys=1;
+ opt.keyserver_options.include_attributes=1;
#if defined (__MINGW32__) || defined (__CYGWIN32__)
opt.homedir = read_w32_registry_string( NULL, "Software\\GNU\\GnuPG", "HomeDir" );
#else
@@ -2008,7 +2009,7 @@ main( int argc, char **argv )
else if( cmd == aRecvKeys )
keyserver_import( sl );
else
- export_pubkeys( sl, (cmd == aExport) );
+ export_pubkeys( sl, (cmd == aExport)?EXPORT_FLAG_ONLYRFC:0 );
free_strlist(sl);
break;