aboutsummaryrefslogtreecommitdiffstats
path: root/doc/errorref.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* core: New error codes for PUKs and reset codes.Werner Koch2023-04-061-0/+11
| | | | | | | | * src/err-codes.h.in (GPG_ERR_BAD_PUK): New (GPG_ERR_NO_RESET_CODE, GPG_ERR_BAD_RESET_CODE): New. -- Also updated the German translation
* doc: Add a description for GPG_ERR_USE_CONDITIONS.Werner Koch2021-01-051-0/+8
| | | | --
* New error codes for SQLiteWerner Koch2019-12-131-1/+70
| | | | | | | * src/err-codes.h.in: Add GPG_ERR_SQL_ codes. * src/gpg-error.h.in (gpg_err_code_from_sqlite): New. Signed-off-by: Werner Koch <[email protected]>
* New error codes NO_KEYBOXD, KEYBOXD, NO_SERVICE, and SERVICE.Werner Koch2019-08-051-1/+19
| | | | --
* estream: Increase buffer size for Windows.Werner Koch2019-03-191-0/+1
| | | | | | | | * src/gpgrt-int.h (BUFFER_BLOCK_SIZE) [W32]: Increase from 512 to 8k. * src/w32-estream.c (READBUF_SIZE, WRITEBUF_SIZE): Increase from 4k to 8k. Signed-off-by: Werner Koch <[email protected]>
* New error codes NO_AUTH and BAD_AUTHWerner Koch2019-02-111-0/+9
| | | | | | | | | -- In particular for PIV cards ithe use of BAD_PIN sounds worong, thus we now use dedicated codes. Signed-off-by: Werner Koch <[email protected]>
* doc: Describe some causes for GPG_ERR_NO_NAME.Werner Koch2019-01-091-5/+10
| | | | --
* tests: New option --debug for t-poll.Werner Koch2017-02-281-0/+2
| | | | | | * tests/t-poll.c (test_poll): Add option. Signed-off-by: Werner Koch <[email protected]>
* New error code GPG_ERR_INV_NAME.Werner Koch2017-02-191-4/+16
| | | | Signed-off-by: Werner Koch <[email protected]>
* New error code GPG_ERR_TRY_LATER.Werner Koch2016-12-131-1/+6
| | | | Signed-off-by: Werner Koch <[email protected]>
* New error code GPG_ERR_DNS_TIMEOUT.Werner Koch2016-12-121-3/+7
| | | | Signed-off-by: Werner Koch <[email protected]>
* New error codes to support libdns.Werner Koch2016-12-121-0/+44
| | | | Signed-off-by: Werner Koch <[email protected]>
* New error code GPG_ERR_INV_FLAGWerner Koch2016-12-021-0/+8
|
* New option --desc for gpg-error.Werner Koch2016-12-021-286/+445
| | | | | | | | | | | | | | | * doc/errorref.txt: Remove all tabs. * doc/Makefile.am (install-data-local): New to install errorref.txt. (uninstall-local): New. (errorref.txt.x): New. * src/Makefile.am (gpg_error_CPPFLAGS): Define PKGDATADIR * src/gpg-error.c (print_desc): New. (show_usage): New. (main): Improve option parser. Add new option --desc. Call print_desc. -- Signed-off-by: Werner Koch <[email protected]>
* Fix more misspellings.Daniel Kahn Gillmor2016-11-181-1/+1
| | | | | | -- Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* Fix misspellings in error descriptions.Daniel Kahn Gillmor2016-11-181-1/+1
| | | | | | -- Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* Change description of GPG_ERR_OPEN_KEYRING.Werner Koch2016-11-101-1/+1
| | | | Signed-off-by: Werner Koch <[email protected]>
* Add error codes GPG_ERR_TOO_YOUNG and GPG_ERR_TOO_OLD.Werner Koch2016-11-021-0/+8
| | | | Signed-off-by: Werner Koch <[email protected]>
* Add error code USER_ID_EXISTS, NAME_EXISTS, and DUP_NAME.Werner Koch2016-10-071-1/+9
| | | | Signed-off-by: Werner Koch <[email protected]>
* Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.Werner Koch2016-09-011-0/+39
| | | | Signed-off-by: Werner Koch <[email protected]>
* Release 1.24libgpg-error-1.24Werner Koch2016-07-141-0/+1
|
* Release 1.23libgpg-error-1.23Werner Koch2016-06-151-0/+2
|
* Add GPG_ERR_SUBKEYS_EXP_OR_REV.Werner Koch2016-05-171-2/+12
|
* Release 1.22.libgpg-error-1.22Werner Koch2016-04-251-0/+2
| | | | | | * configure.ac: Set LT version to C18/A18/R0. Signed-off-by: Werner Koch <[email protected]>
* Add GPG_ERR_DB_CORRUPTED.Werner Koch2016-01-191-0/+2
| | | | Signed-off-by: Werner Koch <[email protected]>
* Add error codes NO_NAME, NO_KEY, and SERVER_FAILURE.Werner Koch2015-10-211-0/+10
|
* estream: Avoid calling write(fd,NULL,n).Werner Koch2015-10-181-0/+1
| | | | | | | | | | | | | | | * src/estream.c (es_func_fd_write): Take care of a flush requests. (es_func_w32_write): Ditto. (es_func_fp_write): Ditto. -- The write handlers may be called with (BUFFER,SIZE) of (NULL,0) to propagate flush events to user supplied functions (es_fopencookie). However we need to take care to also do this with the internal handler. Might be a reason for system faults due to write or fwrite with a NULL buffer; on Linux this seems to be harmless. Signed-off-by: Werner Koch <[email protected]>
* Add GPG_ERR_FALSE and GPG_ERR_TRUE error codes.Werner Koch2015-09-281-0/+6
| | | | Signed-off-by: Werner Koch <[email protected]>
* estream: Add gpgrt_set_nonblock and gpgrt_poll.Werner Koch2015-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (AC_CHECK_HEADERS): Add sys/select.h and sys/time.h. * src/estream.c: Include both header if available. (COOKIE_IOCTL_NONBLOCK): New. (struct estream_cookie_fd): Add field nonblock. (func_fd_create): Set nonblock from MODEFLAGS. (es_func_fd_ioctl): New. (parse_mode): Add modeflag "nonblock". (es_fill): Map EWOULDBLOCK to EAGAIN. Do not set error indicator for EAGAIN. (es_flush, es_seek, es_write_nbf): Map EWOULDBLOCK to EAGAIN. (do_fdopen): Call COOKIE_IOCTL_NONBLOCK. (_gpgrt_set_nonblock): New. (_gpgrt_get_nonblock): New. (_gpgrt_poll): New. * src/gpg-error.h.in (struct _gpgrt_poll_s): New. (gpgrt_poll_t, es_poll_t): New. (es_set_nonblock, es_get_nonblock, es_poll): New. * src/gpg-error.vers, src/gpg-error.def.in: Add gpgrt_set_nonblock, gpgrt_get_nonblock, and gpgrt_poll. * src/visibility.c (gpgrt_set_nonblock, gpgrt_get_nonblock): New. (gpgrt_poll): New. * tests/t-common.h (DIM): New. * tests/t-poll.c: New. * tests/Makefile.am (TESTS): Add t-poll. (t_poll_LDADD): New. -- The poll interface uses select(2) internally because that is more portable than poll(2). Signed-off-by: Werner Koch <[email protected]>
* Release 1.20.libgpg-error-1.20Werner Koch2015-08-261-3/+9
| | | | | | * configure.ac: Set LT version to C16/A16/R0. Signed-off-by: Werner Koch <[email protected]>
* w32: Remove compiler warnings.Werner Koch2015-04-101-1/+7
| | | | | | | | | | | | | | * src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about failed but ignored command. This confuses Emacs' compiler job parser. * tests/t-lock.c [W32]: Include time.h. * src/init.c: Reorganize Windows only code. (wchar_to_utf8, utf8_to_wchar): Remove unused functions. (_gpg_err_set_errno): Use only one copy for all platforms. -- Note that there is a still a problem for W64 pertaining to the use of an int to store a HANDLE. This will be fixed when we add a full abstraction layer for Windows file objects.
* Add GPG_ERR_LDAP_* error codes.Werner Koch2015-03-191-0/+30
| | | | | | | * src/err-codes.h.in: Add error codes. * doc/ldap2gpgerr.c: New. Signed-off-by: Werner Koch <[email protected]>
* Update copyright notices.Werner Koch2015-01-261-0/+3
| | | | --
* Add GPG_ERR_LEGACY_KEY.Werner Koch2015-01-221-5/+8
|
* Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG.Werner Koch2014-12-281-1/+9
|
* Add GPG_ERR_OBJ_TERM_STATE.Werner Koch2014-12-151-6/+10
|
* Add GPG_ERR_FORBIDDEN.Werner Koch2014-12-031-0/+4
|
* Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending.Werner Koch2014-10-021-2/+20
| | | | | | | | | * src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. * src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. (check_pending): new. (check_pending_fbf, check_pending_nbf): New. (es_func_mem_read, es_func_fd_read, es_func_w32_read) (es_func_fp_read, es_fill): Take care of the special 0 value for SIZE.
* Update error reference.Werner Koch2014-09-291-11/+156
| | | | --
* doc updates and type fixes.Werner Koch2014-09-181-2/+16
| | | | --
* doc: Explain two error codes.Werner Koch2014-08-121-1/+10
| | | | --
* doc update.Werner Koch2014-06-301-2/+6
| | | | --
* New error code GPG_ERR_KEY_DISABLED.Werner Koch2014-06-101-0/+5
|
* Add code GPG_ERR_KEY_ON_CARD.Werner Koch2014-04-151-2/+18
|
* Add GPG_ERR_MAC_ALGO.Werner Koch2013-11-171-1/+10
|
* Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.Werner Koch2013-04-111-3/+56
| | | | | | | * src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. (GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. (GPG_ERR_CRYPT_CTX_CONFLICT): New. (GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New.
* Add more error code documentationWerner Koch2012-06-201-3/+18
| | | | --
* Add GPG_ERR_AMBIGUOUSWerner Koch2011-08-231-0/+5
|
* Add GPG_ERR_DUP_KEYWerner Koch2011-08-231-1/+21
|