aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* doc: some comment updatesWerner Koch2026-07-101-0/+4
| | | | --
* Fix bug reference for the 1.61 releaseWerner Koch2026-05-071-1/+1
| | | | | -- GnuPG-bug-id: 8242
* Post release updatesWerner Koch2026-05-071-0/+7
| | | | --
* Release 1.61libgpg-error-1.61gpgrt-1.61Werner Koch2026-05-071-1/+10
|
* Post release updatesWerner Koch2026-04-241-0/+7
| | | | --
* Release 1.60libgpg-error-1.60gpgrt-1.60Werner Koch2026-04-241-1/+3
|
* New error codes for algorithm complianceWerner Koch2026-03-021-0/+16
| | | | | | | -- This will help to implement GnuPG-bug-id: 6644
* Release 1.59libgpg-error-1.59gpgrt-1.59Werner Koch2026-02-181-1/+12
|
* Post release updatesWerner Koch2025-12-121-0/+6
| | | | --
* Release 1.58libgpg-error-1.58gpgrt-1.58Werner Koch2025-12-121-1/+3
|
* Post release updatesWerner Koch2025-12-101-0/+6
| | | | --
* Release 1.57libgpg-error-1.57gpgrt-1.57Werner Koch2025-12-101-3/+13
|
* New function gpgrt_fconcat.Werner Koch2025-12-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32-utils.c: New. * src/init.c (_gpg_err_init, DllMain): Call new init function. * src/visibility.c (gpgrt_fconcat): New. * src/gpg-error.h.in (gpgrt_fconcat): New prototype. (GPGRT_FCONCAT_ABS): New. (GPGRT_FCONCAT_TILDE): New. (GPGRT_FCONCAT_SYSCONF): New. * src/gpg-error.def.in (gpgrt_fconcat): New. * src/gpg-error.vers: (gpgrt_fconcat): New. * src/stringutils.c (_gpgrt_vfnameconcat): Repalce want-abs but a new flags arg. Change to support GPGRT_FCONCAT_SYSCONF. Fix tilde expansion under Windows to use CISDL_PROFILE instead of $HOME. Adjust all callers. * src/gpg-error.c (main): New command "fconcat". -- This function allows to get the sysconfig directory in a portable way. On Windows this is CISDL_COMMON_APPDATA\GNU\etc. On Unix this is the directory specified at the configure run. This patch also changes the behaviour of tilde expansion in Windows which was not well defined. It does now use CISDL_PROFILE instead of the HOME envvar which is uncommon under Windows. Note that under Windows "~user/foo" is still not defined. Tilde expansion is not done when GPGRT_FCONCAT_SYSCONF is used. GnuPG-bug-id: 7894
* Post release updatesWerner Koch2025-10-071-0/+7
| | | | --
* Release 1.56libgpg-error-1.56gpgrt-1.56Werner Koch2025-10-071-2/+2
|
* Update NEWSWerner Koch2025-10-061-0/+18
| | | | --
* Silence warnings when enabling the trace functions.Werner Koch2025-09-231-1/+3
| | | | | * src/w32-estream.c (reader): Use correct printf format specifiers for the trace functions.
* Time for a new error code; this time GPG_ERR_UNEXPECTED_PACKETWerner Koch2025-05-161-0/+5
| | | | | | | | | | -- We already have _tag which is used for ASN.1, _MSG which is used by protocols like WKS and TLS, and the GPG_ERR_UNEXPECTED which is unrelated the former one and means just that an error was not expected. OpenPGP also has some cases where a packet is not expected. A dedicated error code thus makes sense.
* Post release updatesWerner Koch2025-04-241-0/+6
| | | | --
* Release 1.55.libgpg-error-1.55gpgrt-1.55Werner Koch2025-04-241-1/+8
|
* Post release updatesWerner Koch2025-04-171-0/+7
| | | | --
* Release 1.54libgpg-error-1.54gpgrt-1.54Werner Koch2025-04-171-1/+9
|
* Post release updatesWerner Koch2025-04-091-0/+4
| | | | --
* Release 1.53libgpg-error-1.53gpgrt-1.53Werner Koch2025-04-091-1/+3
|
* Post release updatesWerner Koch2025-04-081-0/+4
| | | | --
* Release 1.52libgpg-error-1.52gpgrt-1.52Werner Koch2025-04-081-6/+9
|
* argparse: Make getreg meta command work on Unix.Werner Koch2025-04-071-0/+2
| | | | | | | | | | | * src/argparse.c (_gpgrt_argparse_internal_s): Add fields no_registry and registry. (initialize): Init them. (emulated_registry_lookup): New. (handle_meta_getenv): Use it. * tests/etc/t-argparse.conf: Add a getreg meta command. * tests/t-argparse.c (opt): Add a disable-akr command. * tests/etc/Registry: New.
* Allow name-value lookup w/o a trailing colon for the name.Werner Koch2025-04-071-0/+1
| | | | | | | | | | | | | | * src/name-value.c (_gpgrt_name_value_entry): Add field namelen. (ascii_memcasecmp): New. (same_name_p): New. (valid_name): Strip the colon and return the length. (do_nvc_add): Set namelen. (_gpgrt_nvc_lookup): Simplify. * tests/t-name-value.c (test_getting_values): Add some extra tests. -- The requirement for a colon after the name is too cumbersome.
* New public API gpgrt_nvc_* and gpgrt_nve_*Werner Koch2025-04-071-0/+22
| | | | | | | | | | | | | | | | | | * src/name-value.c: New. * tests/t-name-value.c: New. * src/gpg-error.def.in: Add new functions. * src/gpg-error.h.in: Ditto. * src/gpg-error.vers: Ditto. * src/visibility.c: Ditto. * src/visibility.h: Ditto. -- These new functions were originally added to GnuPG taken from current GnuPG master. The license has been changed from (LGPL-3.0-or-later OR GPL-2.0-or-later) to LGPL-2.1-or-later: Everything was written by me or employees/contractors of g10 Code GmbH. The private key handling has been removed because that would require Libgcrypt functions. Some functions are changed.
* New public API gpgrt_strlist_*Werner Koch2025-04-011-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/strlist.c: Rename all functions to have a _gpgrt_strlist prefix. (append_to_strlist2, strlist_length): Remove. (_gpgrt_strlist_free): rtake care of the wipe flag. (_gpgrt_strlist_add): Add a flags arg to use it for prepend and append. Return an error on failure. (_gpgrt_strlist_tokenize): Ditto. (_gpgrt_strlist_copy): Chnage to return an error on failure. (_gpgrt_strlist_pop): Ditto. * src/Makefile.am (libgpg_error_la_SOURCES): Add strlist.c. * src/argparse.c (trim_spaces): Move to ... * src/stringutils.c (_gpgrt_trim_spaces): here and rename. * src/visibility.c: Add wrappers for all exported functions. * src/visibility.h: MArk exported functions as visisble. * src/gpg-error.def.in: Export new functions * src/gpg-error.vers: Ditto. * src/gpg-error.h.in (GPGRT_STRLIST_APPEND): New. (GPGRT_STRLIST_WIPE): New. (gpgrt_strlist_free): New. (gpgrt_strlist_add): New. (gpgrt_strlist_tokenize): New. (gpgrt_strlist_copy): New. (gpgrt_strlist_rev): New. (gpgrt_strlist_prev): New. (gpgrt_strlist_last): New. (gpgrt_strlist_pop): New. (gpgrt_strlist_find): New. (gpgrt_strlist_count): New inline function. -- This is a modified set of function as used by gpg for ages. These are quite useful functions and will be needed internally for some other planned features. The idea is to make their counterparts in gnupg wrapper around those new functions. After we have moved the secure memory stuff from Libgcrypt to here we can also implement a GPGRT_STRLICT_SECMEM flag to allow allocating strings here ion secure memory. For now we only have the WIPE flag which wipes the memory on free.
* New Windows API gpgrt_w32_reg_get_string.Werner Koch2024-12-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | * src/w32-reg.c (_gpgrt_w32_reg_query_string): Implement a prefix for root and consider an empty string for root also HKCU. * src/visibility.c (gpgrt_w32_reg_get_string): New. * src/gpg-error.def.in: Add new function. * src/gpg-error.c (my_strusage): Print the Windows version (32 or 64 bit) of the binary. (main): New command --getreg. -- This function is already used internally and we have a similar function in GnuPG. It is much more convenient to work with this function. Also we can now pass the KEY_WOW64_32KEY andKEY_WOW64_64KEY flags to the registry read functions. For example !32key!HKLM\software\gnu\gnupg:ntdskeyserver returns the value using the KEY_WOW64_32KEY flag; likewise for !64key!. If !cross! is used the reversed flag of the binary type is used.
* Post release updatesWerner Koch2024-11-111-0/+7
| | | | --
* Release 1.51libgpg-error-1.51gpgrt-1.51Werner Koch2024-11-111-1/+22
|
* Post release updatesWerner Koch2024-06-191-0/+6
| | | | --
* Release 1.50libgpg-error-1.50gpgrt-1.50Werner Koch2024-06-191-1/+45
|
* Post release updatesWerner Koch2024-04-251-0/+6
| | | | --
* Release 1.49libgpg-error-1.49Werner Koch2024-04-251-1/+6
|
* logging: New function gpgrt_logv_domain.Werner Koch2024-04-251-1/+6
| | | | | | | | | | | | | * src/gpg-error.h.in (gpgrt_logv_domain): New. Also add printf attributes to the other logv functions. * src/visibility.c (gpgrt_logv_domain): New. -- This function can be used instead of gpgrt_logv to provide a somain string. As of now this has no effect but we may later add an API to allow selection of diagnostics depending on the domain. There is also a new (buffer,length) argument which will eventually be used to provide a domain based gpgrt_log_printhex.
* core: New function gpgrt_add_post_log_func.Werner Koch2024-04-221-0/+5
| | | | | | | | | | | | | | | | * src/gpg-error.h.in (gpgrt_add_post_log_func): New. * src/gpg-error.vers: Add new function * src/gpg-error.def.in: Ditto. * src/visibility.c (gpgrt_add_post_log_func): New. * src/logging.c (struct post_log_func_item_s): New. (post_log_func_list): New. (_gpgrt_add_post_log_func): new. (run_post_log_funcs): New. (_gpgrt_logv_internal): Call for fatal and bug log levels. -- This is required in case an application or library needs to do do some quick cleanups after a log_fatal.
* Post release updatesWerner Koch2024-02-231-0/+7
| | | | --
* Release 1.48libgpg-error-1.48gpgrt-1.48Werner Koch2024-02-231-1/+1
|
* core: Add "wipe" mode flag.Werner Koch2024-02-061-1/+18
| | | | | | | | | | | | | | | | | | | | | * src/gpgrt-int.h (struct _gpgrt_stream_internal): Add field "wipe". * src/estream.c (mem_free2): New. (struct estream_cookie_mem): Add flag "wipe". (func_mem_create): Add arg wipe. (func_mem_destroy): Wipe. (X_WIPE): New. (parse_mode): Parse "wipe" mode flag. (init_stream_obj): Set it. (do_close): Wipe internal struct with its static buffers. (doreadline): Pass wipe mode along to help buffer. (_gpgrt_mopen): Pass wipe mode. (_gpgrt_fopenmem): Ditto. -- GnuPG-bug-id: 6954 This is likely not complete but should wipe out buffers allocated by fopenmem.
* argparser: Implement a command mode.Werner Koch2024-02-061-0/+8
| | | | | | | | | | | | | | | | | | * src/gpg-error.h.in (ARGPARSE_FLAG_COMMAND): New. * src/argparse.c (struct _gpgrt_argparse_internal_s): Add flags explicit_cmd_mode, cmd_mode, and command_seen. (initialize): Init them. Mark default commands as commands. (handle_meta_command): New. (handle_metacmd): Add "command-mode" and "-command-mode". (find_long_option): Add arg only_commands. (arg_parse): Factor some code out to ... (handle_special_commands): new. (arg_parse): Implement the command-mode. * tests/t-argparse.c (main): Add some testing code. -- GnuPG-bug-id: 6978
* build: Add build-aux/libtool.patch in the tarball.NIIBE Yutaka2023-08-041-0/+1
| | | | | | * Makefile.am (EXTRA_DIST): build-aux/libtool.patch. Signed-off-by: NIIBE Yutaka <[email protected]>
* Post release updatesWerner Koch2023-04-061-0/+7
| | | | --
* Release 1.47libgpg-error-1.47gpgrt-1.47Werner Koch2023-04-061-1/+1
|
* build: Make distcheck work againWerner Koch2023-04-061-0/+15
| | | | | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add with --install-gpg-error-config.
* core: Add GPG_ERR_SOURCE_TKD.NIIBE Yutaka2023-04-041-0/+4
| | | | | | | | * src/err-sources.h.in (GPG_ERR_SOURCE_TKD): New. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* Post release updatesWerner Koch2022-10-071-1/+7
| | | | --
* Release 1.46libgpg-error-1.46gpgrt-1.46Werner Koch2022-10-071-1/+25
|