aboutsummaryrefslogtreecommitdiffstats
path: root/doc (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-02agent: Make --allow-external-password-cache work.Werner Koch1-2/+0
* agent/call-pinentry.c (start_pinentry): Remove first instance of sending the option. -- That option to tell Pinentry about an external password cache was send twice and the first one unconditionally. Signed-off-by: Werner Koch <[email protected]>
2015-05-19agent: Backport changes from 2.1 to support an external password manager.Neal H. Walfield1-0/+14
* agent/agent.h (agent_askpin): Add arguments keyinfo and cache_mode. Update callers. (agent_get_passphrase): Likewise. (agent_clear_passphrase): New function. (opt): Add field allow_external_cache. * agent/call-pinentry.c (start_pinentry): Send "OPTION allow-external-password-cache" to the pinentry. (PINENTRY_STATUS_PASSWORD_FROM_CACHE): New constant. (pinentry_status_cb): New function. (agent_askpin): Add arguments keyinfo and cache_mode. If KEYINFO and CACHE_MODE describe a cachable key, then send SETKEYINFO to the pinentry. Pass PINENTRY_STATUS_CB to the "GETPIN" invocation. If the passphrase was incorrect and PINENTRY_STATUS_PASSWORD_FROM_CACHE is set, decrement PININFO->FAILED_TRIES. (agent_get_passphrase): Add arguments keyinfo and cache_mode. If KEYINFO and CACHE_MODE describe a cachable key, then send SETKEYINFO to the pinentry. (agent_clear_passphrase): New function. * agent/call-pinentry.c (start_pinentry): Act upon new var, allow_external_cache. * agent/command.c (cmd_clear_passphrase): Call agent_clear_passphrase. * agent/gpg-agent.c (oNoAllowExternalCache): New. (opts): Add option --no-allow-external-cache. (parse_rereadable_options): Set this option. -- Signed-off-by: Neal H. Walfield <[email protected]> Based on commits: 3a9305439b75ccd4446378d4fd87da087fd9c892 e201c20f25e7bed29088186c5f717d43047a0f4b d7293cb317acc40cc9e5189cef33fe9d8b47e62a 56b5c9f94f2e55d096be585ed061ccf1c9ec0de6 d3b5cad2346bd5747789dc62d7804fa5c15f4f3b 2180845959839705200e3172dbafc94b70b9007f
2015-04-16gpg: Emit status line NEWSIG before signature verification starts.Werner Koch1-3/+3
* g10/mainproc.c (check_sig_and_print): Emit STATUS_NEWSIG. -- gpgsm does this for a long time but somehow it never made it into gpg. Signed-off-by: Werner Koch <[email protected]> (backported from 2.1 commit e7ddaad0fd2c8774a1d3367adfaa68014eaf65de)
2015-03-25doc: Document the changed default algos for gpgsm.Werner Koch1-2/+2
--
2015-02-12doc: Change remaining http links to gnupg.org to httpsWerner Koch1-1/+1
-- GnuPG-bug-id: 1830
2015-01-28gpg: Allow predefined names as answer to the keygen.algo prompt.Werner Koch1-0/+28
* g10/keygen.c (ask_algo): Add list of strings. -- Signed-off-by: Werner Koch <[email protected]> (backported from commit b1d5ed6ac842469afcb84868d0f6641dc286a6c7)
2015-01-13doc: Fix memory leak in yat2m.Werner Koch1-0/+1
* doc/yat2m.c (write_th): Free NAME. -- Reported-by: Joshua Rogers <[email protected]>
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 ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39)
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. -- This is a cherry-pick of 534e2876acc05f9f8d9b54c18511fe768d77dfb5 from STABLE-BRANCH-1-4 against STABLE-BRANCH-2-0 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-27doc: Update the file OpenPGPWerner Koch1-11/+10
-- It should actually be completey reworked but for now I added just a few notes.
2014-09-26gpg: Add shortcut for setting key capabilities.Werner Koch1-10/+25
* g10/keygen.c (ask_key_flags): Add shortcut '='. * doc/help.txt (gpg.keygen.flags): New.
2014-06-24Post release updatesWerner Koch1-3/+3
--
2014-06-24Release 2.0.24gnupg-2.0.24Werner Koch1-4/+9
2014-06-24doc: Update from master.Werner Koch4-29/+96
--
2014-06-03doc: Update for modern makeinfo.Werner Koch2-11/+5
* doc/texi.css: Remove. * doc/Makefile.am (AM_MAKEINFOFLAGS): Use --css-ref.
2014-06-03doc: Adjust Makefile for fixed yat2m.Werner Koch1-6/+3
* doc/Makefile.am (yat2m-stamp): Remove dirmngr-client hack.
2014-06-03doc: Update from masterWerner Koch4-96/+309
--
2014-06-03gpg: 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. (cherry picked from commit e184a11f94e2d41cd9266484542631bec23628b5) Resolved conflicts: g10/photoid.c - whitespaces
2014-06-03gpg: 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/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
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 masterWerner Koch3-0/+17
2013-08-21scd: Improve --enable-pinpad-varlen.Werner Koch1-4/+4
* tools/gpgconf-comp.c (gc_options_scdaemon): Add enable-pinpad-varlen. * scd/apdu.c (check_pcsc_pinpad): Detect SPRx32 reader. Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit 7bde2bf3b0ddb5d3515a44879e1a7ddb581a5c0b)
2013-08-01w32: Add code to support a portable use of GnuPG.Werner Koch1-8/+20
* common/homedir.c (w32_bin_is_bin, w32_portable_app) [W32]: New. (check_portable_app) [W32]: New. (standard_homedir, default_homedir) [W32]: Support the portable flag. (w32_rootdir, w32_commondir) [W32]: Ditto. (gnupg_bindir) [W32]: Ditto. -- A portable use of GnuPG under Windows means that GnuPG uses a home directory depending on the location of the actual binary. No registry variables are considered. The portable mode is enabled if in the installation directory of the the binary "gpgconf.exe" and a file "gpgconf.ctl" are found. The latter file shall be empty or consist only of empty or '#'-style comment lines. Signed-off-by: Werner Koch <[email protected]>
2013-05-07doc: fix some Texinfo warnings.Ian Abbott2-8/+12
* 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)
2013-04-24Point to copies in the master branch for some doc file.Jedi1-0/+6
--
2013-04-22Update docs from master.Werner Koch5-38/+146
* doc/gpg-agent.texi: Update from master. * doc/gpg.texi: Ditto. * doc/gpgsm.texi: Ditto. * doc/gpl.texi: Ditto. * doc/yat2m.c: Ditto. -- (updated from commit d6798d261cbe6519ef5b3ebb474e2ad348442c0c)
2013-02-12Japanese: minor doc update.NIIBE Yutaka1-1/+1
* doc/help.ja.txt: Update.
2013-02-12Japanese: updated po and doc.NIIBE Yutaka1-175/+224
* doc/help.ja.txt, po/ja.po: Updated.
2013-02-08scd: Rename 'keypad' to 'pinpad'.NIIBE Yutaka1-4/+12
* NEWS: Mention scd changes. * agent/divert-scd.c (getpin_cb): Change message. * agent/call-scd.c (inq_needpin): Change the protocol to POPUPPINPADPROMPT and DISMISSPINPADPROMPT. * scd/command.c (pin_cb): Likewise. * scd/apdu.c (struct reader_table_s): Rename member functions. (check_pcsc_pinpad, pcsc_pinpad_verify, pcsc_pinpad_modify, check_ccid_pinpad, ccid_pinpad_operation, apdu_check_pinpad apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/apdu.h (SW_HOST_NO_PINPAD, apdu_check_pinpad) (apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/iso7816.h (iso7816_check_pinpad): Rename. * scd/iso7816.c (map_sw): Use SW_HOST_NO_PINPAD. (iso7816_check_pinpad): Rename. (iso7816_verify_kp, iso7816_change_reference_data_kp): Follow the change. * scd/ccid-driver.h (CCID_DRIVER_ERR_NO_PINPAD): Rename. * scd/ccid-driver.c (ccid_transceive_secure): Use it. * scd/app-dinsig.c (verify_pin): Follow the change. * scd/app-nks.c (verify_pin): Follow the change. * scd/app-openpgp.c (check_pinpad_request): Rename. (parse_login_data, verify_a_chv, verify_chv3, do_change_pin): Follow the change. * scd/scdaemon.c (oDisablePinpad, oEnablePinpadVarlen): Rename. * scd/scdaemon.h (opt): Rename to disable_pinpad, enable_pinpad_varlen. * tools/gpgconf-comp.c (gc_options_scdaemon): Rename to disable-pinpad.
2012-11-30Update sample keysDavid Shaw1-893/+874
2012-05-24Print the hash algorithm in colon mode key listing.Werner Koch1-2/+6
* g10/keylist.c (list_keyblock_colon): Print digest_algo.
2012-03-27Update texinfo source from master.Werner Koch6-765/+985
* doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi * doc/scdaemon.texi, doc/tools.texi: Update. * doc/yat2m.c: Update.
2012-03-27Add target to update the texinfo files from master.Werner Koch1-0/+10
* doc/Makefile.am (update-source): New.
2012-03-26Update samplekeys and NEWS.Werner Koch1-420/+919
* doc/samplekeys.asc: Update.
2012-01-31gpg: Add a DECRYPTION_INFO status.Werner Koch1-23/+29
* common/status.h (STATUS_DECRYPTION_INFO): New. * g10/encr-data.c: Include status.h. (decrypt_data): Emit STATUS_DECRYPTION_INFO line. -- DECRYPTION_INFO <mdc_method> <sym_algo> Print information about the symmetric encryption algorithm and the MDC method. This will be emitted even if the decryption fails.
2012-01-11Refresh sample keysDavid Shaw1-432/+411
2011-12-02Generate the ChangeLog from commit logs.Werner Koch3-11/+42
* scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * scripts/git-hooks/commit-msg: New script. * autogen.sh: Install commit-msg hook for git. * doc/HACKING: Describe the ChangeLog policy. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011.
2011-08-04Prepare for the 2.0.18 release.gnupg-2.0.18Werner Koch5-149/+659
Copied texi files from master. Updated de.po. Added more file to gitignore. Removed the large PKITS tarball. General release preparations.
2011-08-04Support a confirm flag for ssh.Werner Koch1-2/+9
This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
2011-01-13Finished preparations for 2.0.17gnupg-2.0.17Werner Koch13-88/+468
2010-11-11Fix a bug where scdaemon kills a non-daemon gpg-agent.Werner Koch1-12/+28
Fix a passphrase cache annoyance.
2010-09-24Fix bug 1285Werner Koch1-2/+2
2010-09-16Fix --include-certs entry.Werner Koch1-4/+3
2010-06-17Make CAST5 the default s2k algo tomatch the doc and gpg 1.4.Werner Koch1-1/+2
2010-05-11Allow to run the test without a running agent.Werner Koch1-2/+3
Add new gpg-agent commands.
2010-05-04Start the agent on demand if option --enable-standard socket has beenWerner Koch1-1/+5
enabled.
2010-03-05Minor changeWerner Koch2-1/+7
2010-02-11Minor changes.Werner Koch2-13/+24
2010-01-11Implement command --passwd for GPG.Werner Koch1-0/+8
2009-12-10Add option --ignore-cert-extensionWerner Koch1-1/+10