MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python2.7/site-packages/dnf/rpm/miscutils.pyc
�
�[/\c@@s[ddlmZmZddlmZddlZddlZddlmZd�ZdS(i(tprint_functiontabsolute_import(tunicode_literalsN(tucdc	C@sKd}|jd�}tj|tj�}y|j|�}Wn�tjk
r�}t|�dkrmd}nt|�dkr�d}nt|�dkr�d}nt|�dkrd}qnRXd	}y4|j|�}t	|�}|d
kr�d}nWnt
k
rnX~ytj|�Wntk
r9}nX|j|�|S(u
Takes a transaction set and a package, check it's sigs,
    return 0 if they are all fine
    return 1 if the gpg key can't be found
    return 2 if the header is in someway damaged
    return 3 if the key is not trusted
    return 4 if the pkg is not gpg or pgp signediupublic key not availaiableiupublic key not availableupublic key not trustediuerror reading package headeriu�%|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{%|SIGGPG?{%{SIGGPG:pgpsig}}:{%|SIGPGP?{%{SIGPGP:pgpsig}}:{(none)}|}|}|}|u(none)i(
t
setVSFlagstostopentO_RDONLYthdrFromFdnotrpmterrortstrtsprintfRtUnicodeDecodeErrortclosetOSError(	ttstpackagetvaluetcurrentflagstfdnothdrtetstringtsiginfo((s5/usr/lib/python2.7/site-packages/dnf/rpm/miscutils.pytcheckSigs:			



(	t
__future__RRRR	Rtdnf.i18nRR(((s5/usr/lib/python2.7/site-packages/dnf/rpm/miscutils.pyt<module>s