python: Adapt to 'gpgme_op_interact'.
[gpgme.git] / lang / python / pyme / constants / status.py
1 # Copyright (C) 2004 Igor Belyi <belyi@users.sourceforge.net>
2 # Copyright (C) 2002 John Goerzen <jgoerzen@complete.org>
3 #
4 #    This library is free software; you can redistribute it and/or
5 #    modify it under the terms of the GNU Lesser General Public
6 #    License as published by the Free Software Foundation; either
7 #    version 2.1 of the License, or (at your option) any later version.
8 #
9 #    This library is distributed in the hope that it will be useful,
10 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #    Lesser General Public License for more details.
13 #
14 #    You should have received a copy of the GNU Lesser General Public
15 #    License along with this library; if not, write to the Free Software
16 #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
17
18 from __future__ import absolute_import, print_function, unicode_literals
19 del absolute_import, print_function, unicode_literals
20
21 # GPGME 1.7 replaced gpgme_op_edit with gpgme_op_interact.  We
22 # implement pyme.Context.op_edit using gpgme_op_interact, so the
23 # callbacks will be called with string keywords instead of numeric
24 # status messages.  Code that is using these constants will continue
25 # to work.
26
27 ABORT = "ABORT"
28 ALREADY_SIGNED = "ALREADY_SIGNED"
29 ATTRIBUTE = "ATTRIBUTE"
30 BACKUP_KEY_CREATED = "BACKUP_KEY_CREATED"
31 BAD_PASSPHRASE = "BAD_PASSPHRASE"
32 BADARMOR = "BADARMOR"
33 BADMDC = "BADMDC"
34 BADSIG = "BADSIG"
35 BEGIN_DECRYPTION = "BEGIN_DECRYPTION"
36 BEGIN_ENCRYPTION = "BEGIN_ENCRYPTION"
37 BEGIN_SIGNING = "BEGIN_SIGNING"
38 BEGIN_STREAM = "BEGIN_STREAM"
39 CARDCTRL = "CARDCTRL"
40 DECRYPTION_FAILED = "DECRYPTION_FAILED"
41 DECRYPTION_INFO = "DECRYPTION_INFO"
42 DECRYPTION_OKAY = "DECRYPTION_OKAY"
43 DELETE_PROBLEM = "DELETE_PROBLEM"
44 ENC_TO = "ENC_TO"
45 END_DECRYPTION = "END_DECRYPTION"
46 END_ENCRYPTION = "END_ENCRYPTION"
47 END_STREAM = "END_STREAM"
48 ENTER = "ENTER"
49 ERRMDC = "ERRMDC"
50 ERROR = "ERROR"
51 ERRSIG = "ERRSIG"
52 EXPKEYSIG = "EXPKEYSIG"
53 EXPSIG = "EXPSIG"
54 FAILURE = "FAILURE"
55 FILE_DONE = "FILE_DONE"
56 FILE_ERROR = "FILE_ERROR"
57 FILE_START = "FILE_START"
58 GET_BOOL = "GET_BOOL"
59 GET_HIDDEN = "GET_HIDDEN"
60 GET_LINE = "GET_LINE"
61 GOOD_PASSPHRASE = "GOOD_PASSPHRASE"
62 GOODMDC = "GOODMDC"
63 GOODSIG = "GOODSIG"
64 GOT_IT = "GOT_IT"
65 IMPORT_OK = "IMPORT_OK"
66 IMPORT_PROBLEM = "IMPORT_PROBLEM"
67 IMPORT_RES = "IMPORT_RES"
68 IMPORTED = "IMPORTED"
69 INQUIRE_MAXLEN = "INQUIRE_MAXLEN"
70 INV_RECP = "INV_RECP"
71 INV_SGNR = "INV_SGNR"
72 KEY_CONSIDERED = "KEY_CONSIDERED"
73 KEY_CREATED = "KEY_CREATED"
74 KEY_NOT_CREATED = "KEY_NOT_CREATED"
75 KEYEXPIRED = "KEYEXPIRED"
76 KEYREVOKED = "KEYREVOKED"
77 LEAVE = "LEAVE"
78 MISSING_PASSPHRASE = "MISSING_PASSPHRASE"
79 MOUNTPOINT = "MOUNTPOINT"
80 NEED_PASSPHRASE = "NEED_PASSPHRASE"
81 NEED_PASSPHRASE_PIN = "NEED_PASSPHRASE_PIN"
82 NEED_PASSPHRASE_SYM = "NEED_PASSPHRASE_SYM"
83 NEWSIG = "NEWSIG"
84 NO_PUBKEY = "NO_PUBKEY"
85 NO_RECP = "NO_RECP"
86 NO_SECKEY = "NO_SECKEY"
87 NO_SGNR = "NO_SGNR"
88 NODATA = "NODATA"
89 NOTATION_DATA = "NOTATION_DATA"
90 NOTATION_FLAGS = "NOTATION_FLAGS"
91 NOTATION_NAME = "NOTATION_NAME"
92 PINENTRY_LAUNCHED = "PINENTRY_LAUNCHED"
93 PKA_TRUST_BAD = "PKA_TRUST_BAD"
94 PKA_TRUST_GOOD = "PKA_TRUST_GOOD"
95 PLAINTEXT = "PLAINTEXT"
96 PLAINTEXT_LENGTH = "PLAINTEXT_LENGTH"
97 POLICY_URL = "POLICY_URL"
98 PROGRESS = "PROGRESS"
99 REVKEYSIG = "REVKEYSIG"
100 RSA_OR_IDEA = "RSA_OR_IDEA"
101 SC_OP_FAILURE = "SC_OP_FAILURE"
102 SC_OP_SUCCESS = "SC_OP_SUCCESS"
103 SESSION_KEY = "SESSION_KEY"
104 SHM_GET = "SHM_GET"
105 SHM_GET_BOOL = "SHM_GET_BOOL"
106 SHM_GET_HIDDEN = "SHM_GET_HIDDEN"
107 SHM_INFO = "SHM_INFO"
108 SIG_CREATED = "SIG_CREATED"
109 SIG_ID = "SIG_ID"
110 SIG_SUBPACKET = "SIG_SUBPACKET"
111 SIGEXPIRED = "SIGEXPIRED"
112 SUCCESS = "SUCCESS"
113 TOFU_STATS = "TOFU_STATS"
114 TOFU_STATS_LONG = "TOFU_STATS_LONG"
115 TOFU_USER = "TOFU_USER"
116 TRUNCATED = "TRUNCATED"
117 TRUST_FULLY = "TRUST_FULLY"
118 TRUST_MARGINAL = "TRUST_MARGINAL"
119 TRUST_NEVER = "TRUST_NEVER"
120 TRUST_ULTIMATE = "TRUST_ULTIMATE"
121 TRUST_UNDEFINED = "TRUST_UNDEFINED"
122 UNEXPECTED = "UNEXPECTED"
123 USERID_HINT = "USERID_HINT"
124 VALIDSIG = "VALIDSIG"