3 Uù\ã@s2ddlmZmZmZddlmZejdeƒƒddlm Z m Z m Z m Z ddlm Z mZmZmZmZmZmZmZddlmZmZ[[[[dd d d d d ddddddddgZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:d9Z;d:Zd=Z?d>Z@d?ZAd@ZBdAZCdBZDdCZEdDZFdEZGdFZHdGZIdHZJdIZKdJZLdKZMdLZNdMZOdNZPdOZQdPZRdQZSdRZTdSZUdTZVdUZWdVZXdWZYdXZZdYZ[dZZ\d[Z]d\Z^d]Z_d^Z`d_Zad`ZbdaZcdbZddcZeddZfdeZgdfZhdgZidhZjdiZkdjZldkZmdlZndmZodnZpdoZqdpZrdqZsdrZtdsZudtZvduZwdvZxdwZydxS)yé)Úabsolute_importÚprint_functionÚunicode_literals)ÚutilZGPGME_é)ÚdataÚkeylistÚsigÚtofu)ÚcreateÚeventÚ import_typeÚkeysignÚmdÚpkÚprotocolÚsigsum)ÚstatusÚvalidityrr r rrrrrr rrr rr ZABORTZALREADY_SIGNEDZ ATTRIBUTEZBACKUP_KEY_CREATEDZBAD_PASSPHRASEZBADARMORZBADMDCZBADSIGZBEGIN_DECRYPTIONZBEGIN_ENCRYPTIONZ BEGIN_SIGNINGZ BEGIN_STREAMZCARDCTRLZDECRYPTION_FAILEDZDECRYPTION_INFOZDECRYPTION_OKAYZDELETE_PROBLEMZENC_TOZEND_DECRYPTIONZEND_ENCRYPTIONZ END_STREAMZENTERZERRMDCZERRORZERRSIGZ EXPKEYSIGZEXPSIGÚFAILUREZ FILE_DONEZ FILE_ERRORZ FILE_STARTZGET_BOOLZ GET_HIDDENZGET_LINEZGOOD_PASSPHRASEZGOODMDCZGOODSIGZGOT_ITZ IMPORT_OKZIMPORT_PROBLEMZ IMPORT_RESZIMPORTEDZINQUIRE_MAXLENZINV_RECPZINV_SGNRZKEY_CONSIDEREDZ KEY_CREATEDZKEY_NOT_CREATEDZ KEYEXPIREDZ KEYREVOKEDZLEAVEZMISSING_PASSPHRASEZ MOUNTPOINTZNEED_PASSPHRASEZNEED_PASSPHRASE_PINZNEED_PASSPHRASE_SYMZNEWSIGZ NO_PUBKEYZNO_RECPZ NO_SECKEYZNO_SGNRZNODATAZ NOTATION_DATAZNOTATION_FLAGSZ NOTATION_NAMEZPINENTRY_LAUNCHEDZ PKA_TRUST_BADZPKA_TRUST_GOODZ PLAINTEXTZPLAINTEXT_LENGTHZ POLICY_URLZPROGRESSZ REVKEYSIGZ RSA_OR_IDEAZ SC_OP_FAILUREZ SC_OP_SUCCESSZ SESSION_KEYZSHM_GETZ SHM_GET_BOOLZSHM_GET_HIDDENZSHM_INFOZ SIG_CREATEDZSIG_IDZ SIG_SUBPACKETZ SIGEXPIREDÚSUCCESSZ TOFU_STATSZTOFU_STATS_LONGZ TOFU_USERZ TRUNCATEDZ TRUST_FULLYZTRUST_MARGINALZ TRUST_NEVERZTRUST_ULTIMATEZTRUST_UNDEFINEDZ UNEXPECTEDZ USERID_HINTZVALIDSIGN)zZ __future__rrrZgpgrZprocess_constantsÚglobalsÚrrr r r r r rrrrrrrÚ__all__Z STATUS_ABORTZSTATUS_ALREADY_SIGNEDZSTATUS_ATTRIBUTEZSTATUS_BACKUP_KEY_CREATEDZSTATUS_BAD_PASSPHRASEZSTATUS_BADARMORZ STATUS_BADMDCZ STATUS_BADSIGZSTATUS_BEGIN_DECRYPTIONZSTATUS_BEGIN_ENCRYPTIONZSTATUS_BEGIN_SIGNINGZSTATUS_BEGIN_STREAMZSTATUS_CARDCTRLZSTATUS_DECRYPTION_FAILEDZSTATUS_DECRYPTION_INFOZSTATUS_DECRYPTION_OKAYZSTATUS_DELETE_PROBLEMZ STATUS_ENC_TOZSTATUS_END_DECRYPTIONZSTATUS_END_ENCRYPTIONZSTATUS_END_STREAMZ STATUS_ENTERZ STATUS_ERRMDCZ STATUS_ERRORZ STATUS_ERRSIGZSTATUS_EXPKEYSIGZ STATUS_EXPSIGZSTATUS_FAILUREZSTATUS_FILE_DONEZSTATUS_FILE_ERRORZSTATUS_FILE_STARTZSTATUS_GET_BOOLZSTATUS_GET_HIDDENZSTATUS_GET_LINEZSTATUS_GOOD_PASSPHRASEZSTATUS_GOODMDCZSTATUS_GOODSIGZ STATUS_GOT_ITZSTATUS_IMPORT_OKZSTATUS_IMPORT_PROBLEMZSTATUS_IMPORT_RESZSTATUS_IMPORTEDZSTATUS_INQUIRE_MAXLENZSTATUS_INV_RECPZSTATUS_INV_SGNRZSTATUS_KEY_CONSIDEREDZSTATUS_KEY_CREATEDZSTATUS_KEY_NOT_CREATEDZSTATUS_KEYEXPIREDZSTATUS_KEYREVOKEDZ STATUS_LEAVEZSTATUS_MISSING_PASSPHRASEZSTATUS_MOUNTPOINTZSTATUS_NEED_PASSPHRASEZSTATUS_NEED_PASSPHRASE_PINZSTATUS_NEED_PASSPHRASE_SYMZ STATUS_NEWSIGZSTATUS_NO_PUBKEYZSTATUS_NO_RECPZSTATUS_NO_SECKEYZSTATUS_NO_SGNRZ STATUS_NODATAZSTATUS_NOTATION_DATAZSTATUS_NOTATION_FLAGSZSTATUS_NOTATION_NAMEZSTATUS_PINENTRY_LAUNCHEDZSTATUS_PKA_TRUST_BADZSTATUS_PKA_TRUST_GOODZSTATUS_PLAINTEXTZSTATUS_PLAINTEXT_LENGTHZSTATUS_POLICY_URLZSTATUS_PROGRESSZSTATUS_REVKEYSIGZSTATUS_RSA_OR_IDEAZSTATUS_SC_OP_FAILUREZSTATUS_SC_OP_SUCCESSZSTATUS_SESSION_KEYZSTATUS_SHM_GETZSTATUS_SHM_GET_BOOLZSTATUS_SHM_GET_HIDDENZSTATUS_SHM_INFOZSTATUS_SIG_CREATEDZ STATUS_SIG_IDZSTATUS_SIG_SUBPACKETZSTATUS_SIGEXPIREDZSTATUS_SUCCESSZSTATUS_TOFU_STATSZSTATUS_TOFU_STATS_LONGZSTATUS_TOFU_USERZSTATUS_TRUNCATEDZSTATUS_TRUST_FULLYZSTATUS_TRUST_MARGINALZSTATUS_TRUST_NEVERZSTATUS_TRUST_ULTIMATEZSTATUS_TRUST_UNDEFINEDZSTATUS_UNEXPECTEDZSTATUS_USERID_HINTZSTATUS_VALIDSIG©rrú /usr/lib64/python3.6/__init__.pyÚsÔ (