] An operation on a smartcard definitely failed. Currently there is no indication of the actual error code, but application should be prepared to later accept more arguments. Defined values for are: - 0 :: unspecified error (identically to a missing CODE) - 1 :: canceled - 2 :: bad PIN *** SC_OP_SUCCESS A smart card operation succeeded. This status is only printed for certain operation and is mostly useful to check whether a PIN change really worked. ** Miscellaneous status codes *** NODATA No data has been found. Codes for WHAT are: - 1 :: No armored data. - 2 :: Expected a packet but did not found one. - 3 :: Invalid packet found, this may indicate a non OpenPGP message. - 4 :: Signature expected but not found You may see more than one of these status lines. *** UNEXPECTED Unexpected data has been encountered. Codes for WHAT are: - 0 :: Not further specified - 1 :: Corrupted message structure *** TRUNCATED The output was truncated to MAXNO items. This status code is issued for certain external requests. *** ERROR [] This is a generic error status message, it might be followed by error location specific data. and should not contain spaces. The error code is a either a string commencing with a letter or such a string prefixed with a numerical error code and an underscore; e.g.: "151011327_EOF". Some of the error locations are: - decryption.early_plaintext :: The OpenPGP message contains more than one plaintext. - genkey :: Problem generating a key. The error code further describes the problem. - get_passphrase :: Problem getting the passphrase from the gpg-agent. - keyedit.passwd :: Changing the password failed. - nomdc_with_legacy_cipher :: The message was not MDC protected. Use the command line to lern about a workaround. - random-compliance :: The random number generator or the used version of Libgcrypt do not fulfill the requirements of the current compliance setting. The error code is often GPG_ERR_FORBIDDEN. - set_expire :: Changing the expiration time failed. *** WARNING [] This is a generic warning status message, it might be followed by error location specific data. and may not contain spaces. The may be used to indicate a class of warnings. The error code is a either a string commencing with a letter or such a string prefixed with a numerical error code and an underscore; e.g.: "151011327_EOF". *** NOTE [] This is a generic info status message the same syntax as for WARNING messages is used. *** SUCCESS [] Positive confirmation that an operation succeeded. It is used similar to ISO-C's EXIT_SUCCESS. is optional but if given should not contain spaces. Used only with a few commands. *** FAILURE This is the counterpart to SUCCESS and used to indicate a program failure. It is used similar to ISO-C's EXIT_FAILURE but allows conveying more information, in particular a gpg-error error code. That numerical error code may optionally have a suffix made of an underscore and a string with an error symbol like "151011327_EOF". A dash may be used instead of . *** BADARMOR The ASCII armor is corrupted. No arguments yet. *** DELETE_PROBLEM Deleting a key failed. Reason codes are: - 1 :: No such key - 2 :: Must delete secret key first - 3 :: Ambiguous specification - 4 :: Key is stored on a smartcard. *** PROGRESS [] Used by the primegen and public key functions to indicate progress. is the character displayed with no --status-fd enabled, with the linefeed replaced by an 'X'. is the current amount done and is amount to be done; a of 0 indicates that the total amount is not known. Both are non-negative integers. The condition : TOTAL && CUR == TOTAL may be used to detect the end of an operation. Well known values for are: - pk_dsa :: DSA key generation - pk_elg :: Elgamal key generation - primegen :: Prime generation - need_entropy :: Waiting for new entropy in the RNG - tick :: Generic tick without any special meaning - useful for letting clients know that the server is still working. - starting_agent :: A gpg-agent was started because it is not running as a daemon. - learncard :: Send by the agent and gpgsm while learing the data of a smartcard. - card_busy :: A smartcard is still working - scd_locked :: Waiting for other clients to unlock the scdaemon When refers to a file path, it may be truncated. is sometimes used to describe the units for and . For example "B", "KiB", or "MiB". *** BACKUP_KEY_CREATED A backup of a key identified by has been writte to the file ; is percent-escaped. *** MOUNTPOINT is a percent-plus escaped filename describing the mountpoint for the current operation (e.g. used by "g13 --mount"). This may either be the specified mountpoint or one randomly chosen by g13. *** PINENTRY_LAUNCHED [:] This status line is emitted by gpg to notify a client that a Pinentry has been launched. is the PID of the Pinentry. It may be used to display a hint to the user but can't be used to synchronize with Pinentry. Note that there is also an Assuan inquiry line with the same name used internally or, if enabled, send to the client instead of this status line. Such an inquiry may be used to sync with Pinentry ** Obsolete status codes *** SIGEXPIRED Removed on 2011-02-04. This is deprecated in favor of KEYEXPIRED. *** RSA_OR_IDEA Obsolete. This status message used to be emitted for requests to use the IDEA or RSA algorithms. It has been dropped from GnuPG 2.1 after the respective patents expired. *** SHM_INFO, SHM_GET, SHM_GET_BOOL, SHM_GET_HIDDEN These were used for the ancient shared memory based co-processing. *** BEGIN_STREAM, END_STREAM Used to issued by the experimental pipemode. *** GOODMDC This is not anymore needed. Checking the DECRYPTION_OKAY status is sufficient. *** BADMDC This is not anymore needed. ** Inter-component codes Status codes are also used between the components of the GnuPG system via the Assuan S lines. Some of them are documented here: *** PUBKEY_INFO The type of the public key in the following D-lines or communicated via a pipe. is the value of =enum pubkey_types= and the Unique Blob ID (UBID) which is the fingerprint of the primary key truncated to 20 octets and formatted in hex. Note that the keyboxd SEARCH command can be used to lookup the public key using the prefixed with a caret (^). is a string extra information about the blob. The first byte is either '-' for standard key or 'e' for an ephemeral key. The second byte is either '-' or 'r' for a known revoked key. and
are: - 0 :: unspecified error (identically to a missing CODE) - 1 :: canceled - 2 :: bad PIN *** SC_OP_SUCCESS A smart card operation succeeded. This status is only printed for certain operation and is mostly useful to check whether a PIN change really worked. ** Miscellaneous status codes *** NODATA No data has been found. Codes for WHAT are: - 1 :: No armored data. - 2 :: Expected a packet but did not found one. - 3 :: Invalid packet found, this may indicate a non OpenPGP message. - 4 :: Signature expected but not found You may see more than one of these status lines. *** UNEXPECTED Unexpected data has been encountered. Codes for WHAT are: - 0 :: Not further specified - 1 :: Corrupted message structure *** TRUNCATED The output was truncated to MAXNO items. This status code is issued for certain external requests. *** ERROR [] This is a generic error status message, it might be followed by error location specific data. and should not contain spaces. The error code is a either a string commencing with a letter or such a string prefixed with a numerical error code and an underscore; e.g.: "151011327_EOF". Some of the error locations are: - decryption.early_plaintext :: The OpenPGP message contains more than one plaintext. - genkey :: Problem generating a key. The error code further describes the problem. - get_passphrase :: Problem getting the passphrase from the gpg-agent. - keyedit.passwd :: Changing the password failed. - nomdc_with_legacy_cipher :: The message was not MDC protected. Use the command line to lern about a workaround. - random-compliance :: The random number generator or the used version of Libgcrypt do not fulfill the requirements of the current compliance setting. The error code is often GPG_ERR_FORBIDDEN. - set_expire :: Changing the expiration time failed. *** WARNING [] This is a generic warning status message, it might be followed by error location specific data. and may not contain spaces. The may be used to indicate a class of warnings. The error code is a either a string commencing with a letter or such a string prefixed with a numerical error code and an underscore; e.g.: "151011327_EOF". *** NOTE [] This is a generic info status message the same syntax as for WARNING messages is used. *** SUCCESS [] Positive confirmation that an operation succeeded. It is used similar to ISO-C's EXIT_SUCCESS. is optional but if given should not contain spaces. Used only with a few commands. *** FAILURE This is the counterpart to SUCCESS and used to indicate a program failure. It is used similar to ISO-C's EXIT_FAILURE but allows conveying more information, in particular a gpg-error error code. That numerical error code may optionally have a suffix made of an underscore and a string with an error symbol like "151011327_EOF". A dash may be used instead of . *** BADARMOR The ASCII armor is corrupted. No arguments yet. *** DELETE_PROBLEM Deleting a key failed. Reason codes are: - 1 :: No such key - 2 :: Must delete secret key first - 3 :: Ambiguous specification - 4 :: Key is stored on a smartcard. *** PROGRESS [] Used by the primegen and public key functions to indicate progress. is the character displayed with no --status-fd enabled, with the linefeed replaced by an 'X'. is the current amount done and is amount to be done; a of 0 indicates that the total amount is not known. Both are non-negative integers. The condition : TOTAL && CUR == TOTAL may be used to detect the end of an operation. Well known values for are: - pk_dsa :: DSA key generation - pk_elg :: Elgamal key generation - primegen :: Prime generation - need_entropy :: Waiting for new entropy in the RNG - tick :: Generic tick without any special meaning - useful for letting clients know that the server is still working. - starting_agent :: A gpg-agent was started because it is not running as a daemon. - learncard :: Send by the agent and gpgsm while learing the data of a smartcard. - card_busy :: A smartcard is still working - scd_locked :: Waiting for other clients to unlock the scdaemon When refers to a file path, it may be truncated. is sometimes used to describe the units for and . For example "B", "KiB", or "MiB". *** BACKUP_KEY_CREATED A backup of a key identified by has been writte to the file ; is percent-escaped. *** MOUNTPOINT is a percent-plus escaped filename describing the mountpoint for the current operation (e.g. used by "g13 --mount"). This may either be the specified mountpoint or one randomly chosen by g13. *** PINENTRY_LAUNCHED [:] This status line is emitted by gpg to notify a client that a Pinentry has been launched. is the PID of the Pinentry. It may be used to display a hint to the user but can't be used to synchronize with Pinentry. Note that there is also an Assuan inquiry line with the same name used internally or, if enabled, send to the client instead of this status line. Such an inquiry may be used to sync with Pinentry ** Obsolete status codes *** SIGEXPIRED Removed on 2011-02-04. This is deprecated in favor of KEYEXPIRED. *** RSA_OR_IDEA Obsolete. This status message used to be emitted for requests to use the IDEA or RSA algorithms. It has been dropped from GnuPG 2.1 after the respective patents expired. *** SHM_INFO, SHM_GET, SHM_GET_BOOL, SHM_GET_HIDDEN These were used for the ancient shared memory based co-processing. *** BEGIN_STREAM, END_STREAM Used to issued by the experimental pipemode. *** GOODMDC This is not anymore needed. Checking the DECRYPTION_OKAY status is sufficient. *** BADMDC This is not anymore needed. ** Inter-component codes Status codes are also used between the components of the GnuPG system via the Assuan S lines. Some of them are documented here: *** PUBKEY_INFO The type of the public key in the following D-lines or communicated via a pipe. is the value of =enum pubkey_types= and the Unique Blob ID (UBID) which is the fingerprint of the primary key truncated to 20 octets and formatted in hex. Note that the keyboxd SEARCH command can be used to lookup the public key using the prefixed with a caret (^). is a string extra information about the blob. The first byte is either '-' for standard key or 'e' for an ephemeral key. The second byte is either '-' or 'r' for a known revoked key. and