aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-19Release 1.4.20gnupg-1.4.20Werner Koch1-1/+1
2015-12-19gpg: Add option --weak-digest to gpg and gpgv.Daniel Kahn Gillmor1-3/+14
* g10/options.h: Add weak_digests linked list to opts. * g10/main.h: Declare weakhash linked list struct and additional_weak_digest() function to insert newly-declared weak digests into opts. * g10/misc.c: (additional_weak_digest): New function. (print_digest_algo_note): Check for deprecated digests. * g10/sig-check.c: (do_check): Reject all weak digests. * g10/gpg.c: Add --weak-digest option to gpg. * doc/gpg.texi: Document gpg --weak-digest option. * g10/gpgv.c: Add --weak-digest option to gpgv. * doc/gpgv.texi: Document gpgv --weak-digest option. -- gpg and gpgv treat signatures made over MD5 as unreliable, unless the user supplies --allow-weak-digests to gpg. Signatures over any other digest are considered acceptable. Despite SHA-1 being a mandatory-to-implement digest algorithm in RFC 4880, the collision-resistance of SHA-1 is weaker than anyone would like it to be. Some operators of high-value targets that depend on OpenPGP signatures may wish to require their signers to use a stronger digest algorithm than SHA1, even if the OpenPGP ecosystem at large cannot deprecate SHA1 entirely today. This changeset adds a new "--weak-digest DIGEST" option for both gpg and gpgv, which makes it straightforward for anyone to treat any signature or certification made over the specified digest as unreliable. This option can be supplied multiple times if the operator wishes to deprecate multiple digest algorithms, and will be ignored completely if the operator supplies --allow-weak-digests (as before). MD5 is always considered weak, regardless of any further --weak-digest options supplied. Signed-off-by: Daniel Kahn Gillmor <[email protected]> (this is a rough cherry-pick of applying the following commits to STABLE-BRANCH-1-4: 76afaed65e3b0ddfa4923cb577ada43217dd4b18 b98939812abf6c643c752ce7c325f98039a1a9e2 91015d021b3dcbe21ad0e580a4f34c523abf9e72 )
2015-12-19gpg: Reject signatures made with MD5.Werner Koch1-1/+8
* 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/gpg.conf.tmpl: Add allow_weak_digest_algos. -- (cherry picked from commit f90cfe6b66269de0154d810c5cee1fe9a5af475c) Resolved conflicts: g10/gpg.c - adjust. tests/openpgp/defs.inc - no changes
2015-12-17gpg: Change default cipher for --symmetric from CAST5 to AES-128.Werner Koch1-1/+1
* g10/main.h (DEFAULT_CIPHER_ALGO): Change to AES or CAST5 or 3DES depending on configure options. * g10/gpg.c (main): Set opt.s2k_cipher_algo to DEFAULT_CIPHER_ALGO. -- (cherry picked from commit 57df1121c18b004dd763b35eabf7b51fc9e8ec38) Signed-off-by: Werner Koch <[email protected]>
2015-09-01Obsolete option --no-sig-create-check.Werner Koch1-6/+1
* cipher/rsa.c (rsa_sign): Verify after sign. * g10/gpg.c (opts): Make --no-sig-create-check a NOP. * g10/options.h (opt): Remove field "no_sig_create_check". * g10/sign.c (do_sign): Do check only for DSA. Signed-off-by: Werner Koch <[email protected]>
2015-02-26doc: Fix name of keep-ownertrust.Werner Koch1-1/+1
-- Reported-by: Guilhem Moulin <[email protected]>
2015-02-23doc: Add warning note about not acting as an oracle to --batch.Werner Koch1-6/+17
--
2015-02-23doc: Change remaining http links to gnupg.org to httpsWerner Koch1-1/+1
-- GnuPG-bug-id: 1830 [dkg: rebased to STABLE-BRANCH-1-4] Signed-off-by: Daniel Kahn Gillmor <[email protected]>
2014-11-14gpg: Make the use of "--verify FILE" for detached sigs harder.Werner Koch1-10/+17
* g10/openfile.c (open_sigfile): Factor some code out to ... (get_matching_datafile): new function. * g10/plaintext.c (hash_datafiles): Do not try to find matching file in batch mode. * g10/mainproc.c (check_sig_and_print): Print a warning if a possibly matching data file is not used by a standard signatures. -- Allowing to use the abbreviated form for detached signatures is a long standing bug which has only been noticed by the public with the release of 2.1.0. :-( What we do is to remove the ability to check detached signature in --batch using the one file abbreviated mode. This should exhibit problems in scripts which use this insecure practice. We also print a warning if a matching data file exists but was not considered because the detached signature was actually a standard signature: gpgv: Good signature from "Werner Koch (dist sig)" gpgv: WARNING: not a detached signature; \ file 'gnupg-2.1.0.tar.bz2' was NOT verified! We can only print a warning because it is possible that a standard signature is indeed to be verified but by coincidence a file with a matching name is stored alongside the standard signature. Reported-by: Simon Nicolussi (to gnupg-users on Nov 7) Signed-off-by: Werner Koch <[email protected]> (backported from commit 69384568f66a48eff3968bb1714aa13925580e9f) Updated doc/gpg.texi.
2014-11-12gpg: Add import option "keep-ownertrust".Werner Koch1-0/+9
* g10/options.h (IMPORT_KEEP_OWNERTTRUST): New. * g10/import.c (parse_import_options): Add "keep-ownertrust". (import_one): Act upon new option. -- This option is in particular useful to convert from a pubring.gpg to the new pubring.kbx in GnuPG 2.1 or vice versa: gpg1 --export | gpg2 --import-options keep-ownertrust --import (cherry-picked from commit da95d0d37841b34e2f3d7047f14ab4d98a7c0c56)
2014-10-03doc: Minor fixWerner Koch1-1/+1
-- Thanks to dkg for the reminder.
2014-10-03gpg: Add build and runtime support for larger RSA keysDaniel Kahn Gillmor1-0/+9
* configure.ac: Added --enable-large-secmem option. * g10/options.h: Add opt.flags.large_rsa. * g10/gpg.c: Contingent on configure option: adjust secmem size, add gpg --enable-large-rsa, bound to opt.flags.large_rsa. * g10/keygen.c: Adjust max RSA size based on opt.flags.large_rsa * doc/gpg.texi: Document --enable-large-rsa. -- Some older implementations built and used RSA keys up to 16Kib, but the larger secret keys now fail when used by more recent GnuPG, due to secure memory limitations. Building with ./configure --enable-large-secmem will make gpg capable of working with those secret keys, as well as permitting the use of a new gpg option --enable-large-rsa, which let gpg generate RSA keys up to 8Kib when used with --batch --gen-key. Debian-bug-id: 739424 Minor edits by wk. GnuPG-bug-id: 1732
2014-09-29doc: Cleanup gpg.texi.Werner Koch1-325/+13
-- We don't need the gpgone and gpgtwoone macros anymore.
2014-09-29doc: Final update from master (gnupg 2.1)Werner Koch1-29/+117
* doc/Makefile.am (sources_from_trunk): Remove. (update-source): Make it a dummy. * doc/gpg.texi: Update. * doc/yat2m.c: Update. -- Maintaining 3 versions in of the gpg manual in one file is getting more complicated with 2.1. Thus we stop this now and keep the manual for 1.4 separate.
2014-06-23doc: Update from master.Werner Koch1-11/+112
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]> (cherry picked from commit e951782e937ce290be0d89d83e84b3daea997587) Resolved conflicts: NEWS g10/armor.c g10/gpg.c
2013-10-04doc: Update from master.Werner Koch1-20/+52
2012-12-20Update manuals from masterWerner Koch1-2/+2
* doc/Makefile.am (update-source): Copy from Git master. (update-source-from-gnupg-2): Remove. * doc/gpg.texi: Fix minor typos and grammar bugs. * doc/yat2m.c: Change diagnostics to updated coding standards.
2012-01-30Update documentation.Werner Koch1-662/+1082
* doc/gpg.texi, doc/specify-user-id.texi, doc/yat2m.c: Update from current GnuPG master (commit bdde44a).
2010-10-18Prepare for 1.4.11Werner Koch1-29/+124
2010-06-01Fix bug 1231.Werner Koch1-1/+2
Minor doc improvement.
2009-09-02Preparing 1.4.10.Werner Koch1-110/+111
2009-08-18Update doc. This time also the included files.Werner Koch1-15/+28
2009-08-13Preparing for a release candidateWerner Koch1-89/+185
2007-12-12Type fixes and @samp{} fix. From gnupg-2.Werner Koch1-6/+10
2007-12-03Comment typ fixes.Werner Koch1-1/+1
Workaround for bad translations of the capability menu.
2007-10-27* gpg.texi: Update from gnupg-2.David Shaw1-18/+22
2007-10-23Switched to GPLv3.Werner Koch1-23/+53
Updated gettext.
2007-03-05Preparing 1.4.7gnupg-1.4.7Werner Koch1-15/+50
2006-12-06Preparing a releasegnupg-1.4.6Werner Koch1-0/+2695
2006-12-04Changing the way man pages are build.Werner Koch1-2231/+0
2006-06-25About to do a new releaseWerner Koch1-21/+49
2006-04-03About to release 1.4.3gnupg-1.4.3Werner Koch1-103/+188
2005-10-17exported subkeys are now merged into one output keyblockWerner Koch1-29/+57
2005-07-26Updated.Werner Koch1-20/+37
2005-06-21.Werner Koch1-27/+122
2005-03-15Preparing a releaseV1-4-1Werner Koch1-0/+4
2005-02-16* card-util.c (fetch_url): Fetch the key from the defaultWerner Koch1-5/+17
keyserver if no URL is available. * w32installer.nsi: Added page to select the language. * mk-w32-dist: Create the opt.ini using the available languages.
2004-12-16Add a note on how to send translations.Werner Koch1-42/+48
2004-10-26* configure.ac: New option --disable-gnupg-iconv, defineWerner Koch1-2/+2
USE_GNUPG_ICONV. (AC_CANONICAL_TARGET): Replaced by AC_CANONICAL_HOST. Changed all reference to TARGET to HOST. Made sure that i586-mingw32msvc gets detected as mingw32. (UNIT64_C): Don't include inttype.h uncoditional but use a test to ensure that it gets into conftest.h. (AH_TOP): New. Prevent double inclusion of config.h. * config.links: Use HOST instead of TARGET.
2004-10-15RebuiltWerner Koch1-9/+22
2004-10-01* mk-w32-dist: Updated from stable branch.Werner Koch1-623/+760
* mk-gpg-texi: Changed to use the newer docbook2x-texi utility. * config.guess, config.sub, mkinstalldirs, missing * depcomp, install-sh: Upgraded.
2003-10-10Updated texinfo filesWerner Koch1-58/+187
2003-05-27About to release 1.3.2V1-3-2Werner Koch1-225/+371
2002-09-11Updated texi filesWerner Koch1-44/+148
2002-07-01Better keep it in the CVSWerner Koch1-0/+1427