/usr/lib/rads/venv/lib/python3.13/site-packages/dns/__pycache__
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/dns/__pycache__/tsigkeyring.cpython-313.pyc (2871B)
jI
S r SSKrSSKJrJr SSKrSSKrS\\\4 S\\R R \R R 4 4S jr
S\\R R \4 S\\\4 4S jrg) zA place to store TSIG keys. N)AnyDicttextringreturnc J 0 nU R 5 H u p#[ R R U5 n[ U[
5 ( a- [ R R XC5 R X' Mf Uu pV[ R R XFU5 X' M U$ )a' Convert a dictionary containing (textual DNS name, base64 secret)
pairs into a binary keyring which has (dns.name.Name, bytes) pairs, or
a dictionary containing (textual DNS name, (algorithm, base64 secret))
pairs into a binary keyring which has (dns.name.Name, dns.tsig.Key) pairs.
@rtype: dict) itemsdnsname from_text
isinstancestrtsigKeysecret)r keyringr
valuekname algorithmr s B/usr/lib/rads/venv/lib/python3.13/site-packages/dns/tsigkeyring.pyr r s| G~~'""4(eS!! XX\\%7>>GN"'Y XX\\%CGN
( N r c n 0 nS nU R 5 H u p4UR 5 n[ U[ 5 ( a U" U5 X' M6 [ UR [ 5 ( a U" UR 5 nO[ UR 5 nUR R 5 U4X' M U$ )a+ Convert a dictionary containing (dns.name.Name, dns.tsig.Key) pairs
into a text keyring which has (textual DNS name, (textual algorithm,
base64 secret)) pairs, or a dictionary containing (dns.name.Name, bytes)
pairs into a text keyring which has (textual DNS name, base64 secret) pairs.
@rtype: dictc f [ R " U 5 R 5 R 5 $ )N)base64encodebytesdecoderstrip)r s r b64encodeto_text.
.b64encode6 s% !!&)00299;;r )r to_textr bytesr r
r )r r r r
keytnametext_secrets r r r - s H< ]]_ c5!!'nHO#**e,,'
3!#**o"}}446DHO % Or )__doc__r typingr r dns.namer dns.tsigr
r
Namer r r r r r r* sx $ "
S#X 4
sxx||0K+L $T#((--,- $sCx. r