aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Expand)AuthorFilesLines
2021-03-04common: Rename w32-misc.c to w32-cmdline.cHEADmasterWerner Koch3-4/+4
2021-03-04common,w32: Implement globing of command line args.Werner Koch4-18/+325
2021-03-04common,w32: Refine the command line parsing for \ in quotes.Werner Koch2-6/+33
2021-03-04common: First take on handling Unicode command line args.Werner Koch5-6/+459
2021-02-21tools,w32: Add resource and manifest files to all binaries.Werner Koch1-2/+2
2021-02-10Require GpgRT version 1.41.Werner Koch1-19/+0
2021-01-28Include the library version in the compliance checks.Werner Koch2-15/+64
2021-01-25agent: Support ssh-agent extensions for environment variables.Werner Koch1-3/+35
2021-01-19Require Libgcrypt 1.9Werner Koch2-6/+0
2021-01-11gpg,w32: Fix gnupg_remove.Werner Koch3-1/+132
2020-12-21common: Remove superfluous debug output from dotlock.c.Werner Koch1-2/+0
2020-11-18build: Update to newer autoconf constructs.NIIBE Yutaka1-4/+4
2020-11-18build: Use modern Autoconf check for types.NIIBE Yutaka1-11/+11
2020-11-05gpg: Add canceled status message.Ben Kibbey1-0/+1
2020-11-04common: Fix duplicate implementation of try_make_homedir.Werner Koch2-0/+34
2020-11-04w32: Add another pinentry search pathAndre Heinecke1-0/+2
2020-11-03w32: Fix strftime problem on Windows.Werner Koch1-2/+31
2020-10-23common: Allow building with released libgpg-error.Werner Koch1-7/+9
2020-10-21common: New functions gnupg_opendir et al.Werner Koch2-0/+180
2020-10-21w32: Make gnupg_remove and gnupg_rename_file Unicode awareWerner Koch1-3/+33
2020-10-20Replace all calls to stat by gnupg_stat.Werner Koch3-1/+50
2020-10-20Replace most calls to open by a new wrapper.Werner Koch3-15/+67
2020-10-20w32: Allow Unicode filenames for dotlockWerner Koch2-27/+192
2020-10-20Replace most of the remaining stdio calls by estream calls.Werner Koch2-6/+8
2020-10-20Replace all calls to access by gnupg_accessWerner Koch6-63/+69
2020-10-02w32: Silence warning due to recent change of split_fields.Werner Koch1-1/+1
2020-09-24keyboxd: Integrate into gpgconf.Werner Koch3-1/+15
2020-09-22common: Fix name of keyboxd.Werner Koch1-1/+1
2020-09-18common,agent,dirmngr,g10,tools: Fix split_fields API.NIIBE Yutaka3-8/+10
2020-09-11common: New function cmp_canon_sexp.Werner Koch4-2/+200
2020-09-09agent: Keep some permissions of private-keys-v1.d.Werner Koch1-23/+41
2020-09-09kbx: Change X.509 S/N search definition.Werner Koch1-1/+2
2020-09-02common: New helper function gnupg_close_pipe.Werner Koch3-0/+21
2020-09-01Use only one copy of the warn_server_mismatch function.Werner Koch5-1/+110
2020-08-28common: Fix fallback handling to utf-8.NIIBE Yutaka1-1/+1
2020-08-21common: Use gpgrt functions for mkdir and chdir.Werner Koch1-24/+6
2020-08-21common,w32: Do not assume the ANSI code during string conversion.Werner Koch1-2/+21
2020-08-21common: Strip trailing CR,LF from w32_strerror.Werner Koch2-1/+7
2020-08-20gpgtar: Make --files-from and --null work as described.Werner Koch3-1/+32
2020-08-20build: New configure option --disable-testsWerner Koch1-0/+4
2020-08-19common: Fix iobuf.c.NIIBE Yutaka1-3/+3
2020-08-19Silence compiler warnings.NIIBE Yutaka1-1/+1
2020-08-12common: Pass the WAYLAND_DISPLAY envvar alongWerner Koch1-0/+1
2020-08-06common: New helper function gnupg_chuid.Werner Koch2-0/+99
2020-08-03w32: Fix cast from intptr_t of _get_osfhandle.NIIBE Yutaka1-1/+1
2020-07-30w32: More adding NETLIBS.NIIBE Yutaka1-1/+1
2020-07-28Revert patches applied wrongly.NIIBE Yutaka1-0/+11
2020-07-17scd: PC/SC: Don't release the context when it's in use.NIIBE Yutaka1-11/+0
2020-07-16common: Avoid undefined behavior of left shift operator.NIIBE Yutaka1-5/+11
2020-07-14gpgsm: Make rsaPSS a compliant scheme in de-vs mode.Werner Koch1-8/+4
2020-07-03sm: Exclude rsaPSS from de-vs compliance mode.Werner Koch2-2/+18
2020-07-02Support a history file in gpg-card and gpg-connect-agent.Werner Koch4-5/+110
2020-06-24gpg,agent: Support Ed448 signing.NIIBE Yutaka2-1/+9
2020-06-23ecc: Use "cv448" to specify key using X448.NIIBE Yutaka2-9/+16
2020-06-09gpg: Add X448 support.NIIBE Yutaka2-0/+29
2020-05-19common: New function to extract Q from an ECC key.Werner Koch2-1/+93
2020-05-08sm: Print algorithm infos in data decryption mode.Werner Koch2-0/+17
2020-05-08sm: Cleanup the use of GCRY_PK_ECC and GCRY_PK_ECDSA.Werner Koch2-0/+18
2020-05-07sm: Print the key types as standard key algorithm strings.Werner Koch1-3/+3
2020-05-04doc: Typo fixes in code commentsWerner Koch1-1/+1
2020-04-24common: Add an easy to use DER builder.Werner Koch4-120/+416
2020-04-23common: Add functions to help create DER objects.Werner Koch2-2/+111
2020-04-09common: New function to map hash algo names.Werner Koch2-0/+42
2020-03-27sm: Consider certificates w/o CRL DP as valid.Werner Koch1-0/+1
2020-03-14gpgconf: Further simplify the gpgconf option processing.Werner Koch1-4/+0
2020-03-13gpg: New option --include-key-block.Werner Koch1-0/+1
2020-03-04common: Add xreallocarray function.Werner Koch2-0/+19
2020-02-22Remove the now obsolete argparse code.Werner Koch4-1872/+0
2020-02-20gpg: Use gpgrt's new option parser to provide a global conf file.Werner Koch2-1/+3
2020-02-19build: Require libgpg-error 1.38Werner Koch1-8/+0
2020-02-18Spelling cleanup.Daniel Kahn Gillmor13-16/+16
2020-02-17sm: Remove left over debug output.Werner Koch1-1/+0
2020-02-15gpgsm: Fix import of some CR,LF ternminated certificatesWerner Koch1-8/+18
2020-02-11common: Extend the openpgp_curve_to_oid function.Werner Koch3-4/+13
2020-02-10build: Always use EXTERN_UNLESS_MAIN_MODULE pattern.Werner Koch3-8/+10
2020-02-10common: Extend the new get_keyalgo_string functionWerner Koch2-5/+29
2020-02-09common: Remove duplicated call to a function.Werner Koch1-1/+0
2020-02-09common: New function get_keyalgo_string.Werner Koch3-2/+194
2020-02-09common: Add OpenPGP<->Gcrypt pubkey id mapping functions.Werner Koch2-1/+37
2020-01-17gpgconf,w32: Print a warning for a suspicious homedir.Werner Koch1-0/+3
2020-01-13gpg,sm: Avoid useless ASFW diagnostic in loopback mode.Werner Koch2-0/+22
2020-01-09scd: Use a scdaemon internal key to protect the PIN cache IPC.Werner Koch1-1/+1
2019-12-23doc: Typ fix in commentWerner Koch1-1/+1
2019-11-28kbx: Redefine the UBID which is now the primary fingerprint.Werner Koch2-1/+5
2019-10-01common: New function hex2fixedbuf.Werner Koch3-1/+71
2019-09-27Merge branch 'switch-to-gpgk' into masterWerner Koch9-180/+312
2019-09-27kbx,gpg: Allow lookup using a UBID.Werner Koch1-0/+14
2019-09-17tests: Add two user-id parsing test cases.Werner Koch1-0/+6
2019-09-10gpg: First rough implementation of keyboxd access for key lookup.Werner Koch1-9/+13
2019-09-10common: Allow a readlimit for iobuf_esopen.Werner Koch2-4/+39
2019-09-05gpg: Prepare parser for the new attestation certificates.Werner Koch1-0/+2
2019-08-06tools: New option --keyboxd for gpg-connect-agent.Werner Koch4-9/+62
2019-08-06common: Fix line break handling, finding a space.NIIBE Yutaka1-3/+3
2019-08-05common: Remove code duplication for service starting.Werner Koch2-148/+113
2019-08-02common: Change yet unused status_printf function.Werner Koch2-2/+23
2019-07-24common: Fix the previous commit.NIIBE Yutaka1-0/+9
2019-07-24common: Use gnupg_spawn_process_fd to invoke gpg-agent/dirmngr.NIIBE Yutaka1-3/+13
2019-07-24common,w32: Fix cast from gnupg_fd_t to call _open_osfhandle.NIIBE Yutaka1-2/+2
2019-07-12Merge branch 'master' into switch-to-gpgkWerner Koch10-27/+170
2019-07-12Fix a reference in comment.NIIBE Yutaka1-1/+1
2019-05-27gpg: Allow deletion of subkeys with --delete-[secret-]key.Werner Koch1-3/+4
2019-05-07common: New functions nvc_delete_named and nvc_get_string.Werner Koch3-0/+65
2019-05-03common: In private key mode write "Key:" always last in name-value.Werner Koch1-13/+40
2019-04-29common,w32: Breakaway detached childs when in jobAndre Heinecke1-0/+45
2019-04-16common: Fix AWK portability.NIIBE Yutaka2-7/+7
2019-04-02common: Extend function pubkey_algo_string.Werner Koch2-3/+8
2019-03-18Merge branch 'master' into switch-to-gpgkWerner Koch36-246/+1166
2019-03-14kbx: Unify the fingerprint search modes.Werner Koch1-5/+14
2019-03-14kbx: Add support for 32 byte fingerprints.Werner Koch1-7/+38
2019-03-07common: Minor rework of tty_get.Werner Koch1-118/+142
2019-02-11scd: For PIV cards used NO_AUTH instead of BAD_PIN.Werner Koch1-1/+4
2019-02-08common: Provide function to get public key algo names in our format.Werner Koch2-0/+59
2019-02-08common: New functions get_option_value and ascii_strupr.Werner Koch4-1/+71
2019-01-30card: Print matching OpenPGP and X.509 data.Werner Koch1-0/+7
2019-01-30common: Add kludge to allow silencing gnupg_exec_tool_stream.Werner Koch1-4/+15
2019-01-30common: New function decode_c_string.Werner Koch2-0/+77
2019-01-29common: Provide some convenient OpenPGP related constants.Werner Koch1-1/+5
2019-01-29common: New helper functions for OpenPGP curve OIDs.Werner Koch3-34/+66
2019-01-26gpg: Move S2K encoding function to a shared file.Werner Koch4-1/+80
2019-01-24common: Extend function percent_data_escape.Werner Koch3-25/+223
2019-01-22common: Add generic status print function.Werner Koch2-0/+62
2018-12-01common/iobuf: fix memory wiping in iobuf_copyJussi Kivilinna1-1/+6
2018-12-01common/mischelp: use platform memory zeroing function for wipememoryJussi Kivilinna2-9/+19
2018-11-12common: Prepare for parsing mail sub-addresses.Werner Koch3-9/+120
2018-11-11common: Add --filter option to t-mbox-util.Werner Koch1-4/+94
2018-11-08common/iobuf: optimize iobuf_read_lineJussi Kivilinna1-5/+43
2018-10-25all: fix more spelling errorsDaniel Kahn Gillmor2-2/+2
2018-10-25headers: fix spellingDaniel Kahn Gillmor2-2/+2
2018-10-24all: fix spelling and typosDaniel Kahn Gillmor10-14/+14
2018-10-24agent: Fix possible uninitalized use of CTX in simple_pwquery.Werner Koch1-0/+1
2018-10-02common: Fix gnupg_reopen_std.NIIBE Yutaka1-6/+5
2018-09-10common: Use iobuf_get_noeof to avoid undefined behaviors.NIIBE Yutaka1-3/+3
2018-09-06Fix use of strncpy, which is actually good to use memcpy.NIIBE Yutaka1-1/+1
2018-09-05common: New function status_printf.Werner Koch2-0/+43
2018-07-27common: New function to validate domain names.Werner Koch3-2/+93
2018-07-02common: New function percent_data_escape.Werner Koch3-1/+95
2018-06-21build: Remove duplicates from AC_CHECK_FUNCSWerner Koch1-1/+1
2018-06-12Some preparations to eventuallt use gpgrt_argparse.Werner Koch1-1/+5
2018-06-12Require libgpg-error 1.29 and remove internal logging functions.Werner Koch4-1227/+5
2018-05-29gpg: Remove PGP6 compliance mode.Werner Koch2-3/+1
2018-05-13Merge branch 'STABLE-BRANCH-2-2' into masterWerner Koch2-1/+2
2018-05-02gpg: Fix "Too many open files" when using --multifile.Werner Koch1-0/+1
2018-05-02common,w32: Hide spawned processes by defaultAndre Heinecke1-1/+1
2018-04-10Merge branch 'STABLE-BRANCH-2-2' into masterWerner Koch1-32/+63
2018-04-09gpg,w32: Fix empty homedir when only a drive letter is used.Werner Koch1-32/+63
2018-03-27Merge branch 'STABLE-BRANCH-2-2' into masterWerner Koch2-0/+48
2018-03-23agent: New OPTION pretend-request-originWerner Koch2-0/+48
2018-03-21Change license of argparse.c back to LGPLv2.1Werner Koch2-45/+28
2018-02-22Merge branch 'STABLE-BRANCH-2-2'Werner Koch4-2/+72
2018-02-22Release 2.2.5Werner Koch2-2/+2
2018-02-14common: Use new function to print status strings.Werner Koch2-0/+70
2018-01-25Merge branch 'STABLE-BRANCH-2-2' into masterWerner Koch2-1/+28
2018-01-24gpg: New maintainer option --debug-set-iobuf-size.Werner Koch1-3/+1
2018-01-24iobuf: Increase the size of the buffer. Add iobuf_set_buffer_size.Werner Koch2-35/+89
2018-01-21gpg: First take on PKT_ENCRYPTED_AEAD.Werner Koch1-0/+2
2018-01-10gpg: Add option and preference framework for AEAD.Werner Koch1-1/+11
2017-12-22kbx: Simplify by removing custom memory functions.Werner Koch1-0/+26
2017-12-20common: Use larger buffer for homedir in case of 64 bit UIDs.Werner Koch1-1/+1
2017-12-18Merge branch 'STABLE-BRANCH-2-2' into masterWerner Koch1-2/+12
2017-12-12build: New configure option --enable-run-gnupg-user-socket.Werner Koch1-2/+12
2017-12-11Adjust for changed macro names in libgpg-error master.Werner Koch3-11/+21
2017-12-08Revert: build: Do not define logging.h constants for ...Werner Koch1-17/+9
2017-12-07build: Do not define logging.h constants for libgpg-error dev versions.Werner Koch1-9/+17
2017-11-29doc: Update copyright notices for common/exechelp*.Werner Koch4-6/+11
2017-11-27Use the gpgrt log functions if possible.Werner Koch2-9/+43
2017-11-15assuan: Fix exponential decay for first second.Werner Koch2-5/+7
2017-11-15common: Change log_clock to printf style.Werner Koch2-5/+17
2017-11-15i18n: Add an article to "agent" and lowercase "dirmngr" in one file.Werner Koch1-4/+4
2017-11-15common: Tweak new code to keep already translated strings.Werner Koch1-7/+22
2017-11-08assuan: Use exponential decay for first 1s of spinlock.Daniel Kahn Gillmor1-5/+26
2017-11-08assuan: Reorganize waiting for socket.Daniel Kahn Gillmor1-42/+30
2017-11-01common: Accept the Z-suffix for yymmddThhmmssZ format.NIIBE Yutaka1-3/+6
2017-10-17gpg,sm: New option --with-key-screening.Werner Koch3-1/+187
2017-09-27common: Add constant KEYGRIP_LEN.Werner Koch1-0/+5
2017-09-27gpg: Let --debug clock time sign and verify.Werner Koch1-6/+6
2017-09-19common: Accept the Z-suffix for yymmddThhmmssZ format.NIIBE Yutaka1-3/+6
2017-09-19common: Fix gnupg_wait_processes.NIIBE Yutaka1-24/+26
2017-08-01indent: Wrap overlong lines in argparse.cWerner Koch1-5/+10
2017-07-27gpg: Tweak compliance checking for verificationWerner Koch1-44/+39
2017-07-27gpg,sm: Fix compliance checking for decryption.Werner Koch1-14/+32
2017-07-25common: Strip trailing slashes from the homedir.Werner Koch1-6/+57
2017-07-25common: New functions gnupg_daemon_rootdir and gnupg_chdir.Werner Koch4-1/+40
2017-07-20common: New function print_utf9_string.Werner Koch2-0/+11
2017-07-20common: logstream fix.NIIBE Yutaka1-1/+2
2017-07-18common: Allow abbreviations of standard options.Marcus Brinkmann2-7/+52
2017-07-17gpg,sm: Check compliance of the RNG.Werner Koch2-0/+42
2017-07-17common: New function split_fields_colon.Werner Koch3-0/+116
2017-06-23agent: Shutdown on removal of the home directory.Werner Koch2-0/+38
2017-06-23gpg,gpgsm: Emit status code ENCRYPTION_COMPLIANCE_MODE.Werner Koch1-0/+1
2017-06-19gpg,gpgsm: Fix compliance check for DSA and avoid an assert.Werner Koch2-14/+19
2017-06-19indent: Always use "_(" and not "_ (" to mark translatable strings.Werner Koch1-4/+5
2017-06-19Change license of some files to LGPLv2.1.Werner Koch2-4/+10
2017-06-19gpg: Disable compliance module for other GnuPG components.Justus Winter1-9/+15
2017-06-13common: Fix -Wswitch warning.Werner Koch1-1/+0
2017-06-08common,gpg,sm: Restrict the use of algorithms according to CO_DE_VS.Justus Winter2-0/+202
2017-06-07common: Add cipher mode to compliance predicate.Justus Winter2-4/+15
2017-06-07common,gpg,sm: Initialize compliance module.Justus Winter2-0/+65
2017-06-07common,gpg: Move the compliance option printer.Justus Winter2-0/+21
2017-06-07common,gpg,sm: Move the compliance option parser.Justus Winter2-0/+44
2017-06-06common,g10: Fix typos.Justus Winter1-3/+3