aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-22doc: Fix --secret-keyring option for 2.1Werner Koch1-0/+6
--
2014-09-12doc: Small grammar fixWerner Koch1-2/+2
--
2014-09-02doc: Typo fixWerner Koch1-1/+1
-- Debian-bug-id: 760273
2014-08-18gpg: Change default cipher for --symmetric from CAST5 to AES-128.Werner Koch1-3/+16
* g10/main.h (DEFAULT_CIPHER_ALGO): Chhange to AES or CAST5 or 3DES depending on configure option. * g10/gpg.c (main): Set opt.s2k_cipher_algo to DEFAULT_CIPHER_ALGO.
2014-08-14gpg: Remove options --pgp2 and --rfc1991.Werner Koch1-2/+10
* g10/gpg.c (oRFC1991, oPGP2): Remove (opts): Remove --pgp2 and --rfc1991. * g10/options.h (CO_PGP2, CO_RFC1991): Remove. Remove all users. (RFC2440, PGP2): Remove. Remove all code only enabled by these conditions. * tests/openpgp/clearsig.test: Remove --rfc1991 test. -- The use of PGP 2.c is considered insecure for quite some time now (e.g. due to the use of MD5). Thus we remove all support for _creating_ PGP 2 compatible messages.
2014-08-13gpg: Add list-option "show-usage".Werner Koch1-0/+7
* g10/gpg.c (parse_list_options): Add "show-usage". * g10/options.h (LIST_SHOW_USAGE): New. * g10/keyid.c (usagestr_from_pk): Add arg FILL. Change caller. * g10/keylist.c (list_keyblock_print): Print usage info.
2014-07-23gpg: Add command --quick-gen-keyWerner Koch1-3/+18
* g10/gpg.c (aQuickKeygen): New. * g10/misc.c (is_valid_user_id): New stub. * g10/keygen.c (quickgen_set_para): New. (quick_generate_keypair): New. -- Note that the validation of the specified user id has not yet been implemented.
2014-07-23gpg: Make --quick-sign-key promote local key signatures.Werner Koch1-1/+3
* g10/keyedit.c (sign_uids): Promote local sigs in quick mode.
2014-06-30gpg: Auto-create revocation certificates.Werner Koch1-0/+9
* configure.ac (GNUPG_OPENPGP_REVOC_DIR): New config define. * g10/revoke.c (create_revocation): Add arg "leadin". (gen_standard_revoke): New. * g10/openfile.c (get_openpgp_revocdir): New. (open_outfile): Add MODE value 3. * g10/keyid.c (hexfingerprint): New. * g10/keygen.c (do_generate_keypair): Call gen_standard_revoke. -- GnuPG-bug-id: 1042
2014-06-25doc: Update for modern makeinfo.Werner Koch1-4/+9
* doc/texi.css: Remove. * doc/Makefile.am (AM_MAKEINFOFLAGS): Use --css-ref.
2014-06-24doc: Improve the description of gpg's --export commands.Werner Koch1-9/+25
-- GnuPG-bug-id: 1655
2014-06-24doc: Add conditionals for GnuPG-1Werner Koch1-4/+7
2014-06-05gpg: Auto-migrate existing secring.gpg.Werner Koch1-6/+24
* g10/migrate.c: New. * g10/import.c (import_old_secring): New. (import_one): Add arg silent. (transfer_secret_keys): Add arg batch. (import_secret_one): Add args batch and for_migration. * g10/gpg.c (main): Call migration function.
2014-06-03Add new option --with-secret.Werner Koch1-0/+6
* g10/gpg.c: Add option --with-secret. * g10/options.h (struct opt): Add field with_secret. * g10/keylist.c (public_key_list): Pass opt.with_secret to list_all and list_one. (list_all, list_one): Add arg mark_secret. (list_keyblock_colon): Add arg has_secret. * sm/gpgsm.c: Add option --with-secret. * sm/server.c (option_handler): Add option "with-secret". * sm/gpgsm.h (server_control_s): Add field with_secret. * sm/keylist.c (list_cert_colon): Take care of with_secret. Also move the token string from the wrong field 14 to 15. -- This option is useful for key managers which need to know whether a key has a secret key. This change allows to collect this information in one pass.
2014-06-03doc: Minor texi updates.Werner Koch1-2/+2
--
2014-05-05dirmngr: Add support for hkps keyservers.Werner Koch1-0/+13
* dirmngr/dirmngr.c: Include gnutls.h. (opts): Add --gnutls-debug and --hkp-cacert. (opt_gnutls_debug, my_gnutls_log): New. (set_debug): Set gnutls log level. (parse_rereadable_options): Register a CA file. (main): Init GNUTLS. * dirmngr/ks-engine-hkp.c (ks_hkp_help): Support hkps. (send_request): Ditto.
2014-04-30gpg: Minor doc enhancementWerner Koch1-1/+3
--
2014-04-17gpg: New %U expando for the photo viewer.Werner Koch1-1/+1
* g10/photoid.c (show_photos): Set namehash. * g10/misc.c (pct_expando): Add "%U" expando. -- This makes is possible to extract all photos ids from a key to different files.
2014-03-27gpg: Add commands --quick-sign-key and --quick-lsign-key.Werner Koch1-0/+18
* g10/gpg.c (main): Add commands --quick-sign-key and --quick-lsign-key. * g10/keyedit.c (sign_uids): Add args FP and QUICK. (keyedit_quick_sign): New. (show_key_with_all_names): Add arg NOWARN.
2014-03-17gpg: Reject signatures made with MD5.Werner Koch1-3/+11
* g10/gpg.c: Add option --allow-weak-digest-algos. (main): Set option also in PGP2 mode. * g10/options.h (struct opt): Add flags.allow_weak_digest_algos. * g10/sig-check.c (do_check): Reject MD5 signatures. * tests/openpgp/defs.inc: Add allow_weak_digest_algos to gpg.conf.
2014-03-17gpg: New mechanism "clear" for --auto-key-locate.Werner Koch1-0/+4
* g10/getkey.c (parse_auto_key_locate): Implement "clear".
2014-03-12gpg: Add option --dirmngr-program.Werner Koch1-0/+19
* g10/gpg.c: Add option --dirmngr-program. * g10/options.h (struct opt): Add field dirmngr_program. * g10/call-dirmngr.c (create_context): Use new var. * dirmngr/dirmngr.c: Include gc-opt-flags.h. (main): Remove GC_OPT_FLAG_*. * tools/gpgconf-comp.c (GC_OPT_FLAG_NO_CHANGE): Move macro to ... * common/gc-opt-flags.h: here.
2014-02-05gpg: Change format for the key size in --list-key and --edit-key.Werner Koch1-0/+9
* g10/gpg.c (oLegacyListMode, opts, main): Add --legacy-list-mode. * g10/options.h (struct opt): Add field legacy_list_mode. * g10/keydb.h (PUBKEY_STRING_SIZE): New. * g10/keyid.c (pubkey_string): New. * g10/import.c (import_one, import_secret_one): Use pubkey_string. * g10/keylist.c (print_seckey_info): Ditto. (print_pubkey_info, print_card_key_info): Ditto. (list_keyblock_print): Ditto. * g10/mainproc.c (list_node): Ditto. * g10/pkclist.c (do_edit_ownertrust, build_pk_list): Ditto. * g10/keyedit.c (show_key_with_all_names): Ditto. Also change the format. (show_basic_key_info): Ditto. * common/openpgp-oid.c (openpgp_curve_to_oid): Also allow "ed25519". (openpgp_oid_to_curve): Downcase "ed25519" -- For ECC it seems to be better to show the name of the curve and not just the size of the prime field. The curve name does not anymore fit into the "<size><letter>" descriptor (e.g. "2048R") and a fixed length format does not work either. Thus the new format uses "rsa2048" - RSA with 2048 bit "elg1024" - Elgamal with 1024 bit "ed25519" - ECC using the curve Ed25519. "E_1.2.3.4" - ECC using the unsupported curve with OID "1.2.3.4". unless --legacy-list-mode is given. In does not anymore line up nicely in columns thus I expect further changes to this new format. Signed-off-by: Werner Koch <[email protected]>
2013-11-27gpg: Change armor Version header to emit only the major version.Werner Koch1-2/+6
* g10/options.h (opt): Rename field no_version to emit_version. * g10/gpg.c (main): Init opt.emit_vesion to 1. Change --emit-version to bump up opt.emit_version. * g10/armor.c (armor_filter): Implement different --emit-version values. -- GnuPG-bug-id: 1572 Signed-off-by: Werner Koch <[email protected]>
2013-10-04doc: Some gpg and gpgv clarifications.Werner Koch1-0/+8
-- GnuPG-bug-id: 1486, 1537
2013-05-07doc: fix some Texinfo warnings.Ian Abbott1-4/+8
* doc/gpg.texi: Fix syntax and add missing menu entries. * doc/gpgsm.texi: Fix subsectioning. -- These five patches fix some warnings from Texinfo 5 by adding some missing nodes and changing some sections to subsections, and moving an '@end ifset' to the start of a line. I also noticed the 'Deprecated options' subsection didn't appear in the GPG options menu, so I added it. (Texinfo never warned about it because it was after the last node in the menu.) 1) doc/gpg.texi: move '@end ifset' to start of line 2) doc/gpg.texi: Add missing node for 'Compliance options' section. 3) doc/gpg.texi: add node for 'Deprecated options' subsection. 4) doc/gpg.texi: make 'Unattended key generation' a subsection 5) doc/gpgsm.texi: fix subsectioning for Unattended Usage (all 5 merged into one patch by wk) (cherry picked from commit 4d67f59a336bfa0ff19fc23209940724196fd886) Signed-off-by: Werner Koch <[email protected]>
2013-04-19doc: Formatting fixes.Werner Koch1-4/+2
* doc/Makefile.am (.fig.jpg): Correct to use -L jpeg. * doc/gpg.texi: Fix cross reference for --options. * doc/gpgsm.texi: Likewise. * doc/gpl.texi: Fix enumerate and re-indent examples. -- Reported-by: Ian Abbott Signed-off-by: Werner Koch <[email protected]>
2013-04-04Fix doc for the Expire-Date key generation parameter.Werner Koch1-10/+12
--
2013-03-05Update RFC references to RFC 4880Daniel Kahn Gillmor1-2/+2
--
2013-02-07gpg: Add pinentry-mode feature.Werner Koch1-0/+20
* g10/gpg.c: Include shareddefs.h. (main): Add option --pinentry-mode. * g10/options.h (struct opt): Add field pinentry_mode. * g10/passphrase.c: Include shareddefs.h. (have_static_passphrase): Take care of loopback pinentry_mode. (read_passphrase_from_fd): Ditto. (get_static_passphrase): New. (passphrase_to_dek_ext): Factor some code out to ... (emit_status_need_passphrase): new. * g10/call-agent.c (start_agent): Send the pinentry mode. (default_inq_cb): Take care of the PASSPHRASE inquiry. Return a proper error code. (agent_pksign): Add args keyid, mainkeyid and pubkey_algo. (agent_pkdecrypt): Ditto. * g10/pubkey-enc.c (get_it): Pass new args. * g10/sign.c (do_sign): Pass new args. * g10/call-agent.c (struct default_inq_parm_s): New. Change all similar structs to reference this one. Change all users and inquire callback to use this struct, instead of NULL or some undefined but not used structs. This change will help to eventually get rid of global variables. -- This new features allows to use gpg without a Pinentry. As a prerequisite the agent must be configured to allow the loopback pinentry mode (option --allow-loopback-pinentry). For example gpg2 --pinentry-mode=loopback FILE.gpg may be used to decrypt FILE.gpg while entering the passphrase on the tty. If batch is used, --passphrase et al. may be used, if --command-fd is used, the passphrase may be provided by another process. Note that there are no try-again prompts in case of a bad passphrase.
2012-08-09Fix incorrect description of --delete-secret-keyWerner Koch1-1/+1
-- This is bug#1429.
2012-03-26Typo fixes in de.po.Werner Koch1-1/+1
-- This is bug#1276 and http://bugs.debian.org/594343
2011-11-30Rewrite dns-cert.c to not use the gpg-only iobuf stuff.Werner Koch1-0/+3
* common/dns-cert.c: Remove iobuf.h. (get_dns_cert): Rename to _get_dns_cert. Remove MAX_SIZE arg. Change iobuf arg to a estream-t. Rewrite function to make use of estream instead of iobuf. Require all parameters. Return an gpg_error_t error instead of the type. Add arg ERRSOURCE. * common/dns-cert.h (get_dns_cert): New macro to pass the error source to _gpg_dns_cert. * common/t-dns-cert.c (main): Adjust for changes in get_dns_cert. * g10/keyserver.c (keyserver_import_cert): Ditto. * doc/gpg.texi (GPG Configuration Options): Remove max-cert-size.
2011-11-02typo fixesWerner Koch1-2/+2
2011-10-12Put more options into the options indexWerner Koch1-669/+831
Also removed the single letter options from the index.
2011-07-18Clarify documentation of --keyid-format.Werner Koch1-1/+2
Fixes bug#1354.
2011-05-20Require libgpg-error 1.10Werner Koch1-1/+1
This allows to remove some error code substitutes. Fixed a typo in gpg.text.
2011-03-01Move parameter file description to the manual.Werner Koch1-15/+268
2010-10-29* gpg.texi (GPG Configuration Options): Clarify that show-photosDavid Shaw1-5/+6
doesn't work with --with-colons. --personal-digest-preferences does not have a default any longer.
2010-10-13More agent support for gpg.Werner Koch1-2/+16
2010-10-11Describe %v and %V.Werner Koch1-0/+3
2010-10-08Add new option --with-keygripWerner Koch1-0/+5
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-8/+24
A couple of forward ported changes. Doc updates.
2010-09-28Clarify that --force-v3-sigs disables (not enables) v4 optionsDavid Shaw1-6/+4
2010-07-16Some work on porting dirmngr (unfinished)Werner Koch1-5/+6
Ported gpgtar to W32.
2010-06-07Add unfinished gpgtar.Werner Koch1-1/+2
Collected changes and ports of bug fixes from stable.
2010-02-11Link to the bug tracker in the gpg man page.Werner Koch1-2/+6
2010-02-02Various changes to eventually support openpgp keys in pgp-agent.Werner Koch1-0/+7
Comment fixes. Minor chnages in preparation of a W32CE port.
2009-12-17Implement --faked-systrem-time for gpg.Werner Koch1-0/+7
Typo and comment fixes.
2009-12-03support numeric debug levels.Werner Koch1-0/+28